Linear regression, from a straight line to real math
Building the simplest predictive model there is, and deriving exactly how it learns using the mean squared error and gradient descent.
11 min readUpdated 2026-09-03machine-learningsupervised-learningregressionlinear-regression