Uses of Class
org.apache.mahout.clustering.canopy.Canopy

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
static Canopy Canopy.decodeCanopy(java.lang.String formattedString)
          Decodes and returns a Canopy from the formattedString
 

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
static java.lang.String Canopy.formatCanopy(Canopy canopy)
          Format the canopy for output
 

Method parameters in org.apache.mahout.clustering.canopy with type arguments of type Canopy
 void CanopyClusterer.addPointToCanopies(Vector point, java.util.List<Canopy> canopies, org.apache.hadoop.mapred.Reporter reporter)
          This is the same algorithm as the reference but inverted to iterate over existing canopies instead of the points.
static java.util.List<Vector> CanopyClusterer.calculateCentroids(java.util.List<Canopy> canopies)
          Iterate through the canopies, adding their centroids to a list
 void ClusterMapper.config(java.util.List<Canopy> canopies)
          Configure the mapper by providing its canopies.
 void CanopyClusterer.emitPointToExistingCanopies(Vector point, java.util.List<Canopy> canopies, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,VectorWritable> collector, org.apache.hadoop.mapred.Reporter reporter)
          This method is used by the CanopyMapper to perform canopy inclusion tests and to emit the point keyed by its covering canopies to the output.
 void CanopyClusterer.emitPointToNewCanopies(Vector point, java.util.List<Canopy> canopies, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,Vector> collector)
          This method is used by the CanopyMapper to perform canopy inclusion tests and to emit the point and its covering canopies to the output.
 void CanopyReducer.reduce(org.apache.hadoop.io.Text key, java.util.Iterator<VectorWritable> values, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,Canopy> output, org.apache.hadoop.mapred.Reporter reporter)
           
static void CanopyClusterer.updateCentroids(java.util.List<Canopy> canopies)
          Iterate through the canopies, resetting their center to their centroids
 



Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.