scikit-learn/scikit-learn — pull request #720 by ibayer (2012-03-22 22:57:36+00:00)
Title: #685 combat for sp_linalg.lsqr

Is this going in the right direction?
I'm not sure what the best name for the function is.
There is one additional problem:
`scipy.sparse.linalg.lsqr` soves Ax = b or min ||b - Ax||^2 or min ||Ax - b||^2 + d^2 ||x||^2.
while `scipy.sparse.linalg.spsolve` solves only Ax=b
I don't see how we could support the none square case for scipy 0.7

Right now the test would fall for scipy 0.7 with:
`ValueError: matrix must be square (has shape (100, 10))`