Machine Learning with {tidymodels}

1 day workshop at NHS-R Conference – 2021

Emil Hvitfeldt https://www.emilhvitfeldt.com/ (Teladoc Health)https://www.teladochealth.com/
2021-11-02

Welcome

Summary: This workshop will provide a gentle introduction to machine learning with R using the modern suite of predictive modeling packages called {tidymodels}. We will build, evaluate, compare, and tune predictive models. Along the way, we’ll learn about key concepts in machine learning including overfitting, the holdout method, the bias-variance trade-off, ensembling, cross-validation, and feature engineering. Learners will gain knowledge about good predictive modeling practices, as well as hands-on experience using {tidymodels} packages like {parsnip}, {rsample}, {recipes}, {yardstick}, and {tune}.

Pre-requisites: Some introductory experience with R.

Slides

Labs

Link to lab for local download here

Acknowledgments

This is website made with the distill package.

Corrections

If you see mistakes or want to suggest changes, please create an issue on the source repository.

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY-SA 4.0. Source code is available at https://github.com/EmilHvitfeldt/nhs-tidymodels-workshop, unless otherwise noted. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".