The Living Thing / Notebooks :

(Weighted) least squares fits

The classic, surprisingly deep.

A few non-comprehensive notes here.

As used in, e.g. lasso regression.

Refs