org.apache.mahout.classifier.bayes.mapreduce.common
Interface BayesJob

All Known Implementing Classes:
BayesDriver, BayesFeatureDriver, BayesTfIdfDriver, BayesThetaNormalizerDriver, BayesWeightSummerDriver, CBayesDriver, CBayesThetaNormalizerDriver

public interface BayesJob

Implementors of this interface provide a way for running bayes training jobs on a hadoop cluster.


Method Summary
 void runJob(java.lang.String input, java.lang.String output, BayesParameters params)
          Execute a classification job on a cluster.
 

Method Detail

runJob

void runJob(java.lang.String input,
            java.lang.String output,
            BayesParameters params)
            throws java.io.IOException
Execute a classification job on a cluster.

Parameters:
input - path to training documents.
output - path to output directory.
Throws:
java.io.IOException


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