tmastny / leadr

https://tmastny.github.io/leadr/
MIT License
26 stars 2 forks source link

fix caret_seed #10

Closed tmastny closed 6 years ago

tmastny commented 6 years ago

Caret seeds are more complicated than I thought. Here are some resources I'll need to figure it out.

tmastny commented 6 years ago

Also determine if the seed is making the final oof_grab test fail.

tmastny commented 6 years ago

Sounds like this was a misunderstanding on my part. Max Kuhn himself clarifies here: https://stackoverflow.com/a/27987343/6637133

The seeds aren't as useful, because they aren't portable between model types. What I am really looking for is the index

model$control$index

which I can generate a few different ways with createResamples or createFolds.