Invalid DateTime · 3 min read
linear least squares residual projection
This note is adopted from a lecture I developed for EN.530.484 at JHU
Consider the (convex) problem:
where , . Interestingly, this problem is directly solvable through a geometric insight, and without any of the usual first-order necessary optimality conditions.
Consider the residual vector
We simply need to find such that the residual lies completely orthogonal to the image of , since this is the best we can hope to do in terms of minimizing the error.
So we set .
which is the standard left psuedo-inverse, but without any calculus! Kind of cool.