org.apache.mahout.classifier.bayes
Class TestClassifier

java.lang.Object
  extended by 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


Method Summary
static void classifyParallel(BayesParameters params)
           
static void classifySequential(BayesParameters params)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.