Computational Thinking, Linear Algebra, Linear Regression, Python, Jupyter Notebook.
linear_model.LinearRegression() regr.fit(trn, y_trn) regr_metrics(y_test, regr.predict(test)) (51.1766253181518, 41.415992803872754) regr.fit(trn, y_trn2) regr_metrics(y_test, regr.predict(test)) (62.66110319520415, 53.21914420254862) hregr = linear_model.HuberRegressor() hregr.fit(trn, y_trn2)