cmu-delphi / cmu-delphi/epipredict
How to handle tuning with `glmnet`
Open
P0
- Dominant language
- R
- Stars
- 18
- Forks
- 13
- Avg merge
- 21d 58m
- Merged PRs (30d)
- 1
Description
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.