UBC CPSC 330: Applied Machine Learning (2024W2)#
This is the course homepage for CPSC 330: Applied Machine Learning at the University of British Columbia. You are looking at the current version (Jan-May 2025).
Syllabus#
The syllabus is available here. Please read it carefully to understand all rules and expectations of this course. The content of the syllabus is tested in a quiz, to be completed by Jan 24, 11:59 pm.
The teaching team#
Instructors#
Mathias Lecuyer (Section 201: Tue Thu 9:30 to 10:50, SWNG 222) (Office Hours, Thu’s ICCS 317, 2:00-3:00pm)
Giulia Toti (Section 202: Tue Thu 3:30 to 4:50, Section 203: Tue Thu 5:00 to 6:20, MCML 360) (Office Hours, Tue’s ICCS 231, 2:00-3:15pm)
Andrew Roth (Section 204: Tue Thu 11:00 to 12:20, GEOG 212) (Office Hours, Tue’s ICCS 353, 12:30-1:30pm)
Course co-ordinator#
Ancuta (Anca) Barbu (cpsc330-admin@cs.ubc.ca), please reach out to Anca for: admin questions, extensions, academic concessions etc. Include a descriptive subject, your name and student number, and course section so that we can keep track of emails.
TAs#
Amirali Goodarzvand Chegini
Frederick Sunstrum
Kimia Rostin
Tianyu (Niki) Duan
Abdelrahman Ahmed
Maissan Bazazeh
Gaurav Bhatt
Patrick Cui
Neo Ghassemi
Alison Hardy
Mishaal Kazmi
Zefeng Li
Yifei Li
Harry Wang
Allya Wellyanto
Yan Zeng
Alain Zhiyanov
Mahsa Zarei
Felix Fu
License#
© 2024 Varada Kolhatkar, Mike Gelbart, Giulia Toti, and Firas Moosvi
Software licensed under the MIT License, non-software content licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) License. See the license file for more information.
Important links#
Gradescope For first time access, go through Canvas link
Deliverable due dates (tentative)#
Usually the homework assignments will be due on Mondays (except next week) and will be released on Tuesdays (the links below will lead to a “page not found” if the assignment has not been published yet).
Important: use the link in the Canvas course to access Gradescope for the first time, so that your accounts are correctly linked. Failing to do so will result in delays in getting your grades and risk of miscalculations.
Assessment |
Due date |
Where to find? |
Where to submit? |
---|---|---|---|
hw1 |
Jan 14, 11:59 pm |
||
hw2 |
Jan 20, 11:59 pm |
||
Syllabus quiz |
Jan 24, 11:59 pm |
||
hw3 |
Feb 03, 11:59 pm |
||
hw4 |
Feb 10, 11:59 pm |
||
Midterm 1 |
Feb 12-14 |
PrairieLearn (CBTF, in person) |
PrairieLearn (CBTF, in person) |
hw5 |
Mar 10, 11:59 pm |
||
hw6 |
Mar 17, 11:59 pm |
||
Midterm 2 |
Mar 19-21 |
PrairieLearn (CBTF, in person) |
PrairieLearn (CBTF, in person) |
hw7 |
Mar 26, 11:59 pm |
||
hw8 |
Apr 07, 11:59 pm |
||
Final exam |
TBA |
PrairieLearn (CBTF, in person) |
PrairieLearn (CBTF, in person) |
Lecture schedule (tentative)#
Live lectures: The lectures will be in-person.
This course will be run in a semi flipped classroom format. There will be pre-watch videos for many lectures, at least in the first half of the course. All the videos are available on YouTube and are posted in the schedule below. Try to watch the assigned videos before the corresponding lecture. During the lecture, we’ll summarize the important points from the videos and focus on demos, iClickers, and Q&A.
We’ll be developing lecture notes directly in this repository. So if you check them before the lecture, they might be in a draft form.
Date |
Topic |
Assigned videos |
vs. CPSC 340 |
---|---|---|---|
Jan 7 |
Course intro |
📹 Pre-watch: 1.0 |
n/a |
Jan 9 |
Decision trees |
less depth |
|
Jan 14 |
ML fundamentals |
similar |
|
Jan 16 |
\(k\)-NNs and SVM with RBF kernel |
less depth |
|
Jan 21 |
Preprocessing, |
more depth |
|
Jan 23 |
More preprocessing, |
more depth |
|
Jan 28 |
Linear models |
less depth |
|
Jan 30 |
Hyperparameter optimization, overfitting the validation set |
different |
|
Feb 4 |
Evaluation metrics for classification |
more depth |
|
Feb 6 |
Regression metrics |
📹 Pre-watch: 10.1 |
more depth on metrics less depth on regression |
Feb 11 |
Midterm review |
||
Feb 12-14 |
Midterm 1 - no class, no tutorials |
||
Feb 17-21 |
Midterm break - no class, no tutorials |
||
Feb 25 |
Ensembles |
similar |
|
Feb 27 |
Feature importances, model interpretation |
feature importances is new, feature engineering is new |
|
Mar 4 |
Feature engineering and feature selection |
None |
less depth |
Mar 6 |
Clustering |
less depth |
|
Mar 11 |
More clustering |
less depth |
|
Mar 13 |
Simple recommender systems |
less depth |
|
Mar 18 |
Text data, embeddings, topic modeling |
new |
|
Mar 19-21 |
Midterm 2 - no class, no tutorials |
||
Mar 25 |
Neural networks and computer vision |
less depth |
|
Mar 27 |
Time series data |
(Optional) Humour: The Problem with Time & Timezones |
new |
Apr 1 |
Survival analysis |
📹 (Optional but highly recommended)Calling Bullshit 4.1: Right Censoring |
new |
Apr 3 |
Ethics |
📹 (Optional but highly recommended) |
new |
Apr 8 |
Communication |
📹 (Optional but highly recommended) |
new |
Reference Material#
Click to expand!
Books#
A Course in Machine Learning (CIML) by Hal Daumé III
Introduction to Machine Learning with Python: A Guide for Data Scientists by Andreas C. Mueller and Sarah Guido.
Data Mining: Practical Machine Learning Tools and Techniques (PMLTT)
Artificial intelligence: A Modern Approach by Russell, Stuart and Peter Norvig.
Artificial Intelligence 2E: Foundations of Computational Agents (2023) by David Poole and Alan Mackworth (of UBC!).
Online courses#
Machine Learning (Andrew Ng’s famous Coursera course)
Foundations of Machine Learning online course from Bloomberg.
Machine Learning Exercises In Python, Part 1 (translation of Andrew Ng’s course to Python, also relevant for DSCI 561, 572, 563)
Misc#
A Few Useful Things to Know About Machine Learning (an article by Pedro Domingos)
Metacademy (sort of like a concept map for machine learning, with suggested resources)
Machine Learning 101 (slides by Jason Mayes, engineer at Google)
Enjoy your learning journey in CPSC 330: Applied Machine Learning!