You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To use tune() in {tidymodels}, you have to supply potential values of lambda. The way cv.glmnet() works is to first call glmnet() on the whole data, then do the splits using the sequence from the full fit.
So the proper way to do this with {tidymodels} is simply to mimic that: fit all training data, then pass the path along.
We should incorporate this into the vignette in #105 and #131.
The text was updated successfully, but these errors were encountered:
To use
tune()
in{tidymodels}
, you have to supply potential values oflambda
. The waycv.glmnet()
works is to first callglmnet()
on the whole data, then do the splits using the sequence from the full fit.So the proper way to do this with
{tidymodels}
is simply to mimic that: fit all training data, then pass the path along.We should incorporate this into the vignette in #105 and #131.
The text was updated successfully, but these errors were encountered: