Course content
The 12 chapters progress from a straight line fitted to five points to deep networks, unlabelled data and the limits of what a model can claim.
-
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 Maximum Likelihood
Which model makes the data you actually saw most plausible?
In this chapter
- Why probability
- Random variables
- Discrete variables
- Continuous variables
- Joint distributions
- Likelihood and MLE
- Back to regression
-
Chapter 4
Supervised Learning: Classification
How do you predict a label rather than a number?
In this chapter
- The problem
- The linear score
- Decision boundaries
- Logistic regression
- Maximum likelihood
- SVM and KNN
- Loss and evaluation
-
Chapter 5
Model Selection, Feature Engineering and Regularization
How do you choose between models without fooling yourself?
In this chapter
- Bias and variance
- Choosing a model
- Cross-validation
- Feature construction
- Feature selection
- Regularization
-
Chapter 6
Decision Trees
What can you learn from asking one question at a time?
In this chapter
- Inside a tree
- Growing a tree
- Depth, and its price
-
Chapter 7
Ensemble Learning
Why do many weak models beat one strong one?
In this chapter
- Why combine
- Voting
- Bagging
- Random forests
- Boosting
- Stacking, and choosing
-
Chapter 8
Neural Networks
What does a network compute that a linear model cannot?
In this chapter
- The computational unit
- Perceptron to network
- Backpropagation
- Designing a network
- Networks on pixels
- Learned representations
- Training challenges
-
Chapter 9
Deep Learning
What changes when the network gets deep?
In this chapter
- Why deep learning
- How convolution works
- Building a deep CNN
- Modeling sequences
- Large language models
- Autoencoders
-
Chapter 10
Unsupervised Learning
What can you find when nothing is labeled?
In this chapter
- Clustering
- K-means
- Judging a clustering
- Gaussian mixtures
- Hierarchical clustering
- Anomaly detection
-
Chapter 11
Dimensionality Reduction
How do you keep the signal when you throw columns away?
In this chapter
- Why fewer dimensions
- Spread and covariance
- Principal component analysis
- Choosing the dimension
- Nonlinear reduction
-
Chapter 12
Uncertainty, Bias and Causality
How wrong might this be, and who does it fail?
In this chapter
- Why uncertainty matters
- Confidence intervals
- The bootstrap
- Uncertainty in deep models
- Where bias comes from
- Measuring and fixing fairness
- Causality