Computational Thinking, Python, Linear Algebra, Linear Regression, Jupyter Notebook.
timeit import pandas as pd def scipylstq(A, b): return scipy.linalg.lstsq(A,b)[0] row_names = ['Normal Eqns- Naive', 'Normal Eqns- Cholesky', 'QR Factorization', 'SVD', 'Scipy lstsq'] name2func = {'Normal Eqns- Naive': 'ls_naive', 'Normal Eqns- Cholesky': 'ls_chol', 'QR Factorization': 'ls_qr',