org.apache.mahout.classifier.bayes
Class TestClassifier
java.lang.Object
org.apache.mahout.classifier.bayes.TestClassifier
public final class TestClassifier
- extends Object
Test the Naive Bayes classifier with improved weighting
To run the twenty newsgroups example: refer http://cwiki.apache.org/MAHOUT/twentynewsgroups.html
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
main
public static void main(String[] args)
throws IOException,
InvalidDatastoreException
- Throws:
IOException
InvalidDatastoreException
classifySequential
public static void classifySequential(BayesParameters params)
throws IOException,
InvalidDatastoreException
- Throws:
IOException
InvalidDatastoreException
classifyParallel
public static void classifyParallel(BayesParameters params)
throws IOException
- Throws:
IOException
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.