Computational Thinking, Python, Linear Algebra, Linear Regression, Jupyter Notebook.
did sklearn do it? How is sklearn doing this? By checking the source code, you can see that in the dense case, it calls scipy.linalg.lstqr, which is calling a LAPACK method: gelsd: uses SVD and a divide-and-conquer method gelsy: uses QR factorization gelss: uses SVD Scipy Sparse Least Squares We