org.apache.mahout.classifier.bayes.mapreduce.bayes
Class BayesDriver

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

public class BayesDriver
extends java.lang.Object
implements BayesJob

Create and run the Bayes Trainer.


Constructor Summary
BayesDriver()
           
 
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

BayesDriver

public BayesDriver()
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.