Study Guide

Published

Last modified: 2026-10-28

Below are specific criteria you can use to focus your studying. They cover many of the major points, but they are not guaranteed to be exhaustive.

Each module lists its outcomes, followed by things you should be able to do to check your understanding. The modules are numbered and ordered as the course’s Canvas modules are, and cover what the calendar’s lectures cover. Outcomes about topics that the calendar lists as optional reading are optional too, and the last group of modules, on optional reading, is entirely optional.

Where the notes have a matching chapter, a link under the module heading points to it.

M0: Prerequisites

Outcomes

To check your understanding, you should be able to…

M1: Course Overview

See Course Overview.

Outcomes

To check your understanding, you should be able to…

  • Name the experience \(E\), task \(T\) and performance measure \(P\) of a learning problem from its description.
  • Explain when learning a rule from data is a better choice than writing it by hand.
  • Classify a question about data as prediction or inference.
  • Describe an input as a feature vector.
  • Compute the sample mean squared error (sMSE) of a fitted model on a few examples by hand.

M2: Linear Regression

See Linear Regression.

Outcomes

To check your understanding, you should be able to…

M3: ML Fundamentals

See A First Model and Generalization and Kinds of Learning Problems and Features.

Outcomes

To check your understanding, you should be able to…

M4: Classification and Logistic Regression

See Logistic Regression and Gradient Descent.

Outcomes

To check your understanding, you should be able to…

Optional: more than two classes

The calendar lists more than two classes as optional reading, apart from the softmax, which the neural network lectures use.

M5: Performance Metrics

See Metrics.

Outcomes

To check your understanding, you should be able to…

  • Identify metrics with certain properties (e.g. differentiability)
  • Identify metrics for certain tasks (e.g. detection)
  • Compute and explain confusion matrices (multiclass and binary)
  • Create binary detection confusion matrices from multiclass confusion matrices
  • Describe how the metrics typically relate to each other (e.g. monotonic, inversely proportional)
  • Anticipate the effects of changing the detection threshold on true and false positives and negatives
  • Anticipate the effects of increasing or decreasing true and false positives and negatives when keeping all other values constant
  • Identify the circumstances and model behaviors that lead to high or low performance under the various metrics
  • Compute metrics numerically in simple cases

M6: Regularization and Model Selection

See Regularization and Model Selection.

Outcomes

To check your understanding, you should be able to…

M7: Support Vector Machines and Kernel Methods

See Support Vector Machines.

Outcomes

To check your understanding, you should be able to…

  • Define the concept of the margin of a hyperplane, and explain why we might want to maximize it.
  • Visually identify the margin of a hyperplane, and sketch the hyperplane with maximum margin.
  • Identify when adding or removing training data points will change the optimal SVM hyperplane.
  • Define and visually identify support vectors.
  • Given some information about a problem, explain whether a support vector machine is a good fit for it.
  • Describe what slack variables are and why they are needed.
  • Explain the relationship between slack variables and the margin.
  • Visually identify the slack variable values given points, a hyperplane and its margin.
  • Describe how the hyper-parameter \(C\) (in \(C\)-SVM) relates to the margin.
  • Describe how \(\svfrac\) (in \(\svfrac\)-SVM) relates to the margin and the number of support vectors.
  • Explain what a kernel is, and how the “kernel trick” allows SVMs to do non-linear classification.
  • Mathematically define the polynomial kernel and the Gaussian radial basis function kernel. Explain how the hyper-parameter for the polynomial kernel will affect the bias and variance.
  • Reason about kernels as notions of similarity between points, and compare similarities under different kernels.
  • Explain how, when and why you might use the parametric or non-parametric versions of SVMs.
  • Explain how one-vs-one and one-vs-rest accomplish multiclass classification, and what the pros and cons of those two techniques are.

M8: Neural Networks and Backpropagation

See Neural Networks and Backpropagation.

Outcomes

To check your understanding, you should be able to…

M9: ML Experimentation and Ethics

See Machine Learning Experimentation and Ethics and Fairness.

Outcomes

M10: Clustering

See Unsupervised Learning.

Outcomes

To check your understanding, you should be able to…

  • Analyze and anticipate the clustering behavior of the \(k\)-means algorithm.
  • Analyze and anticipate the clustering behavior of agglomerative clustering with different cluster distance metrics (single link, complete link, etc.).
  • Analyze and anticipate the shape and properties of a multivariate normal distribution as a function of the mean and covariance matrix.
  • Identify, define, and describe the role and properties of the various parameters in a GMM.
  • Compare Mahalanobis distances between points, and explain how that relates to multivariate normal distributions.
  • Explain the objective and closed-form solution to the maximum likelihood estimation problem.
  • Identify cases where mixture models would be better suited to density estimation than single Gaussians.

Optional reading

The calendar’s lectures skip the modules below, so everything in them is optional. The calendar’s optional reading list names the skipped parts of the other chapters.

O1: Machine Learning Theory

See Machine Learning Theory.

Outcomes

To check your understanding, you should be able to…

  • Define the Bayes decision rule and Bayes risk.
  • Explain how Bayes risk informs our expectation of classifier performance.
  • Explain how Bayes risk relates to Bayes error (including when and why they might differ).
  • Explain how zero-one loss relates to Bayes error, and when you might prefer to use zero-one loss.
  • Illustrate reducible error, Bayes error and residual variance visually.
  • Explain the “loophole” that allows us to reduce the Bayes error and the residual variance: each is irreducible only given the inputs.
  • Explain the consequences of the curse of dimensionality, and how it affects machine learning.
  • Explain what the No Free Lunch Theorem means for machine learning.
  • Explain what the Ugly Duckling Theorem means for machine learning.

O2: Non-Parametric Models and Ensembles

See Non-Parametric Models, Splines, Generalized Additive Models and Ensemble Methods.

O3: Further Methods

See Gaussian Processes, Convolutional and Recurrent Networks, Attention and Transformers and Semi-Supervised Learning.

Project ideas

Any technique from the notes can be tried on a real data set. Each data set below has a copy on this site that you can download, and a prediction question to start from.

Data Source Rows Columns Question to start from
Auto UCI Auto MPG [1], from the StatLib library; this copy is the one in the ISLP and ISLR2 packages [2] 392 9 Predict a car’s fuel economy (mpg) from its engine and weight.
Boston Harrison and Rubinfeld’s study of housing values in Boston suburbs [3]; the copy in ISLP and ISLR2 [2] 506 13 Predict a suburb’s median home value (medv) and ask which predictors matter.
Carseats A simulated data set of child car seat sales, from the ISLR2 package [2] 400 11 Predict sales (Sales) at each store.
Hitters Major League Baseball statistics from the 1986 and 1987 seasons, from the ISLR2 package [2] 322 20 Predict a player’s salary (Salary) from many correlated statistics.
Smarket Daily returns of the S&P 500 stock index, from the ISLR2 package [2] 1250 9 Predict whether the market goes up or down (Direction) from the previous days’ returns.
Spambase UCI Spambase [4] 4601 58 Classify an email as spam or not from word and character frequencies (Class).
WCGS The Western Collaborative Group Study of coronary heart disease [5] 3154 5 Predict coronary heart disease (chd) from age, body mass index, blood pressure and behavior pattern.
Optdigits UCI Optical Recognition of Handwritten Digits [6]; this file is its test set 1797 65 Classify a handwritten digit from an 8 by 8 grid of pixel counts.

The Auto file has fewer rows than the UCI original, which also lists the cars with a missing horsepower; the ISLP copy drops them. The Optdigits file is the UCI test set, with the digit label in its last column.

To go beyond these, search the official repositories of data sets:

Before you pick a data set, read where it came from, and cite it the way its page asks.

Back to top

References

[1]
R. Quinlan, “Auto MPG.” UCI Machine Learning Repository, 1993. doi: 10.24432/C5859H.
[2]
G. James, D. Witten, T. Hastie, R. Tibshirani, and J. Taylor, An introduction to statistical learning: With applications in Python. Springer, 2023. doi: 10.1007/978-3-031-38747-0.
[3]
D. Harrison and D. L. Rubinfeld, “Hedonic housing prices and the demand for clean air,” Journal of Environmental Economics and Management, vol. 5, no. 1, pp. 81–102, 1978, doi: 10.1016/0095-0696(78)90006-2.
[4]
M. Hopkins, E. Reeber, G. Forman, and J. Suermondt, “Spambase.” UCI Machine Learning Repository, 1999. doi: 10.24432/C53G6X.
[5]
R. H. Rosenman, R. J. Brand, C. D. Jenkins, M. Friedman, R. Straus, and M. Wurm, “Coronary heart disease in the Western Collaborative Group Study: Final follow-up experience of 8 1/2 years,” JAMA, vol. 233, no. 8, pp. 872–877, 1975, doi: 10.1001/jama.1975.03260080034016.
[6]
E. Alpaydin and C. Kaynak, “Optical recognition of handwritten digits.” UCI Machine Learning Repository, 1998. doi: 10.24432/C50P49.