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
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
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
3 matches
Mail list logo