Closed RaymondBalise closed 5 years ago
This particular block of code has been such a continual source of reader issues that I removed it from the 3rd edition.
The caret
package seems to have changed at some point, and as hard as I've tried, I can no longer get the custom bagging function to work consistently.
It should be possible to get this working by writing custom functions for fit, predict, and aggregate, but this is outside the scope of the book.
With R 3.5.3 running caret 6.0-84. The chunk of code below (around line 61 on GITHUB)
throws this warning 10 times:
Then this
Help....