cmu-delphi / epipredict

Tools for building predictive models in epidemiology.
https://cmu-delphi.github.io/epipredict/
Other
8 stars 9 forks source link

parsnip and glmnet for model parameter tuning #105

Open ChloeYou opened 2 years ago

ChloeYou commented 2 years ago

figure out how to use parsnip+glmnet with a selected tuning parameter (want answer for “how do I use CV”?)

ChloeYou commented 2 years ago

Also look into how cross-validation should be done in this framework. Are there other packages in tidymodels that is helpful?

ChloeYou commented 2 years ago

These articles use random forests as an example:

There does seem to be tidymodels packages for cross-validation and model tuning and set up to work with the workflows framework.

ChloeYou commented 2 years ago
ChloeYou commented 2 years ago

https://www.tidymodels.org/learn/models/time-series/