org.apache.mahout.clustering.fuzzykmeans
Class FuzzyKMeansJob
java.lang.Object
org.apache.mahout.clustering.fuzzykmeans.FuzzyKMeansJob
public class FuzzyKMeansJob
- 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,
boolean doCanopy,
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.io.IOException
- Throws:
java.io.IOException
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,
boolean doCanopy,
float m)
throws java.io.IOException
- Run the job using supplied arguments
- Parameters:
input
- the directory pathname for input pointsclustersIn
- the directory pathname for initial clustersoutput
- the directory pathname for output pointsmeasureClass
- the classname of the DistanceMeasureconvergenceDelta
- the convergence delta valuemaxIterations
- the maximum number of iterationsnumMapTasks
- the number of maptasksdoCanopy
- does canopy needed for initial clustersm
- param needed to fuzzify the cluster membership values
- Throws:
java.io.IOException
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.