Re: Deprecated code for Text NaiveBayesClassifier in Mahout

2014-08-08 Thread Ted Dunning
What does the author of the book say? On Thu, Aug 7, 2014 at 11:36 PM, François Bossière < francois.bossi...@gmail.com> wrote: > 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 NaiveBayesClas

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