boa.metrics.metric_funcs.normalized_root_mean_squared_error#
- boa.metrics.metric_funcs.normalized_root_mean_squared_error(y_true, y_pred, normalizer='iqr', **kwargs)[source]#
Normalized root mean squared error
- Parameters
y_true (array-like of shape (n_samples,) or (n_samples, n_outputs)) – Ground truth (correct) target values.
y_pred (array-like of shape (n_samples,) or (n_samples, n_outputs)) – Estimated target values.
normalizer (str) – How to normalize the RMSE, options include iqr, std, mean, and range. (default iqr)
**kwargs – see sklearn.metrics.mean_squared_error for additional options
- Returns
nrmse – A normalized version of RMSE
- Return type
float or ndarray of floats