Calibration Bins, Exactly

Group predicted probabilities into score buckets, compute observed outcome fractions, and read reliability tables with live tensor checks.

Calibration Bins, Step by Step

Partition forecasts into buckets, compare predicted means against observed frequencies, and test what calibration leaves unsaid.

  1. Score Buckets Hold Rows

    group forecasts by predicted probability before checking outcomes

  2. High Bucket Observed Fraction

    compare mean predicted probability with conditional positive rate above cut

  3. Low Bucket Observed Fraction

    a 0.24 low bucket wants roughly one positive in five, not zero positives

  4. Reliability Table Compares Fractions

    plot actual bin forecast means, never geometric bin centers

  5. Contrast Bucket Shows a Mismatch

    zero overall forecast bias can hide large opposite bucket errors

  6. What Calibration Bins Do and Do Not Say

    a constant base-rate forecast is calibrated yet separates zero rows