[R] Question about randomForest

Saruman dubayah at umd.edu
Tue Apr 3 20:28:03 CEST 2012


I dont see how this answered the original question of the poster.

He was quite clear: the value of the predictions coming out of RF do not
match what comes out of the predict function using the same RF object and
the same data. Therefore, what is predict() doing that is different from RF?
Yes, RF is making its predictions using OOB, but nowhere does it say way
predict() is doing; indeed, it says if newdata is not given, then the
results are just the OOB predictions. But newdata=oldata, then
predict(newdata) != OOB predictions. So what is it then? 

Opens another issue, which is if newdata is close but not exactly oldata,
then you get overfitted results?

--
View this message in context: http://r.789695.n4.nabble.com/Question-about-randomForest-tp4111311p4529770.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list