Computational Thinking, Python, Linear Algebra, Linear Regression, Jupyter Notebook.
ls_qr(A, b)[14] 1.4137685733217609e-07 Bad condition number: kappa = np.linalg.cond(A); kappa 5.827807196683593e+17 row_names = ['Normal Eqns- Naive', 'QR Factorization', 'SVD', 'Scipy lstsq'] name2func = {'Normal Eqns- Naive': 'ls_naive', 'QR Factorization': 'ls_qr', 'SVD': 'ls_svd', 'Scipy