[R] number of Nodes in Random Forest
helprhelp at gmail.com
Tue Jan 16 19:00:44 CET 2007
did u use compounds as features when building rf? If so, some
compounds are NOT randomly selected in splitting nodes, which might
explain what you observed. But you need to provide more info for us to
help you, like those parameters you used to build rf.
You can use varImpPlot to see what exactly compounds were used by
setting n.var (see ?varImpPlot) or you can use
nrow(YourTrainingX$importance) to get that number too.
On 1/16/07, Gonçalo Carrera <goncalo.carrera at dq.fct.unl.pt> wrote:
> I'm calculating nodes using Random Forest in R but i only get nodes for a
> fraction of the compounds i want to calculate, the rest is ommited and is not
> printed in the output file, (i'm working with 3012 compounds). What can i do to
> have nodes printed for all the compounds. Thanks
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Weiwei Shi, Ph.D
"Did you always know?"
"No, I did not. But I believed..."
More information about the R-help