Hi,
I'm working with randomForest package and i have 2 questions:
1. how can i drop a specific tree from the forest?
2. i'm trying to get the voting of each tree in a prediction datum using the
folowing code
  >  pr<-predict(RF,NewData,type="prob",predict.all=TRUE)
my forest has 300 trees and i get lower number of votes:
> length(pr$individual)
[1] 275
 > RF
Call:
 randomForest(formula = RFformula, data = adult, ntree = 300,      mtry = 1,
keep.forest = TRUE) 
               Type of random forest: classification
                     Number of trees: 300
No. of variables tried at each split: 1
Am i doing something wrong? how can i know which of the 300 trees didn't
cast a vote?

Thanks in advance
Dror
-- 
View this message in context: 
http://n4.nabble.com/Random-Forest-tp1557464p1571952.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@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.

Reply via email to