Re: [R] Random Forest prediction questions

2010-03-01 Thread Liaw, Andy
From: Dror > > Hi, > I need help with the randomForest prediction. i run the folowing code: > > > iris.rf <- randomForest(Species ~ ., data=iris, > > importance=TRUE,keep.forest=TRUE, proximity=TRUE) > > pr<-predict(iris.rf,iris,predict.all=T) > > iris.rf$votes[53,] > setosa versicolor virg

[R] Random Forest prediction questions

2010-03-01 Thread Dror
Hi, I need help with the randomForest prediction. i run the folowing code: > iris.rf <- randomForest(Species ~ ., data=iris, > importance=TRUE,keep.forest=TRUE, proximity=TRUE) > pr<-predict(iris.rf,iris,predict.all=T) > iris.rf$votes[53,] setosa versicolor virginica 0.000 0.8074866