Read this lesson as text
Linear Regression Connection
Linear Algebra for Machine Learning · Axiom Academy
Fitting a line y = mx + b to data using least squares Given 4 data points, find the line y = mx + b that best fits them: For each point (xᵢ, yᵢ), we have the equation: yᵢ = mxᵢ + b Using Gaussian elimination on the 2×2 system:
This is the written version of the interactive lesson above. See the full Linear Algebra for Machine Learning course.