Linear regression

Applies to: python, general

Linear regression fits a line or linear model to predict a numeric target from features.

y_hat = w * x + b

See also: mean-squared-error, gradient