org.apache.mahout.clustering.syntheticcontrol.dirichlet
Class Job
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.mahout.common.AbstractJob
org.apache.mahout.clustering.syntheticcontrol.dirichlet.Job
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool
public final class Job
- extends AbstractJob
Method Summary |
static void |
main(String[] args)
|
static void |
run(org.apache.hadoop.fs.Path input,
org.apache.hadoop.fs.Path output,
DistributionDescription description,
int numModels,
int maxIterations,
double alpha0,
boolean emitMostLikely,
double threshold)
Run the job using supplied arguments, deleting the output directory if it exists beforehand |
int |
run(String[] args)
|
Methods inherited from class org.apache.mahout.common.AbstractJob |
addFlag, addInputOption, addOption, addOption, addOption, addOption, addOutputOption, buildOption, getAnalyzerClassFromOption, getCLIOption, getCombinedTempPath, getGroup, getInputPath, getOption, getOption, getOutputPath, getOutputPath, getTempPath, getTempPath, hasOption, keyFor, maybePut, parseArguments, parseDirectories, prepareJob, prepareJob, prepareJob, setS3SafeCombinedInputPath, shouldRunNextPhase |
Methods inherited from class org.apache.hadoop.conf.Configured |
getConf, setConf |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.hadoop.conf.Configurable |
getConf, setConf |
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
run
public int run(String[] args)
throws Exception
- Throws:
Exception
run
public static void run(org.apache.hadoop.fs.Path input,
org.apache.hadoop.fs.Path output,
DistributionDescription description,
int numModels,
int maxIterations,
double alpha0,
boolean emitMostLikely,
double threshold)
throws Exception
- 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 pointsdescription
- the model distribution descriptionnumModels
- the number of ModelsmaxIterations
- the maximum number of iterationsalpha0
- the alpha0 value for the DirichletDistribution
- Throws:
Exception
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.