org.apache.mahout.clustering.canopy
Class CanopyClusteringJob

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

public final class CanopyClusteringJob
extends java.lang.Object

Runs the CanopyDriver.runJob(String, String, String, double, double) and then ClusterDriver.runJob(String, String, String, String, double, double) .


Field Summary
static java.lang.String DEFAULT_CANOPIES_OUTPUT_DIRECTORY
          The default name of the canopies output sub-directory.
static java.lang.String DEFAULT_CLUSTER_OUTPUT_DIRECTORY
          The default name of the directory used to output clusters.
 
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)
          Run the job
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CANOPIES_OUTPUT_DIRECTORY

public static final java.lang.String DEFAULT_CANOPIES_OUTPUT_DIRECTORY
The default name of the canopies output sub-directory.

See Also:
Constant Field Values

DEFAULT_CLUSTER_OUTPUT_DIRECTORY

public static final java.lang.String DEFAULT_CLUSTER_OUTPUT_DIRECTORY
The default name of the directory used to output clusters.

See Also:
Constant Field Values
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Parameters:
args -
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)
                   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
Throws:
java.io.IOException


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