Hello all,
I am trying to explore random forest in R. What I want to do is get the node
number in which the case falls in the tree of random forest. For that I am
calling the predict method as:
learn.pred <- predict (learn.rf,
newdata=learn.data.x,norm.votesTRUE,predict.all = TRUE, nodes=
TRUE,type="response")
Studying the manual of random forest, I suppose that learn,pred$nodes should
contain the node numbers, but there is no attributes called nodes in
learn.pred object.
I am not much experienced with R. Please help me to resolve this issue.
Thanks in advance,
Rupendra
PRIVACY NOTICE
This email and any attachments may be confidential and/or pr...{{dropped}}