[R] Random Forest

Liaw, Andy andy_liaw at merck.com
Tue Feb 16 19:40:21 CET 2010


From: Dror
> 
> Hi,
> i'm using randomForest package and i have 2 questions:
> 1. Can i drop one tree from an RF object?

Yes.

> 2. i have a 300 trees forest, but when i use the predict 
> function on new
> data (with predict.all=TRUE) i get only 270 votes. did i do 
> something wrong?

Try to follow the posting guide (link in the footer of the message) and
you may just get the help you're looking for.  Please help us to help
you!

Andy

> Thanks
> 
> -- 
> View this message in context: 
> http://n4.nabble.com/Random-Forest-tp1557464p1557464.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 
Notice:  This e-mail message, together with any attachme...{{dropped:10}}



More information about the R-help mailing list