It's an option when you run the examples as I recall.  Search in examples/bin 
and you can trace it out.

> On Feb 20, 2014, at 8:02 PM, qiaoresearcher <[email protected]> wrote:
> 
> Does mahout have complementary naive bayes implementation available?
> I checked the mahout source code, it seems the author did not finish it
> yet? as shown in the following, the thetaSummer job is not submitted.
> 
> public final class TrainNaiveBayesJob extends AbstractJob {
> 
> ....
> 
> thetaSummer.getConfiguration().setBoolean(ThetaMapper.TRAIN_COMPLEMENTARY,
> trainComplementary);
> /* TODO(robinanil): Enable this when thetanormalization works.
>    succeeded = thetaSummer.waitForCompletion(true);
>    if (!succeeded) {
>      return -1;
>    }*/
> 
> .....
> 
> }
> 
> Any comments will be appreciated.

Reply via email to