install.packages(c("tidymodels", "tidyverse"))Teaching statistical learning: An active approach using R and {tidymodels}
USCOTS 2025
Jaime Davila and Adam Loy
Time/place
July 15, 2025
1:00 – 4:15 pm
Location: Gerdin Business Building, Room 2464
Before the workshop
Before arriving, please make sure you have an up-to-date installation of R and RStudio, and install the following packages: {tidymodels}, {tidyverse}. You can use the below code chunk to do this.
Agenda
- Introductions
- Overview of {tidymodels}
- Activity: KNN for regression/prediction
- Activity: KNN for classification
- Break
- Overview of parameter tuning via cross validation and activity
- Overview of grid search and activity
- Debrief and Q&A
Workshop materials
You can access the materials either through the Google drive folder or the Github repo. Choose what you’re most comfortable with. We recommend creating a new RStudio project (.Rproj) for the workshop so that it’s easy to store the data and .Rmd files in the same directory.
Resources
Here are additional resources that we found useful as we prepared to teach with {tidymodels}:
- {tidymodels} website: The official website for the {tidymodels} ecosystem
- Tidy Modeling with R: Book by Max Kuhn and Julia Silge
- Julia Silge’s blog: Blog posts on various {tidymodels} topics
- Tidy Tuesday