Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Notation

Notation on this site follows the book's conventions. This page is the single source of truth; any page that deviates from it is a bug.

SymbolMeaning
Scalars — plain italic lowercase.
Vectors — bold lowercase. Components are scalars with subscripts: .
Matrices — bold uppercase.
, The dot product — both forms appear; they mean the same thing. The book prefers ; proofs here sometimes use when it reads better.
Euclidean norm, .
Class labels in the perceptron/SVM chapters (1–5).
Class labels in the probabilistic chapters (6 onward), matching the Bernoulli convention.
A model's prediction; more generally, a hat marks an estimate.
Weights and bias of a linear model; when the bias is absorbed.
, Number of training examples; input dimension.
The data-generating distribution.
, Expectation; probability.
, , Loss function; true risk; empirical risk.
The sigmoid .
Learning rate (step size).
, Feature map; kernel function.
Gradient of .
End of proof.

One deliberate difference from the book's Introduction. The book's front matter writes vectors as bold uppercase (); the chapters themselves, and this site, use bold lowercase () for vectors and reserve bold uppercase for matrices — the standard convention in the machine-learning literature.