org.apache.mahout.clustering.dirichlet
Class DirichletJob
java.lang.Object
org.apache.mahout.clustering.dirichlet.DirichletJob
public final class DirichletJob
- 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 modelFactory,
java.lang.String modelPrototype,
int prototypeSize,
int numModels,
int maxIterations,
double alpha_0)
Run the job using supplied arguments, deleting the output directory if it exists beforehand |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
runJob
public static void runJob(java.lang.String input,
java.lang.String output,
java.lang.String modelFactory,
java.lang.String modelPrototype,
int prototypeSize,
int numModels,
int maxIterations,
double alpha_0)
throws java.io.IOException,
java.lang.ClassNotFoundException,
java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.SecurityException,
java.lang.NoSuchMethodException,
java.lang.reflect.InvocationTargetException
- Run the job using supplied arguments, deleting the output directory if it exists beforehand
- Parameters:
input
- the directory pathname for input pointsoutput
- the directory pathname for output pointsmodelFactory
- the ModelDistribution class namemodelPrototype
- the Vector class name used by the modelFactoryprototypeSize
- the size of the prototype vectornumModels
- the number of ModelsmaxIterations
- the maximum number of iterationsalpha_0
- the alpha0 value for the DirichletDistribution
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.SecurityException
java.lang.NoSuchMethodException
java.lang.reflect.InvocationTargetException
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.