[R] randomForest question--problem with ntree

Michael Knudsen micknudsen at gmail.com
Fri Aug 14 13:59:54 CEST 2009


On Fri, Aug 14, 2009 at 1:43 PM, Mary Putt<mputt at mail.med.upenn.edu> wrote:

> I'm not calling it a problem that the answer converges--i.e. that the algorithm is stable. but if you look at the example even though I've asked for 2000 or 200 tress, ntree=2000 or ntree=200, it still gives me 500 trees according to the output and identical results when you set the seed before the call. While results are expected to be similar they should not be identical if the number of trees was actuallly changed.

Oops! You have written n.tree instead of ntree.

Best,
Michael

-- 
Michael Knudsen
micknudsen at gmail.com
http://lifeofknudsen.blogspot.com/




More information about the R-help mailing list