Root mean squared logarithmic error regression loss.
Read more in the User Guide.
Added in version 1.4.
Ground truth (correct) target values.
Estimated target values.
Sample weights.
Defines aggregating of multiple output values. Array-like value defines weights used to average errors.
Returns a full set of errors when the input is of multioutput format.
Errors of all outputs are averaged with uniform weight.
A non-negative floating point value (the best value is 0.0), or an array of floating point values, one for each individual target.
>>> from sklearn.metrics import root_mean_squared_log_error >>> y_true = [3, 5, 2.5, 7] >>> y_pred = [2.5, 5, 4, 8] >>> root_mean_squared_log_error(y_true, y_pred) 0.199...
© 2007–2025 The scikit-learn developers
Licensed under the 3-clause BSD License.
https://scikit-learn.org/1.6/modules/generated/sklearn.metrics.root_mean_squared_log_error.html