org.apache.mahout.clustering.meanshift
Class MeanShiftCanopyJob
java.lang.Object
org.apache.mahout.clustering.meanshift.MeanShiftCanopyJob
public class MeanShiftCanopyJob
- extends java.lang.Object
Method Summary |
static void |
main(java.lang.String[] args)
|
static void |
runJob(java.lang.String input,
java.lang.String output,
java.lang.String measureClassName,
double t1,
double t2,
double convergenceDelta,
int maxIterations)
Run the job |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTROL_CONVERGED
protected static final java.lang.String CONTROL_CONVERGED
- 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 input,
java.lang.String output,
java.lang.String measureClassName,
double t1,
double t2,
double convergenceDelta,
int maxIterations)
throws java.io.IOException
- Run the job
- Parameters:
input
- the input pathname Stringoutput
- the output pathname StringmeasureClassName
- the DistanceMeasure class namet1
- the T1 distance thresholdt2
- the T2 distance thresholdconvergenceDelta
- the double convergence criteriamaxIterations
- an int number of iterations
- Throws:
java.io.IOException
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.