All courses › Machine Learning and Data Analysis › Mean squared error
Mean squared error
To know whether a regression model is good, we must measure how much it misses. The mean squared error is the average of the squared deviations between the true values and the model. Squaring makes large errors count extra heavily.
mean squared error
same unit as y
Symbols
| true value | ||
| model prediction | ||
| number of points |
Example
True values 3, 5, 7 and model 4, 5, 5:
.
RMSE is easier to interpret, because it has the same unit as what you predict.
Practise data and core concepts for free →
← Normalization · Linear model →
Part of Machine Learning and Data Analysis: Data and core concepts.