AI & ML
Linear Models: Regression
Part of Foundations, level 0. About 7 hours of study across the topics below.
1Simple Regression
- Linear Regression I: Prediction and ResidualsThe first model: a line that predicts, residuals that complain, errors that add up. 1–2 h
- Loss and Fitting: Squared ErrorResiduals become costs: squared error, SSE/MSE, and fitting as minimization. 1–2 h
- Linear Regression II: Least Squares FittingThe fit, computed: least-squares intuition, the normal-equations idea, and by-hand vs closed-form. 1–2 h
2Multiple Regression
- Multiple RegressionMany features, one prediction: planes, coefficient reading, and projection intuition. 1–2 h
- Polynomial Features and Nonlinearity via FeaturesCurves from lines: expanding features so a linear fitter can bend. 1–2 h
- Linear Regression as a Probabilistic ModelGaussian noise turns least squares into maximum likelihood: the bridge between fitting and probability. 1–2 h
- Generalized Linear ModelsOne template, many targets: a linear predictor, a link function, and an exponential-family likelihood. 1–2 h
