Every term of the course in one line, A to Z. In the βSeeβ column, a lecture number (L3, L9.1, β¦) links to the lecture section, βMathβ to the math foundations , every other link to the termβs concept page . Formulas are on the Formula Sheet .
Words that mean two things
Bias is the inductive bias (what the learner assumes, L1.1 ), the bias term of the bias-variance decomposition (L1.2 ) and bias in data that leads to unfair decisions (L7 , L9.1 ).
Margin is the distance of the closest point to a hyperplane (L2 ) and the product y f ( x ) of a scoring function (L1.1 , the margin bound in L6 ).
Consistent means R ( f n β ) β R β (L1.2 ), but consistent w.r.t. F only means R ( f n β ) β R ( f F β ) (L3 ).
Calibrated : a classification-calibrated loss gives the Bayes classifier after thresholding (L1.1 ); a score calibrated by group means the same probability in every group (L9.1 ).
Stability : average stability equals the expected generalization gap, uniform stability gives the high-probability bound (L4 ).
0-9
Term Meaning See 0-1 loss 0 for a correct prediction, 1 for a wrong one; its risk is the probability of error Loss and Risk
A
Term Meaning See AdaBoost boosting by reweighting: the weak learner h t β with weighted error Ξ΅ t β gets the vote w t β = 2 1 β log ( Ξ΅ t β 1 β β 1 ) , misclassified points gain weight AdaBoost AI Act EU law that regulates AI applications by risk: prohibited, high, limited, minimal, plus rules for GPAI models AI Regulation Algorithmic stability the learned function changes only a little when one training point is replaced; a stable algorithm generalizes Algorithmic Stability Almost sure convergence P ( lim i β U i β = U ) = 1 ; implies convergence in probabilityL1.2 Approximation error R ( f ~ β ) β R ( f β ) , the price of the class F ; deterministic, shrinks when F growsEstimation and Approximation Error Average stability Ξ a v β expected loss change on the replaced point; equals the expected generalization gap (Proposition 1 of L4) Algorithmic Stability
B
Term Meaning See Bagging bootstrap aggregation: average the estimates of B bootstrap samples; variance Ο Ο 2 + ( 1 β Ο ) B Ο 2 β instead of Ο 2 Bagging Base rate P ( Y = 1 ) within a group; different base rates make some fairness criteria incompatibleL9.1 Bayes classifier, Bayes predictor f β a function with the smallest possible risk; for the 0-1 loss: predict 1 iff Ξ· ( x ) β₯ 2 1 β Bayes Classifier Bayes decision rule predict the label with the smallest conditional risk, using priors and the costs of the errors Bayesian Decision Theory Bayes risk R β inf f β R ( f ) , the best risk any function can reachBayes Classifier Benign overfitting an interpolator fits noisy labels exactly and still has a small test error Benign Overfitting Ξ² -smooththe gradient is Ξ² -Lipschitz: an upper bound on the curvature Smoothness Bias (bias-variance) how far the average prediction over training samples is from the truth Bias-Variance Decomposition Bias-variance decomposition for the L 2 β loss, pointwise: E ( f n β ( x ) β f β ( x ) ) 2 = variance + bias 2 Bias-Variance Decomposition Boosting combine many weak learners with specific weights into a strong one; reduces bias AdaBoost Boosting class H T β all sign ( β t β w t β h t β ) with h t β from the base class; VC ( H T β ) β² T β
VC ( B ) log ( T β
VC ( B )) L6 Bootstrap judge an estimate by recomputing it on resamples drawn from the data L6
C
Term Meaning See Calibration by group P ( Y = 1 β£ Y ^ = y , A = a ) = y : a score means the same probability in every groupFairness Criteria Classical regime F cannot interpolate the training data; the test risk is U-shapedL1.2 Classification-calibrated a surrogate loss whose Bayes predictor, thresholded at 0, is the 0-1 Bayes classifier Surrogate Loss Conditional risk expected loss of predicting y ^ β at a fixed x ; only the label is random Bayesian Decision Theory Consistency R ( f n β ) β R β in probability; a statement about the risk, not about f n β β f β Consistency Consistency w.r.t. F R ( f n β ) β R ( f F β ) : only the estimation error goes to 0L3 Construct validity does the metric measure the concept we care about? Validity Convergence in probability P (β£ U i β β U β£ > Ξ΅ ) β 0 for every Ξ΅ > 0 L1.2 Counterfactual explanation the smallest change of the input that flips the decision Counterfactual Explanation Counterfactual fairness uses a causal model to ask what the outcome would have been had other variables been different L9.1
D
Term Meaning See Datasheet documentation of a data set: motivation, composition, collection, recommended uses (Gebru et al. 2018) L7 Decision stump a tree with a single split; the usual weak learner in AdaBoost AdaBoost Demographic parity Y ^ β₯ A : both groups get positive decisions at the same rate (independence)Fairness Criteria Derived classifier fairness post-processing: a randomized Y ~ from Y ^ and A with four probabilities p y a β Fair Post-Processing Design matrix X n Γ d matrix with one training point per rowL5 Double descent the test error rises towards the interpolation threshold and can fall again beyond it Double Descent
E
F
Term Meaning See Feature attribution a score per input feature for how much it mattered for one decision Feature Attribution Feature map Ξ¦ turns an object into a vector of numbers in R d Kernel Methods Feedback loop predictions change the data the next model is trained on and become self-fulfilling L9.1 Fixed design the input points are fixed and only the labels are random; risk on these points L5 Forward stagewise additive modeling add one base function at a time and freeze the earlier ones; AdaBoost is the case of the exponential loss L6
G
Term Meaning See GAM generalized additive model f ( x ) = β i β f i β ( x i β ) ; interpretable, and interventional SHAP recovers the f i β SHAP GDPR EU data protection: lawful basis and consent, data minimization, purpose limitation, right to be forgotten AI Regulation Generalization bound true risk β€ empirical risk + capacity term, with probability at least 1 β Ξ΄ Generalization Bound Generalization gap R ( f n β ) β R n β ( f n β ) , true minus empirical risk of the learned functionL4 Generalized inverse A + inverts A on the eigenvectors with non-zero eigenvalues (Moore-Penrose) L5 GPAI model general-purpose AI model in the AI Act; systemic risk above 1 0 25 FLOPs of training compute AI Regulation Gradient boosting fit each new base learner to the negative gradient of the loss Gradient Boosting Gradient descent w t + 1 β = w t β β Ξ· β R n β ( w t β ) Stochastic Gradient Descent Growth function the shattering coefficient as a function of n ; either 2 n or polynomial Shattering Coefficient
H
Term Meaning See Hinge loss max ( 0 , 1 β y f ( x )) ; a classification-calibrated surrogateSurrogate Loss Hoeffdingβs inequality independent Z i β β [ 0 , 1 ] : P (β£ S n β β E ( S n β )β£ β₯ Ξ΅ ) β€ 2 exp ( β 2 n Ξ΅ 2 ) Hoeffding Inequality
I
Term Meaning See i.i.d. independent and identically distributed; how the training points are drawn Math Implicit regularization the optimizer picks one special solution among many, e.g. GD from 0 finds the minimum norm solution Implicit Regularization Individual fairness individuals that are similar under a pre-specified metric get similar treatment L9.1 Inductive bias the assumptions about what we look for; without one, learning is impossible (No Free Lunch) Inductive Bias Inductive inference from specific examples to a general rule; the conclusion can be wrong L1.1 Internal validity is the effect really caused by the model, and not by artifacts or confounders? Validity Interpolation threshold as many parameters as data points; the peak of the double descent curve Double Descent Interventional value function fix x S β and draw the other features from their marginal distribution SHAP
K
Term Meaning See Kernel, kernel trick k ( x , y ) = β¨ Ξ¦ ( x ) , Ξ¦ ( y )β© , computed without computing Ξ¦ Kernel Methods
L
Term Meaning See Lasso least squares + Ξ» β₯ w β₯ 1 β ; sparse solutions, no closed form Lasso Law of large numbers the empirical mean converges to the expectation; for a fixed f , R n β ( f ) β R ( f ) Math Least squares minimize β₯ Y β Xw β₯ 2 ; w = ( X t X ) β 1 X t Y if X has full rank Least Squares Regression Leave-one-out train without one point, test on it; the average is an unbiased estimate of the generalization error Leave-One-Out Error LIME explains one decision by a linear model fitted on samples around x LIME Linear loss max { 0 , β y β¨ w , x β©} ; the perceptron is SGD on itL2 Lipschitz β£ f ( x ) β f ( y )β£ β€ L β₯ x β y β₯ Math Loss function β ( x , y , y β² ) β₯ 0 : how expensive it is to predict y β² when the truth is y Loss and Risk
M
Term Meaning See MAP maximum a posteriori: predict the label with the largest posterior; for the 0-1 loss this is the Bayes classifier Bayesian Decision Theory Margin (hyperplane) smallest distance of a training point to the hyperplane, min i β y i β β¨ w , x i β β© / β₯ w β₯ Margin Margin (score) y f ( x ) ; positive iff the point is classified correctlyMargin Margin bound test error bound for boosting that does not depend on T L6 Maximum likelihood predict the label with the largest p ( x β£ y ) ; ignores the priors Bayesian Decision Theory McDiarmidβs inequality concentration for a function of independent variables whose value changes by at most c i β in coordinate i L3 Measurement procedure the device that records the construct; machine learning learns the measurement, not the construct Measurement and Construct Minimum norm solution the interpolating w with the smallest norm, X β€ ( X X β€ ) β 1 y Implicit Regularization Mistake bound the perceptron makes at most R 2 / Ο 2 mistakes on separable data Perceptron Modern regime F is large enough to interpolate the training dataL1.2
N
Term Meaning See Neural tangent kernel (NTK) very wide networks train like a kernel method with β¨ β w β f ( w 0 β , x ) , β w β f ( w 0 β , x β² )β© ; no feature learning Neural Tangent Kernel No Free Lunch averaged over all possible true functions, all classifiers perform the same No Free Lunch Theorem
O
Term Meaning See Observational value function average f over the points with X S β = x S β (conditional distribution) SHAP OLS ordinary least squares, no regularizer; excess risk Ο 2 d / n in the fixed design L5 Over-parameterized regime more parameters than data points; the model can interpolate L8 Overfitting classical regime: the class is too large, low approximation error, high estimation error L1.2
P
Term Meaning See PAC learnable strong: error β€ Ξ΅ with probability β₯ 1 β Ξ΄ for all Ξ΅ , Ξ΄ ; weak: error β€ 2 1 β β Ξ³ ; both are equivalent L6 Perceptron after every mistake update w β w + y t β x t β ; SGD with step size 1 on the linear loss Perceptron Plug-in classifier estimate Ξ· from the data and threshold the estimate like the Bayes classifier L1.2 Predictive parity Y β₯ A β£ Y ^ : a prediction means the same in every group (sufficiency)Fairness Criteria Protected attribute A sensitive attribute such as gender or race L9.1 Proxy a measurable stand-in for the construct, e.g. health care cost for illness Measurement and Construct
R
Term Meaning See Rademacher complexity how well F can fit random Β± 1 labels Rademacher Complexity Random design the data is random and we care about the test error L5 Random features basis functions with random, frozen parameters; only the output weights are learned; they approximate a kernel Random Features Random forest bagged decision trees; each split chooses its dimension from a random subset (m β d /3 ) Random Forest Regression function Ξ· Ξ· ( x ) = E ( Y β£ X = x ) ; for labels 0 and 1 it is P ( Y = 1 β£ X = x ) Bayes Classifier Regularization minimize R n β ( f ) + Ξ» Ξ© ( f ) with a regularizer Ξ© that measures complexity Regularization Representation learning learn the features from raw data instead of fixing them by hand L7 Ridge regression least squares + Ξ» β₯ w β₯ 2 ; w = ( X t X + nΞ» I d β ) β 1 X t Y (Tikhonov) Ridge Regression Robust interpolation interpolating with Lipschitz constant about 1 needs p β³ n d parameters (Bubeck and Selke) L8
S
Term Meaning See Sauer-Shelah lemma VC dimension d : N ( F , n ) β€ β i = 0 d β ( i n β ) β€ ( e n / d ) d L3 Scoring function a real-valued f ; the classifier is sign ( f ( x )) Surrogate Loss SGD stochastic gradient descent: a gradient step on one random training point Stochastic Gradient Descent SHAP Shapley values of the features for one prediction SHAP Shattering F realizes all 2 n labelings of the pointsVC Dimension Shattering coefficient N ( F , n ) the largest number of labelings F produces on n points Shattering Coefficient Sparsity many coefficients exactly 0; the lasso gets it from the corners of the β 1 β ball Lasso Spiky-smooth an interpolator with narrow spikes at the training points that is smooth everywhere else Benign Overfitting Statistical validity is the difference more than chance? Validity Strong convexity ΞΌ -strongly convex: a lower bound ΞΌ on the curvatureStrong Convexity Strongly consistent the risk converges to R β almost surely Consistency Surrogate loss a convex loss on a real score used instead of the 0-1 loss (hinge, squared, exponential, logistic) Surrogate Loss Symmetrization compare with a ghost sample, so the supremum runs over finitely many labelings L3
T
Term Meaning See Target construct the concept we want to measure, often not observable Measurement and Construct Tikhonov regularization regularizer Ξ» β₯ w β₯ 2 , as in ridge regression; makes ERM strongly convex and stable Ridge Regression True risk R ( f ) E ( β ( X , Y , f ( X ))) , the expected loss on new dataLoss and Risk
U
Term Meaning See Underfitting classical regime: the class is too small, high approximation error L1.2 Uniform convergence sup f β F β β£ R n β ( f ) β R ( f )β£ β 0 in probability; sufficient and necessary for ERM to be consistentUniform Convergence Uniform stability Ξ s u p β worst-case loss change when one training point is replaced Algorithmic Stability Union bound P ( β i β A i β ) β€ β i β P ( A i β ) ; gives the bound for finite classesMath Universal approximation two-layer networks with a continuous, non-polynomial activation approximate every continuous function on a compact set Universal Approximation Universally consistent consistent for every distribution P ; kNN is (Stone 1977) Consistency
V
Term Meaning See Validity four notions: statistical, internal, external, construct Validity Variance (bias-variance) how much the prediction changes from one training sample to another Bias-Variance Decomposition VC dimension the largest n such that some n points are shattered VC Dimension
W
Term Meaning See Weak learner only slightly better than random guessing: error 2 1 β β Ξ³ L6
X
Term Meaning See XGBoost an efficient implementation of gradient boosting with trees L6