CSC 412/2506 Fall 2026:

Probabilistic Machine Learning

This course introduces probabilistic learning tools such as exponential families, directed graphical models, Markov random fields, exact inference techniques, message passing, sampling and mcmc, hidden Markov models, variational inference, EM algorithm, Bayesian regression, probabilistic PCA, Neural networks kernel methods, Gaussian processes, variational autoencoders, and diffusion models. It will also offer a broad view of model-building and optimization techniques that are based on probabilistic building blocks which will serve as a foundation for more advanced machine learning courses.

More details can be found in syllabus and piazza.


Announcements:


Instructors:

Prof Ohad Shamir
Email csc412prof@cs.toronto.edu
Office hours Tu 13-15 @Pratt 290G

Teaching Assistants:

Lance (Chen-Hao) Chao, Yongjin Yang, Yuchong Zhang


Time & Location:

Section Lecture Tutorial
CSC412 LEC0101 & CSC2506 LEC0101 Tu 9-11 @ MP 134 Th 10-11 @ ES B149

Suggested Reading

No required textbooks. Suggested reading will be posted after each lecture (See lectures below).


Lectures and timeline

| Week | Lectures | Suggested reading | Tutorials | Timeline | | — | — | — | — | — | | 1 | Introduction
Probabilistic Models
| MLPP 1 & 2
PRML 2.4 | notes
slides | syllabus | | 2 | Decision theory
Directed Graphical Models
| PRML 1.5
MLPP 10 | notes
slides | | | 3 | Markov Random Fields
Exact inference
| MLPP 19-19.5, 20.3
ITIL 21.1, 26 | notes
slides | A1 out | | 4 | Message passing
Monte Carlo Methods
| MLPP 20.2,22.2
ITIL 29 | notes
slides | | | 5 | Sampling I
Sampling II
| MLPP 17.2, 24.3
this paper | colab
demos | A1 due; A2 out | | 6 | Hidden Markov Models
Variational inference I
| MLPP 17.3
MLPP 21.1-3| colab | | | 7 | Variational inference II
Variational Autoencoders
| PRML 10.1-10.2 | slides
colab | A2 due | | 8 | Reading week
(no class/tutorial) | - | - |- | | 9 | Midterm exam | - | - | midterm
A3 out | | 10 | EM algorithm
Probabilistic PCA
| PRML 9
PRML 12.2 | colab | | | 11 | Bayesian regression
Gaussian processes
| PRML 3.3
PRML 6.4 | - | | | 12 | Diffusion models
Demo | CVPR tutorial
this blog | | A3 due | <!–

| 12 | Gaussian processes
Diffusion models | PRML 6.4
CVPR tutorial
this blog | GP tutorial | | | 13 | Diffusion models II
Final exam review | Exam details | | | –>


Assignments

Assignment # Out Due TA Office Hours
Assignment 1 9/22 10/05 9/30 6-7PM, 10/02 6-7PM at Pratt bldg. 286
Assignment 2 10/06 10/19 10/13 2-3PM, 10/19 2-3PM at Bahen 2230 (desk 4)
Assignment 3 11/03 11/23 11/16 2-3PM, 11/20 2-3PM at Bahen 2230

Computing Resources

For the assignments, we will use Python, and libraries such as NumPy, SciPy, and scikit-learn. You have two options: