Regression metrics: MAE, MSE, RMSE, R²
standardintermediateMAE (mean absolute error) is the average size of a prediction's error, ignoring direction. MSE (mean squared error) squares each error before averaging, punishing large errors more. RMSE is the square root of MSE, back in the original units. R-squared says what fraction of the target's variation the model explains, from 0 to 1.
Think of it as
MAE and MSE answer the same question — how wrong are the predictions — with a different weighting of large versus small errors. MAE treats every unit of error equally: an error of 10 counts exactly ten times an error of 1. MSE squares the error first, so an error of 10 counts a hundred times an error of 1 — this makes MSE far more sensitive to a few large mistakes, which is exactly the point when large errors are disproportionately costly (predicting delivery time badly by 5 minutes is fine, badly by 5 hours is not), and exactly the problem when a few genuine outliers are dominating the metric and hiding how the model does on typical cases. RMSE takes MSE back into the original units (square-rooting undoes the squaring), which makes it more interpretable than MSE while keeping the same sensitivity to large errors. R-squared is different in kind — it compares the model to a naive baseline that always predicts the mean, so an R² of 0.8 means the model explains 80% of the variation the mean alone could not.
Four regression metrics, compared
Remember: MAE weighs every error unit equally; MSE/RMSE punish large errors much more. RMSE is MSE back in interpretable units. R² compares to a mean-only baseline. Pick MSE/RMSE when large errors cost more; pick MAE when they do not.
See also: classification metrics




