metrics_helpers#
Helper functions shared between probabilistic and deterministic metrics.
Functions#
|
Check if a floating-point number is effectively zero, considering floating-point precision. |
|
Normalize an error by the range of the true values or by a given norm value. |
|
Calculate the probability interval each quantile represents on [0, 1]. |
|
Calculate the skill of a score relative to a reference score. |
|
Calculate the weighted mean of per-sample errors. |
Classes#
|
Weights samples by their magnitude relative to a scale, clipped to |