the.ai

Foundations / Supervised

verified

Linear Regression

Fit a straight line through points, choosing the one whose distances to them are smallest overall. It is the simplest thing that counts as learning, and nearly everything since is a variation on the same three parts: a parameterised function, a loss saying how wrong it is, and a procedure for making that smaller.

Viz primitive · budget-splitfeatures = 20

features holds 20% of the budget; rest holds the remaining 80%.

Features against training examples, both as counts. Drag the feature count past the example count to reach the regime where the closed form stops having one answer.

20

Reviewed by opendroid · 2026-08-13

  • arXiv:1903.08560 — Surprises in High-Dimensional Ridgeless Least Squares Interpolation