Uses of Class
org.apache.mahout.clustering.kmeans.Cluster

Packages that use Cluster
org.apache.mahout.clustering.kmeans This package provides an implementation of the k-means clustering algorithm. 
 

Uses of Cluster in org.apache.mahout.clustering.kmeans
 

Methods in org.apache.mahout.clustering.kmeans that return Cluster
static Cluster Cluster.decodeCluster(java.lang.String formattedString)
          Decodes and returns a Cluster from the formattedString.
 

Methods in org.apache.mahout.clustering.kmeans that return types with arguments of type Cluster
static java.util.List<java.util.List<Cluster>> KMeansClusterer.clusterPoints(java.util.List<Vector> points, java.util.List<Cluster> clusters, DistanceMeasure measure, int maxIter, double distanceThreshold)
          This is the reference k-means implementation.
 

Methods in org.apache.mahout.clustering.kmeans with parameters of type Cluster
static java.lang.String Cluster.formatCluster(Cluster cluster)
          Format the cluster for output
 

Method parameters in org.apache.mahout.clustering.kmeans with type arguments of type Cluster
static java.util.List<java.util.List<Cluster>> KMeansClusterer.clusterPoints(java.util.List<Vector> points, java.util.List<Cluster> clusters, DistanceMeasure measure, int maxIter, double distanceThreshold)
          This is the reference k-means implementation.
 void KMeansReducer.config(java.util.List<Cluster> clusters)
           
 void KMeansClusterer.emitPointToNearestCluster(Vector point, java.util.List<Cluster> clusters, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,KMeansInfo> output)
          Iterates over all clusters and identifies the one closes to the given point.
 void KMeansClusterer.outputPointWithClusterInfo(Vector point, java.util.List<Cluster> clusters, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text> output)
           
 void KMeansReducer.reduce(org.apache.hadoop.io.Text key, java.util.Iterator<KMeansInfo> values, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,Cluster> output, org.apache.hadoop.mapred.Reporter reporter)
           
static boolean KMeansClusterer.runKMeansIteration(java.util.List<Vector> points, java.util.List<Cluster> clusters, DistanceMeasure measure, double distanceThreshold)
          Perform a single iteration over the points and clusters, assigning points to clusters and returning if the iterations are completed.
 



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