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....