Displaying 1 result from an estimated 1 matches for "tcwithout".
Did you mean:
_without
2012 Jul 12
1
Caret: Use timingSamps leads to error
...e and found out about the timingSamps
obtion to obtain the time which is needed to predict results. But, as
soon as I set a value for this option, the whole model generation fails.
Check this example:
-------------------------
library(caret)
tc=trainControl(method='LGOCV', timingSamps=10)
tcWithout=trainControl(method='LGOCV')
x=train(Volume~Girth+Height, method="lm", data=trees, trControl=tcWithout)
x=train(Volume~Girth+Height, method="lm", data=trees, trControl=tc)
Error in eval(expr, envir, enclos) : object 'Girth' not found
Timing stopped at: 0 0 0.00...