org.apache.mahout.clustering.canopy
Class ClusterDriver
java.lang.Object
org.apache.mahout.clustering.canopy.ClusterDriver
public final class ClusterDriver
- extends java.lang.Object
Method Summary |
static void |
main(java.lang.String[] args)
|
static void |
runJob(java.lang.String points,
java.lang.String canopies,
java.lang.String output,
java.lang.String measureClassName,
double t1,
double t2)
Run the job |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_CLUSTER_OUTPUT_DIRECTORY
public static final java.lang.String DEFAULT_CLUSTER_OUTPUT_DIRECTORY
- See Also:
- Constant Field Values
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 points,
java.lang.String canopies,
java.lang.String output,
java.lang.String measureClassName,
double t1,
double t2)
throws java.io.IOException
- Run the job
- Parameters:
points
- the input points directory pathname Stringcanopies
- the input canopies directory pathname Stringoutput
- the output directory pathname StringmeasureClassName
- the DistanceMeasure class namet1
- the T1 distance thresholdt2
- the T2 distance threshold
- Throws:
java.io.IOException
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.