Deprecated code for Text NaiveBayesClassifier in Mahout

2014-08-07 Thread François Bossière
Hi, I am currently working on P. Giacomelli's great Mahout Cookbook and I am stuck with a problem of deprecated code. I am building the Text NaiveBayesClassifier using the code and It is written: final BayesParameters params = new BayesParameters(); params.setGramSize( 1 ); para

Re: easy recommender question

2014-08-05 Thread François Bossière
Le 05/08/2014 12:46, Peng Zhang a écrit : Hi, Please try to upload your input file test.txt to HDFS (Hadoop File System), and run again. Peng Zhang -- Sent from my iPhone On Aug 5, 2014, at 5:59 PM, François Bossière wrote: Hi, I am discovering Mahout which I installed on a mapr

easy recommender question

2014-08-05 Thread François Bossière
Hi, I am discovering Mahout which I installed on a mapr cluster using the mapr-mahout package. I try some very little test on recommenders: My input is the following $MAHOUT_HOME/input/test.txt: 0,1,4 0,4,2 5,1,2 5,4,3 5,7,5 8,1,2 8,7,1 I go in $MAHOUT_HOME and I run: mahout recommenditembase