Return [MAE, RMSE, R2] for the linear model on the test set, rounded to 4 places

Machine Learning · from Regression metrics

mean_absolute_errorRMSEr2_scoremedian_absolute_errorresidual plotsMAPE

Putting the kettle on…

Starting up…

Exercise 1

Return [MAE, RMSE, R2] for the linear model on the test set, rounded to 4 places. Note there is no root_mean_squared_error shortcut in the version here — take the square root yourself.

your answer
stuck? the lesson behind it
Regression metrics
MAE, RMSE, R² — and the residual plot that no number replaces