Re: [R] Different results from random.Forest with test option and using predict function

2012-12-04 Thread Liaw, Andy
] Different results from random.Forest with test option and using predict function Hello R Gurus, I am perplexed by the different results I obtained when I ran code like this: set.seed(100) test1-randomForest(BinaryY~., data=Xvars, trees=51, mtry=5, seed=200) predict(test1, newdata=cbind(NewBinaryY

[R] Different results from random.Forest with test option and using predict function

2012-12-03 Thread tdbuskirk
Hello R Gurus, I am perplexed by the different results I obtained when I ran code like this: set.seed(100) test1-randomForest(BinaryY~., data=Xvars, trees=51, mtry=5, seed=200) predict(test1, newdata=cbind(NewBinaryY, NewXs), type=response) and this code: set.seed(100)

Re: [R] Different results from random.Forest with test option and using predict function

2012-12-03 Thread Peter Langfelder
On Mon, Dec 3, 2012 at 3:30 PM, tdbuskirk trent.busk...@nielsen.com wrote: Hello R Gurus, I am perplexed by the different results I obtained when I ran code like this: set.seed(100) test1-randomForest(BinaryY~., data=Xvars, trees=51, mtry=5, seed=200) predict(test1,