org.apache.mahout.clustering.fuzzykmeans
Class FuzzyKMeansJob

java.lang.Object
  extended by org.apache.mahout.clustering.fuzzykmeans.FuzzyKMeansJob

public class FuzzyKMeansJob
extends java.lang.Object


Method Summary
static void main(java.lang.String[] args)
           
static void runJob(java.lang.String input, java.lang.String clustersIn, java.lang.String output, java.lang.String measureClass, double convergenceDelta, int maxIterations, int numMapTasks, int numReduceTasks, boolean doCanopy, float m)
          Run the job using supplied arguments
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 clustersIn,
                          java.lang.String output,
                          java.lang.String measureClass,
                          double convergenceDelta,
                          int maxIterations,
                          int numMapTasks,
                          int numReduceTasks,
                          boolean doCanopy,
                          float m)
                   throws java.io.IOException
Run the job using supplied arguments

Parameters:
input - the directory pathname for input points
clustersIn - the directory pathname for initial clusters
output - the directory pathname for output points
measureClass - the classname of the DistanceMeasure
convergenceDelta - the convergence delta value
maxIterations - the maximum number of iterations
numMapTasks - the number of maptasks
doCanopy - does canopy needed for initial clusters
m - param needed to fuzzify the cluster membership values
Throws:
java.io.IOException


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