CPSC 440 and 540 - Advanced Machine Learning (January-April, 2022)

Lectures: Mondays, Wednesdays, and Fridays (3-4, beginning January 10 in DMP 110).

Instructor: Mark Schmidt.

Teaching Assistants: TBA.

Tutorials and office hours calendar: Coming soon.

Synopsis: This course is intended as a second or third university-level course on machine learning, a field that focuses on using automated data analysis for tasks like pattern recognition and prediction. The class is intended as a continuation of CPSC 340 (or 532M), and will assume a strong background in math and computer science. Topics will (roughly) include deep learning, generative models, latent-variable models, Markov models, probabilistic graphical models, and Bayesian methods.

Registration: Graduate and undergraduate students from any department are welcome to take the class. Undergraduate students should enroll in CPSC 440 while graduate students should enroll in CPSC 540. Below are more details on registration for each course:

Note that in previous courses I have taught that all students on the wait list were ultimately accepted into the course (but we have not always had room for auditors). You will need to be on the waiting list by January 17th to register.

Starting in the second week of classes, we'll have weekly tutorials run by the TAs. These will do things like go through provided assignment code, review background material, review big concepts, and/or do exercises. You can register for particular tutorial sections if you want to save a seat at a particular time, but note that you do not need to register in a tutorial section.

CPSC 340/532M vs. CPSC 440/540: CPSC 340 and CPSC 440 are roughly structured as one full-year course. CPSC 340 (which is occasionally listed as CPSC 532M for graduate students) covers more data mining methods and the methods that are most widely-used in applications of machine learning while CPSC 440 (listed as CPSC 540 for graduate students) focuses on probabilistic methods which appear in more niche applications. It is strongly recommended that you take CPSC 340 first, as it covers the most fundamental ideas as well as the most common and practically-useful techniques. In 440 it will be assumed that you are familiar with all the material in the current offering of CPSC 340, and note that online machine learning courses (and courses from many other universities) are not an adequate replacement for CPSC 340 (they typically have more overlap with our applied machine learning course, CPSC 330).


Undergraduate students will not be able to take the class without these prerequisites. Graduate students may be asked to show how they satisfy prerequisites.

Textbook: There is no textbook for the course, but the textbook with the most extensive coverage of many of the course's topics is Kevin Murphy's Machine Learning: A Probabilistic Perspective (MLAPP). This book can be purchased from Amazon, is on reserve in the CS Reading Room (ICCS 262), and can be accessed through the library here. Optional readings will be given out of this textbook, in addition to other free online resources.

Grading: TBA


Date Lecture Slides Related Readings and Links Homework

Notes: These are additional notes mentioned in the lectures and homeworks:

Related Courses: Besides CPSC 340, other closely-related courses available at UBC include 500-level classes taught by Frank Wood, Leonid Sigal, Helge Rhodin, Kwang Moo Yi, Danica Sutherland, Jeff Clune, and Mijung Park. Related courses from other departments include EECE 360/592, EOSC 510/550, STAT 305/306/406/460/461, and many 500-level STAT courses. There is some discussion of how 340/440 relate to some of the undergraduate STAT classes written by a former student (Geoff Roeder) here, although it's getting a bit out of date (let me know if you have taken these courses recently and want to offer an update perspective).

Some related courses that have online notes are:

A YouTube playlist covering in detail many of the core topics in the course:

Mark Schmidt > Courses > CPSC 440