Re: [R] problems with extractPrediction in package caret

2009-01-16 Thread Max Kuhn
The issue is the usage of extractPrediction. expred <- extractPrediction(rftrain) should really be expred <- extractPrediction(list(rftrain)) Since this function is intended to get predictions across multiple models, the man file has a description of the first argument to teh funtion bein

Re: [R] problems with extractPrediction in package caret

2009-01-16 Thread Uwe Ligges
Häring, Tim (LWF) wrote: Hi list, I´m working on a predictive modeling task using the caret package. I found the best model parameters using the train() and trainControl() command. Now I want to evaluate my model and make predictions on a test dataset. I tried to follow the instructions in t

[R] problems with extractPrediction in package caret

2009-01-15 Thread Häring, Tim (LWF)
Hi list, I´m working on a predictive modeling task using the caret package. I found the best model parameters using the train() and trainControl() command. Now I want to evaluate my model and make predictions on a test dataset. I tried to follow the instructions in the manual and the vignettes b