nrmse#
- pymc_marketing.metrics.nrmse(y_true, y_pred)[source]#
Calculate the Normalized Root Mean Square Error (NRMSE).
Normalization allows for comparison across different data sets and methodologies. NRMSE is one of the key metrics used in Robyn MMMs.
- Parameters:
- y_true
np.ndarray
True values for target metric
- y_pred
np.ndarray
Predicted values for target metric
- y_true
- Returns:
float
Normalized root mean square error.