org.apache.mahout.clustering.canopy
Class ClusterDriver

java.lang.Object
  extended by org.apache.mahout.clustering.canopy.ClusterDriver

public final class ClusterDriver
extends java.lang.Object


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

Field Detail

DEFAULT_CLUSTER_OUTPUT_DIRECTORY

public static final java.lang.String DEFAULT_CLUSTER_OUTPUT_DIRECTORY
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 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 String
canopies - the input canopies directory pathname String
output - the output directory pathname String
measureClassName - the DistanceMeasure class name
t1 - the T1 distance threshold
t2 - the T2 distance threshold
Throws:
java.io.IOException


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