The course
This course is designed for undergraduates and graduate students who want to understand how modern machine learning works, and to be able to build and evaluate these methods themselves. It is an introductory course: the goal is to introduce the basic ideas of machine learning, and to develop each of them far enough that you can implement it, apply it, and see where it fails.
The course covers linear regression and classification, optimization, neural networks, unsupervised learning and latent-variable models, generative models including diffusion, reinforcement learning, and language models.
The course is intended for students in Statistics & Data Science, Computer Science, Engineering, and the quantitative sciences, and is useful to graduate students in Economics, SOM, and the Sciences who expect to use these methods in their own research. It is suitable for undergraduates with the appropriate prerequisites, which are linear algebra, multivariate calculus, probability, and programming experience in Python.
Computing. Every notebook runs in
Google Colab in the browser —
no local installation, no environment to configure. Click the
icon next to any demo below. Notebooks load their data over the network, so
a fresh Colab session has everything it needs.
Meetings. Monday and Wednesday, 1:05–2:30 pm, Davies Auditorium, 15 Prospect Street. Classes begin Wednesday, September 2 and end Friday, December 11. September 4 runs on a Monday schedule. There is no class on Labor Day (September 7), during October recess (October 21–25), or during November recess (November 21–29).
The Canvas site has the syllabus, announcements, grades, and assignment submission. This page is the calendar: slides, lecture notes, runnable demos, and the reading for each meeting.
Calendar
| Date | Topic | Demos | Slides | Lecture Notes | Reading |
|---|---|---|---|---|---|
| Sep 2 Wed |
Course logistics; the machine learning workflow |
|
|
|
ISLP §2.1–2.2 |
| Sep 4 Fri |
Mathematics for machine learning |
|
|
|
ISLP §2.1–2.2 (review); D2L Ch. 2 |
| Sep 9 Wed |
Linear regression |
|
|
ISLP §3.1–3.3 | |
| Sep 14 Mon |
Regularized regression and model selection |
|
|
ISLP §5.1, §6.2 | |
| Sep 16 Wed |
Gradient descent and SGD |
|
|
ISLP §10.7; D2L §12.1–12.6 | |
| Sep 21 Mon |
Nonlinear regression |
|
|
ISLP Ch. 7 | |
| Sep 23 Wed |
Generative classification |
|
ISLP §4.4–4.5 | ||
| Sep 28 Mon |
Logistic classification |
|
ISLP §4.1–4.3, §4.6 | ||
| Sep 30 Wed |
Margin classification |
|
ISLP Ch. 9 | ||
| Oct 5 Mon |
Trees and ensembles |
|
ISLP Ch. 8 | ||
| Oct 7 Wed |
Multilayer perceptrons and training |
|
ISLP §10.1–10.2, §10.7; D2L Ch. 5 | ||
| Oct 12 Mon |
Optimization for neural networks |
|
D2L §12.7–12.10 | ||
| Oct 14 Wed |
Midterm examination, in class | ||||
| Oct 19 Mon |
Convolutional networks |
|
ISLP §10.3; D2L Ch. 7 | ||
| Oct 21–25 | October recess — no class | ||||
| Oct 26 Mon |
Principal components and low-rank structure |
|
ISLP §12.1–12.2 | ||
| Oct 28 Wed |
Clustering |
|
ISLP §12.4 | ||
| Nov 2 Mon |
Latent variables and EM |
|
DL Ch. 13, §19.2 | ||
| Nov 4 Wed |
Autoencoders, VAEs, and VQ-VAE |
|
DL Ch. 14; Kingma & Welling (2019) | ||
| Nov 9 Mon |
Diffusion models |
|
Ho, Jain & Abbeel (2020) | ||
| Nov 11 Wed |
Latent diffusion and flow matching |
|
Rombach et al. (2022); Lipman et al. (2023) | ||
| Nov 16 Mon |
Reinforcement learning |
|
Sutton & Barto Ch. 3–4 | ||
| Nov 18 Wed |
Policy optimization |
|
Sutton & Barto Ch. 13; Schulman et al. (2017) | ||
| Nov 21–29 | November recess — no class | ||||
| Nov 30 Mon |
Language models and transformers |
|
D2L Ch. 11; Vaswani et al. (2017) | ||
| Dec 2 Wed |
Posttraining language models |
|
Ouyang et al. (2022); Rafailov et al. (2023) | ||
| Dec 7 Mon |
Language model agents |
|
|||
| Dec 9 Wed |
Review and course wrap-up | ||||
Readings & Textbooks
The lecture slides and notebooks are self-contained. Three textbooks are recommended for a second explanation and additional depth, and all three are free online. The Reading column of the calendar names the chapter to read alongside each meeting, using these tags; where ISLP covers the topic it is the reading, and the slides and notebooks are self-contained in any case.
- [ISLP] An Introduction to Statistical Learning with Applications in Python — James, Witten, Hastie, Tibshirani, and Taylor. statlearning.com
- [D2L] Dive into Deep Learning — Zhang, Lipton, Li, and Smola. The reference for the computational material. d2l.ai
- [DL] Deep Learning — Goodfellow, Bengio, and Courville. Background and depth for the neural-network half. deeplearningbook.org
Materials
Slides, notebooks, and data can be found in the following GitHub repo: ZhuoranYang/sds265-fall26.