pub fn reliability_bin<'a>(
probabilities: &'a [(String, f64)],
bounds: &[Decimal],
) -> Option<(usize, f64, &'a str)>Expand description
A scored case’s reliability bin: the bin index, the top-label
confidence and the top label. The top label is the first option with
the greatest mass; bins are half-open [b_i, b_{i+1}), the last closed
at 1. None for a case with no option or no bin.