org.apache.mahout.clustering.fuzzykmeans
Class FuzzyKMeansDriver
java.lang.Object
org.apache.mahout.clustering.fuzzykmeans.FuzzyKMeansDriver
public final class FuzzyKMeansDriver
- extends java.lang.Object
Method Summary |
static void |
main(java.lang.String[] args)
|
static void |
runJob(java.lang.String input,
java.lang.String clustersIn,
java.lang.String output,
java.lang.String measureClass,
double convergenceDelta,
int maxIterations,
int numMapTasks,
int numReduceTasks,
float m)
Run the job using supplied arguments |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
runJob
public static void runJob(java.lang.String input,
java.lang.String clustersIn,
java.lang.String output,
java.lang.String measureClass,
double convergenceDelta,
int maxIterations,
int numMapTasks,
int numReduceTasks,
float m)
- Run the job using supplied arguments
- Parameters:
input
- the directory pathname for input pointsclustersIn
- the directory pathname for initial & computed clustersoutput
- the directory pathname for output pointsmeasureClass
- the classname of the DistanceMeasureconvergenceDelta
- the convergence delta valuemaxIterations
- the maximum number of iterationsnumMapTasks
- the number of mapper tasksnumReduceTasks
- the number of reduce tasksm
- the fuzzification factor, see
http://en.wikipedia.org/wiki/Data_clustering#Fuzzy_c-means_clustering
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.