An Introduction to Machine Learning with Tidymodels
Thank you for enrolling in this course! These are the materials for an introductory machine learning short course with tidymodels by Dr. Alison Presmanes Hill.
This six-hour 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, tune, and workflows.
To protect the privacy of participants, no breakouts, video feeds, or chats will be recorded. We also request that you refrain from recording or screen-grabbing any part of the course.
Please tune into class with a laptop that has the following installed:
A recent version of R (>=3.9.0), which is available for free at https://cran.r-project.org/
A recent version of RStudio Desktop (>=1.3.0), available for free at https://www.rstudio.com/download (RStudio Desktop Open Source License)
The R packages we will use, which you can install by connecting to the internet, opening RStudio, and running at the command line:
install.packages(c("tidyverse", "tidymodels",
"parsnip", "palmerpenguins",
"modeldata", "kknn", "rpart",
"rpart.plot", "rattle",
"vip", "ranger", "partykit"))
I look forward to meeting you,
Alison
Upcoming and past offerings:
This is a website made with the distill package and a custom theme by Alison Hill & Desirée De Leon.
If you see mistakes or want to suggest changes, please create an issue on the source repository.
Text and figures are licensed under Creative Commons Attribution CC BY-SA 4.0. Source code is available at https://github.com/rstudio-education/tidymodels-virtually, 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 ...".