You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by 蒋玉柱 <ji...@gmail.com> on 2013/04/25 09:46:27 UTC

mahout 0.7 NaiveBayes usage

I'm using mahout 0.7 NaiveBayes  Algorithm.
I want to use my own data with the Algorithm.
Anyone can give some example code with the NaiveBayes  Algorithm.

I had browse the mahout 0.7 NaiveBayes source code .
The NaiveBayes  training  code is in class
org.apache.mahout.classifier.naivebayes.training.TrainNaiveBayesJob
I am confused with the input format , how can I use my own data with this
mahout NaiveBayes  Algorithm.

Thanks a lot....