🔬  Root Mean Squared Error (RMSE)

Root Mean Squared Error (RMSE)#

The square root of mean squared error, in the target’s units.

Important

✨ AI-generated content. This page was written with the assistance of an AI language model and is provided as a learning aid. Despite careful review, it may still contain mistakes, omissions, or out-of-date information. Whether you are new to the topic, a team lead, or a senior practitioner, treat it as a starting point rather than an authoritative reference: read it critically and independently verify anything you act on (code, commands, figures, and factual claims) against official documentation and primary sources before relying on it.

What it is#

Root mean squared error is the square root of the MSE:

\[\text{RMSE} = \sqrt{\frac{1}{n}\sum_{i=1}^{n}\big(y_i - \hat{y}_i\big)^2}.\]

The root returns the error to the target’s original units, so it reads as a typical error magnitude.

How it behaves#

RMSE keeps MSE’s heavy penalty on large errors and its outlier sensitivity, but is far more interpretable — an RMSE of 5 means predictions are off by about 5 units on average. It ranks models identically to MSE, is always ≥ the MAE, and the RMSE–MAE gap widens as the error variance grows.

When to use it#

Report RMSE for regression when large errors are costly and you want a number in the data’s units; pair it with for a scale-free complement. Like R², it also falls as you add variables, so watch overfitting.


Theme: Model Evaluation & Uncertainty  ·  All terminology



See also

Source article Adapted (context, re-expressed) in our own words from: Root Mean Squared Error (RMSE) (insightful-data-lab.com).

Tags: purpose: reference topic: terminology level: intermediate