Computational Thinking, Python, Linear Algebra, Linear Regression, Jupyter Notebook.
regr_metrics(y_test, test_int @ coeffs_chol) (57.9410213454571, 48.053565198516438) QR Factorization def ls_qr(A,b): Q, R = scipy.linalg.qr(A, mode='economic') return scipy.linalg.solve_triangular(R, Q.T @ b) %timeit coeffs_qr = ls_qr(trn_int, y_trn) 205 µs ± 264 ns per loop (mean ± std. dev. of 7