Find best fit

Do Gaussian elimination of to go to RREF if not invertible

Since these are high-rank matrices, inverting them is very very hard - so it’s useful to have techniques to efficiently compute these things “pseudo-inverse” problems - low-rank approximation of inverse - SVD turns out to be very good at solving these problems, by taking the top few singular values

  • If you just invert that part, you get a pseudo-inverse which is a good enough approximation