mikemahoney218 / mm218.dev

Code and assets for my personal website at https://mm218.dev
https://mm218.dev
Other
26 stars 15 forks source link

posts/2024-07-19-tidymodels/ #28

Open utterances-bot opened 9 hours ago

utterances-bot commented 9 hours ago

Converting New York’s Forest Carbon Assessment to Tidymodels – Mike Mahoney

Lessons, pain points, and benefits from a bottom-up rewrite of a production modeling pipeline

https://www.mm218.dev/posts/2024-07-19-tidymodels/

Roberto-avm commented 9 hours ago

Hi Mike, this is a really great post! it is helping me enormously to migrate my mlr applications to tidymodels. I agree with you that it is a fantastic framework, but the learning curve is steep. I especially liked how you solved the tuning with workflowsets. My first attempt was creating a model specification, added it to a workflow and a recipe with tune_grid for each of the models. Then I use a function called “finalizer()” from https://www.hfshr.xyz/posts/2020-11-30-model-stacking/ that selects the best model, updates the workflow, tweaks the final model with the best parameters and extracts the metrics.

Thank you very much.

Roberto