Part 1 — Session guide
September 2026 session: how a model learns, followed by a West Nile virus prediction workflow.
Follow the session
- Open
part1.Rprojin RStudio; keeppart1/as the working directory. - Run
source("install-packages.R"), thensource("check-setup.R"). - Start with the teaching notebook.
- Work through the student practice script.
- Try the exercise and compare it with the solution.
Slide viewer · PowerPoint · Rendered notebook
The gradient descent app is an optional interactive demonstration. See the data guide and sources for the evidence behind the teaching example.
The student practice requires rpart and rpart.plot. To run every section of the instructor notebook, also install ggplot2, dplyr, data.table, maps, pROC, mlr3, mlr3learners and ranger.
From this folder, render the teaching notebook with quarto render. Its output is docs/index.html. The copied rendered files are the September snapshot; copying them does not rerun the models.