|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.classifier.bayes.mapreduce.bayes.BayesClassifierDriver
public final class BayesClassifierDriver
Create and run the Bayes Classifier
Method Summary | |
---|---|
static ConfusionMatrix |
readResult(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path pathPattern,
org.apache.hadoop.conf.Configuration conf,
Parameters params)
|
static void |
runJob(Parameters params)
Run the job |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void runJob(Parameters params) throws java.io.IOException
params
- The Job parameters containing the gramSize, input output folders, defaultCat, encoding
java.io.IOException
public static ConfusionMatrix readResult(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path pathPattern, org.apache.hadoop.conf.Configuration conf, Parameters params) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |