Regression
Root mean squared error
Implemented
regression.rmseDefinition
Square root of MSE, expressed in target units.
Formula
RMSE = √MSE
Range: [0, ∞)
Inputs and outputs
- y_true: array of real targets
- y_pred: array of real predictions
- sample_weight: optional
Returns: float
Assumptions
No assumptions beyond valid, aligned inputs of the documented types.
Limitations
- Sensitive to outliers.
Python API
import evalsuite as es
es.rmse(y_true_r, y_pred_r)References
- Willmott, C. J., & Matsuura, K. (2005). Advantages of the mean absolute error (MAE) over the root mean square error (RMSE) in assessing average model performance. Climate Research, 30(1), 79–82.