solarforecastarbiter.metrics.deterministic.normalized_root_mean_square¶
-
solarforecastarbiter.metrics.deterministic.
normalized_root_mean_square
(y_true, y_pred, y_norm)[source]¶ Normalized root mean square error (NRMSE).
Parameters: - y_true (array-like) – True values.
- y_pred (array-like) – Predicted values.
- y_norm (float) – Normalized factor, in the same units as y_true and y_pred.
Returns: nrmse (float) – The NRMSE [%] between the true and predicted values.