Course content
The ten chapters progress from a straight line fitted to five points to classification and an honest estimate of how well a model performs.
-
Chapter 1
Introduction to Machine Learning
What is a model, and what is it actually searching for?
In this chapter
- The landscape
- The three learning paradigms
- From data to a result you trust
- Linear regression, your first model
- Finding the best line
-
Chapter 2
Multiple Linear Regression
What changes when a prediction depends on more than one thing?
In this chapter
- From one feature to many
- Solving for the weights
- Choosing a loss
- Judging generalization
- Exploring a real dataset
-
Chapter 3
Probability and Likelihood
Which parameters make the observed data most probable?
In this chapter
- Why probability
- Random variables
- Maximum likelihood estimation
- Least squares as MLE
- In code
-
Chapter 4
Classification
How is a label predicted, and how good is the prediction?
In this chapter
- Classification and linear classifiers
- Logistic regression
- SVM and k-nearest neighbors
- Loss functions and evaluation
- In code
-
Chapter 5
Estimating Performance
How do you measure a model honestly and choose between models?
In this chapter
- Bias and variance
- Choosing a model
- Constructing and selecting features
- Regularization
- In code
-
Chapter 6
Trees and Forests
How do yes-or-no questions become a model, and why do many trees beat one?
Slides for chapter 6 -
Chapter 7
Neural Networks
How do layers of simple units learn a function no one wrote down?
Slides for chapter 7 -
Chapter 8
Clustering and Dimensionality Reduction
What structure is in data that comes with no answers?
Slides for chapter 8 -
Chapter 9
Deep Learning and Generative AI
How do deep networks read images and generate new data?
Slides for chapter 9 -
Chapter 10
Uncertainty, Fairness and Causality
How sure is a prediction, is it fair, and does it show a cause?
Slides for chapter 10