Re: Extremely poor predictive performance with RF in mllib

2015-08-05 Thread Yanbo Liang
_predict.sum() >>>> 9077 >>>> >>>> >>> nb = NaiveBayes.train(lp) >>>> >>> nb_predict = nb.predict(predict_feat) >>>> >>> nb_predict.sum

Re: Extremely poor predictive performance with RF in mllib

2015-08-04 Thread Patrick Lam
>>> nb = NaiveBayes.train(lp) >>> >>> nb_predict = nb.predict(predict_feat) >>> >>> nb_predict.sum() >>> 10287.0 >>> >>> >>> rf = RandomForest.trainClassifier(lp, numClasses=2, >>> >>> categoricalFeatu

Re: Extremely poor predictive performance with RF in mllib

2015-08-04 Thread Yanbo Liang
fo={}, numTrees=100, seed=422) >> >>> rf_predict = rf.predict(predict_feat) >> >>> rf_predict.sum() >> 0.0 >> >> This code was all run back to back so I didn't change anything in between. >> Does anybody have a possible explanation for this

Re: Extremely poor predictive performance with RF in mllib

2015-08-03 Thread Barak Gitsis
> 0.0 > > This code was all run back to back so I didn't change anything in between. > Does anybody have a possible explanation for this? > > Thanks! > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/Extre

Extremely poor predictive performance with RF in mllib

2015-08-02 Thread pkphlam
between. Does anybody have a possible explanation for this? Thanks! -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Extremely-poor-predictive-performance-with-RF-in-mllib-tp24112.html Sent from the Apache Spark User List mailing list archive at Nabble.com