Classical machine learning studies how models generalize from data without relying on large neural networks. The useful mental model is: choose a hypothesis class, define a loss, estimate parameters from training data, and evaluate whether the learned pattern generalizes.
Core sequence:
- Inductive Bias - the assumptions that make learning possible.
- Curse of Dimensionality - why high-dimensional spaces make naive learning and search difficult.
- Loss Functions - objectives that convert prediction errors into quantities to minimize.
- Evaluation Metrics - task-level measurements of model behavior.
- Cross-Validation - estimates out-of-sample performance by rotating train/validation splits.
- Bias-Variance Tradeoff - decomposes error into underfitting, sensitivity to data, and irreducible noise.
- Regularization - constrains models to improve generalization.
- Linear Regression - predicts continuous targets with a linear function.
- Logistic Regression - models class probabilities with a linear score and sigmoid or softmax link.
- K-Nearest Neighbors - predicts from nearby examples under a distance metric.
- Random Forest - ensembles decision trees to reduce variance.
- Approximate Nearest Neighbor Search - finds near matches efficiently in large vector collections.
How the pieces fit:
- Inductive bias restricts what the model can learn.
- Losses define the training objective; metrics define the external judgment.
- Cross-validation estimates whether the model generalizes.
- Bias-variance and regularization explain underfitting, overfitting, and capacity control.
- Linear and logistic regression are parametric baselines.
- KNN, random forests, and approximate nearest neighbor search use local or ensemble structure rather than a single global linear function.
Core equations to keep active:
- Empirical risk:
- Regularized risk:
- Bias-variance pattern:
- Linear regression:
- Normal equations:
- Logistic regression:
- KNN prediction:
- Random forest prediction: for regression.
See also: Probability, Statistics Fundamentals, Linear Algebra