Course Schedule
Introduction to Machine Learning • Fall 2026
Introduction
Sep 1
1
Introduction and Logistics
Why build intelligent machines, a brief history of AI, and how this course works
Week note for this session
How to study this session
- Explore the logistics and schedule pages on www.intro2ml.com
- reread the Introduction and Logistics slides.
- Set up Python per the logistics page for next Tuesday.
Preparation
- Course introductory note and takeaways references
Lecture
- Introduction and Logistics interactive
- Slides as lectured (PDF) slides
References
Homework
-
How will you use AI in this course?
conversation
This is an optional conversation with the course AI tutor, on the last slide of lecture 1.
Sep 3
2
Data, Models, and Python
Week note for this session
How to study this session
- Problem Set 0 is posted here: https://intro2ml.com/materials/assignments/hw0/
- Think of Data and Models you encounter every day.
Lecture
- Data, Models, and Python interactive
- Slides as lectured (PDF) slides
References
References
- Data Visualization Example (coming soon) Recommended
Sep 8
3
Math and Python Review - Your Computational Toolkit
Linear algebra and its computational implementation
How to study this session
- Review the math and python review notebooks
- Test your knowledge with the in-slide quizzes/questions
Preparation
Lecture
- Overview slides interactive
- Slides as lectured (PDF) slides
- Python Introduction notebook
- Vectors And Basics notebook
- Matrices And Operations notebook
- Matrix Properties And Calculus notebook
- Data Reading And Plotting notebook
Function Approximation
Sep 10
4
Supervised Learning and Linear Regression
First machine learning algorithm and foundational concepts
How to study this session
- Read CS229 notes Part I, sections 1.1-1.2
- Go through the interactive linear regression slides and explore each widget
- Watch the videos in the references if you're struggling with some concepts
- Start PS1 (posted today)
Preparation
Lecture
- Supervised Learning and Linear Regression interactive
- Slides as lectured (PDF) slides
- Notes with Code notebooks
References
- Interactive introduction to linear regression references
- 2025 PDF slides slides
- My video on Linear Regression references
- A 3-minute Overview references
Sep 15
5
Feature Engineering and Generalization
From raw data to meaningful features, avoiding overfitting
How to study this session
- Review generalization slides
- Continue PS1
Lecture
- Feature Engineering and Generalization interactive
- Slides as lectured (PDF) slides
Sep 17
6
Quiz 1, then Feature Engineering in Practice
The coding half of lecture 5: scikit-learn, train/test splits and choosing a model
Before class
- Quiz 1 covers sessions 1 to 4: supervised vs unsupervised learning, linear models in vector form, the train/validation/test split
- Have Python and scikit-learn working on your machine; the video tutorial shows the setup
Takeaways
- In scikit-learn every model is fit, then predict; the feature engineering happens before fit
- The held-out set is the only honest estimate of how a model will do on new data
- Model choice is an experiment: compare validation error across candidates, do not guess
How to study this session
- Redo the coding walkthrough from the slides in your own notebook, with a dataset of your choice
- Watch the scikit-learn video tutorial, then try Module 1 of the Inria MOOC
- Continue PS1 (due Sep 23)
Lecture
References
Sep 22
7
Classification and Logistic Regression
From regression to classification with probabilistic models
Takeaways
- Covered in class up to the two-feature decision boundary; softmax, metrics and the hands-on continue on Sep 24
How to study this session
- Go through the interactive logistic regression slides
- Compare the MSE vs cross-entropy loss surfaces in the slides
- PS2 Problems 3 and 4 are on this material (due Oct 8)
Preparation
Lecture
- Interactive Classification and Logistic Regression slides interactive
- Slides as lectured (PDF) slides
- Reference PDF slides slides
Sep 24
8
Classification II: Softmax, Metrics and a Hands-on Dataset
The rest of logistic regression, many classes, and your first classification analysis
Before class
- Reread the first half of the logistic regression deck up to the two-feature boundary; the session starts there
- Have Python and scikit-learn running: the hands-on part is you fitting a classifier, not watching one
Takeaways
- The decision boundary is where the score is zero; the margin is how far the closest point sits from it
- Accuracy is the wrong compass when classes are imbalanced; report precision and recall at the threshold you deploy
- Softmax regression is logistic regression with one score per class, normalised by the exponentials
- Analysing a dataset means: look at it, pick a question, fit, hold out, and read the confusion matrix
How to study this session
- Finish the hands-on analysis at home if you did not in class; compare accuracy, precision and recall on a held-out split
- Derive the gradient of the cross-entropy loss yourself, then check it against the slide
- Try the same dataset with sklearn's LogisticRegression and compare with your own gradient descent
Preparation
Lecture
Probabilistic Reasoning
Sep 29
9
Maximum Likelihood Estimation and Generalized Linear Models
Foundations of probabilistic reasoning and statistical learning
How to study this session
- Review the MLE slides and rederive least squares from the Gaussian likelihood, and cross-entropy from the Bernoulli one
- Read CS229 Sections 1.3 and 2.1; Chapter 3 on GLMs if you want the general picture
- PS2 is posted (due Oct 8)
Preparation
Lecture
- Interactive MLE and GLM slides interactive
- Slides as lectured (PDF) slides
References
Oct 1
10
Generative Learning and Language
Working with Language and the Naive Bayes Algorithm
How to study this session
- Review the generative learning slides: Naive Bayes on the spam messages, GDA on the penguins, and the n-gram language model
- Continue PS2 (due Oct 8)
- Run the Naive Bayes from scratch notebook from the slides on your own text
Preparation
Lecture
References
- 2025 PDF slides slides
Deep Learning
Oct 6
11
Introduction to Neural Networks
From linear models to deep networks
Takeaways
- A layer is a matrix followed by a squash. Without the squash, a stack of layers collapses into a single matrix, so it is no better than linear regression.
- A hidden layer is a learned feature map: the network chooses the features instead of you, and what it chooses rarely looks like a feature a person would name.
- One hidden layer can approximate any continuous function; depth does it with fewer units, by building features of features.
- On real handwritten digits a network beats a flat boundary only when it has enough data, and a fully connected layer has no idea that nearby pixels belong together: shift every digit by two pixels and both models fail.
- Backpropagation is the chain rule run backwards: one forward pass stores every activation, one backward pass reuses them to get every gradient.
- Covered in class up to slide 24 of the neural networks deck; the rest, with the handwritten digits example, continues on Oct 8
How to study this session
- Go back through the slides and redo the interactive parts: build AND, OR, NAND and NOR with the McCulloch-Pitts neuron, watch the network bend its boundary around XOR, and draw a curve for the one-hidden-layer network to approximate
- Run "A network in twelve lines" and "Run it on the digits" from the slides, then the Python Neural Network Example notebook
- Read CS229 notes, Chapter 7, Sections 7.1 and 7.2
- Finish PS2 (due Thursday 8 October, 23:59)
Preparation
Lecture
- Introduction to Neural Networks interactive
- Python Neural Network Example notebook
References
Oct 8
12
Backpropagation, Computation Graphs and Hands on
A deeper dive into the inner working of deep learning
Lecture
References
- Pytorch Basics notebook
- Neural Network from Scratch notebook
- Deep Learning for MNIST notebook
- Tensorflow Playground references
- 2025 PDF slides slides
Oct 13
13
Advanced Neural Networks
Advanced Neural network architectures
Preparation
- CNN and RNN cheat sheet references
- What is a convolution? references
- CNN introduction notes (CS231n) references
- CNN introduction video (CS231n) references
- Introduction to Recurrent Neural Networks (CS231n) references
- RNN overview references
References
- 2025 PDF slides slides
Oct 15
14
CNNs, RNNs and AI Assistants
How to use AI coding assistants in the context of deep learning
Lecture
Midterm
Oct 20
15
Midterm Review
A story-format review of the first half
Oct 22
16
Midterm Exam
In class, 75 minutes
Unsupervised Learning
Oct 27
17
Introduction to Unsupervised Learning & K-Means Clustering
Introduction to clustering and unsupervised pattern discovery
Preparation
-
CS229 Notes, Chapter 10
references
Implement and compare clustering algorithms
References
- 2025 PDF slides slides
Oct 29
18
Principal Component Analysis
Principal component analysis and Dimensionality Reduction
Lecture
- Basic PCA Coding Example notebook
- SVD for Image Compression notebook
- MNIST Dataset Dimensionality Reduction notebook
References
- 2025 PDF slides slides
Nov 3
19
EM Algorithm and Gaussian Mixture Models
Probabilistic clustering and the EM algorithm
Lecture
- GMM Code Walkthough notebook
References
- 2025 PDF slides slides
Nov 5
20
Other Unsupervised Learning Methods
Hierarchical clustering, Autoencoders, Kernel PCA and others
Lecture
- Unsupervised-Learning-Overview assignment
Nov 10
21
Story Session: The Rope as an Instrument
Unsupervised discovery on real physical data
Lecture
- Story Session: The Rope as an Instrument interactive
Reinforcement Learning
Nov 12
22
Reinforcement Learning I
Introduction to RL, MDPs, and value iteration
Preparation
References
- 2025 PDF slides slides
Nov 17
23
Reinforcement Learning II
Introduction to RL, MDPs, and value iteration
Advanced Topics
Nov 19
24
Foundation Modeling
Large-scale models and transfer learning
References
- 2025 PDF slides slides
Nov 24
25
Machine Learning for Modeling Physical Systems
How does ML apply to science and engineering where some physics-based models are already known?
References
- 2025 PDF slides slides
Projects and Closing
Nov 26
26
Closing Story Session, Review and Exam Prep
The course in one arc; then review and exam prep
Dec 1
27
Project Presentations I
Final project presentations
Dec 3
28
Project Presentations II and Course Close
Final presentations and farewell
This schedule is dynamically generated from lecture metadata. Materials and links are updated as they become available.