|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Canopy | |
---|---|
org.apache.mahout.clustering.canopy |
Uses of Canopy in org.apache.mahout.clustering.canopy |
---|
Methods in org.apache.mahout.clustering.canopy that return Canopy | |
---|---|
protected Canopy |
CanopyClusterer.findClosestCanopy(Vector point,
java.lang.Iterable<Canopy> canopies)
|
Methods in org.apache.mahout.clustering.canopy that return types with arguments of type Canopy | |
---|---|
static java.util.List<Canopy> |
CanopyClusterer.createCanopies(java.util.List<Vector> points,
DistanceMeasure measure,
double t1,
double t2)
Iterate through the points, adding new canopies. |
Methods in org.apache.mahout.clustering.canopy with parameters of type Canopy | |
---|---|
boolean |
ClusterMapper.canopyCovers(Canopy canopy,
Vector point)
|
boolean |
CanopyClusterer.canopyCovers(Canopy canopy,
Vector point)
Return if the point is covered by the canopy |
Method parameters in org.apache.mahout.clustering.canopy with type arguments of type Canopy | |
---|---|
void |
CanopyClusterer.addPointToCanopies(Vector point,
java.util.Collection<Canopy> canopies)
This is the same algorithm as the reference but inverted to iterate over existing canopies instead of the points. |
void |
ClusterMapper.config(java.util.Collection<Canopy> canopies)
Configure the mapper by providing its canopies. |
void |
CanopyClusterer.emitPointToClosestCanopy(Vector point,
java.lang.Iterable<Canopy> canopies,
org.apache.hadoop.mapreduce.Mapper.Context context)
Emit the point to the closest Canopy |
protected Canopy |
CanopyClusterer.findClosestCanopy(Vector point,
java.lang.Iterable<Canopy> canopies)
|
static java.util.List<Vector> |
CanopyClusterer.getCenters(java.lang.Iterable<Canopy> canopies)
Iterate through the canopies, adding their centroids to a list |
static void |
CanopyClusterer.updateCentroids(java.lang.Iterable<Canopy> canopies)
Iterate through the canopies, resetting their center to their centroids |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |