|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.classifier.bayes.TestClassifier
public final class TestClassifier
Test the Naive Bayes classifier with improved weighting
To run the twenty newsgroups example: refer http://cwiki.apache.org/MAHOUT/twentynewsgroups.html
Method Summary | |
---|---|
static void |
classifyParallel(BayesParameters params)
|
static void |
classifySequential(BayesParameters params)
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.io.IOException, InvalidDatastoreException
java.io.IOException
InvalidDatastoreException
public static void classifySequential(BayesParameters params) throws java.io.IOException, InvalidDatastoreException
java.io.IOException
InvalidDatastoreException
public static void classifyParallel(BayesParameters params) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |