metrics_helpers#

Helper functions shared between probabilistic and deterministic metrics.

Functions#

equals_zero(number)

Check if a floating-point number is effectively zero, considering floating-point precision.

represented_interval_weights(quantiles)

Calculate the probability interval each quantile represents on [0, 1].