org.apache.mahout.classifier.bayes.mapreduce.cbayes
Class CBayesDriver

java.lang.Object
  extended by org.apache.mahout.classifier.bayes.mapreduce.cbayes.CBayesDriver
All Implemented Interfaces:
BayesJob

public class CBayesDriver
extends java.lang.Object
implements BayesJob

Create and run the Bayes Trainer.


Constructor Summary
CBayesDriver()
           
 
Method Summary
 void runJob(java.lang.String input, java.lang.String output, BayesParameters params)
          Run the job
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CBayesDriver

public CBayesDriver()
Method Detail

runJob

public void runJob(java.lang.String input,
                   java.lang.String output,
                   BayesParameters params)
            throws java.io.IOException
Run the job

Specified by:
runJob in interface BayesJob
Parameters:
input - the input pathname String
output - the output pathname String
Throws:
java.lang.ClassNotFoundException
java.lang.InterruptedException
java.io.IOException


Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.