MSE And Root Mean Squared Error (RMSE)
Last updated
Was this helpful?
Last updated
Was this helpful?
Root Mean Squared Error (RMSE) is used to measure the difference between values predicted by a model and the values actually observed. By default, the smaller the calculated error, the better the model. In order to test the quality of the model, the test data is used.
Mean Squared Error (MSE) is the sum of squared differences between the actual and predicted values. It is quite easy to compute it in Java:
Typically, the value of MSE is hard to interpret, which is why we often take a square root of MSE; this is called Root Mean Squared Error (RMSE). It is easier to interpret because it is in the same units as the target variable.