Greg Borenstein's NoMM Page

Despite having found this awesome video from the 70s, I struggled mightily with trying to figure out how to actually use the numpy svd caluclation to fit the line as requested.

Calculating an svd with numpy is straightforward enough, but I am continutously doing something wrong leading to matrix alignment issues when I attempt to use the resulting matrices to calculate the coefficients of the linear fit.

svd.py