org.apache.mahout.clustering.meanshift
Class MeanShiftCanopyJob

java.lang.Object
  extended by org.apache.mahout.clustering.meanshift.MeanShiftCanopyJob

public class MeanShiftCanopyJob
extends java.lang.Object


Field Summary
protected static java.lang.String CONTROL_CONVERGED
           
 
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
 

Field Detail

CONTROL_CONVERGED

protected static final java.lang.String CONTROL_CONVERGED
See Also:
Constant Field Values
Method Detail

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 String
output - the output pathname String
measureClassName - the DistanceMeasure class name
t1 - the T1 distance threshold
t2 - the T2 distance threshold
convergenceDelta - the double convergence criteria
maxIterations - an int number of iterations
Throws:
java.io.IOException


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