Skip to content

Buyer's Guide

Normalized Class Scores Still Need Outcome Calibration Evidence

Normalized class probabilities need evidence connecting their magnitudes to reference outcomes in a stated population. For each declared score bin, compare the mean positive-class probability with the fraction of reference positives. CAL63 supplies two valid binary reports with the same 20 labels, decisions, ranking and 80% accuracy: A matches the observed frequencies at its two score levels; B does not. Matching row sums or the overall positive rate cannot establish that agreement within score groups.

Technical contentPublished Updated

01

Connect a class probability to the event it predicts

A class-probability handoff contains more information than a winning class. Let p denote the supplied probability of positive class 1, with the mutually exclusive classes ordered 0, 1. Its row is (1 − p, p). Normalization establishes a valid allocation of unit mass across those classes. Outcome calibration concerns how that allocation agrees with reference outcomes across cases receiving the relevant scores.

The historical scikit-learn 1.7.2 calibration guide connects probability magnitudes with positive-outcome frequencies among similarly scored cases. Throughout this article, p concerns class 1 even when class 0 receives the larger probability. It is not a generic probability that whichever class was selected is correct.

For an individual case, the reference label y is either 0 or 1. A positive outcome on a case assigned p = 0.2 does not, by itself, contradict a probability forecast. The empirical comparison needs a population of score-and-outcome pairs. That population makes it possible to ask what fraction actually belong to class 1.

A row-sum check needs no reference labels at all. Consequently, it cannot establish agreement with outcomes. The related class-axis softmax guide explains which entries share a normalization denominator; the decision here begins after valid per-row distributions have already been supplied.

References: [CAL1]

02

CAL63: retain all 20 rows and both probability reports

CAL63 is a fictional, unweighted binary population. Reports A and B use exactly the same row IDs and reference labels. The table supplies every row once. L1 and L2 are the only positives among L1–L10; H1–H8 are the positives among H1–H10. There are 10 reference positives and 10 reference negatives overall.

A assigns p = 1/5 to every L row and p = 4/5 to every H row. B assigns p = 2/5 to every L row and p = 3/5 to every H row. Their complete class vectors are therefore A: (4/5, 1/5) for L and (1/5, 4/5) for H; B: (3/5, 2/5) for L and (2/5, 3/5) for H. All entries lie between zero and one, and every vector sums to one.

These are stipulated reports, not results of a classifier run, calibration fit or recalibration experiment. The fractions and labels define the arithmetic example.

CAL63 — complete fictional reference population and supplied positive-class probabilities
Row IDReference label yReport A: p(class 1)Report B: p(class 1)Source
L111/52/5Planning analysis
L211/52/5Planning analysis
L301/52/5Planning analysis
L401/52/5Planning analysis
L501/52/5Planning analysis
L601/52/5Planning analysis
L701/52/5Planning analysis
L801/52/5Planning analysis
L901/52/5Planning analysis
L1001/52/5Planning analysis
H114/53/5Planning analysis
H214/53/5Planning analysis
H314/53/5Planning analysis
H414/53/5Planning analysis
H514/53/5Planning analysis
H614/53/5Planning analysis
H714/53/5Planning analysis
H814/53/5Planning analysis
H904/53/5Planning analysis
H1004/53/5Planning analysis

The same reference label applies to both reports. In class order (0, 1), each complete row vector is (1 − p, p).

03

Hold decisions, accuracy and ordering fixed

Stipulate a positive decision when p ≥ 1/2 solely for this comparison. It is not a recommended threshold. All L rows receive negative decisions in both reports, because 1/5 and 2/5 are below 1/2. All H rows receive positive decisions, because 4/5 and 3/5 are above it.

Among the L rows, L1 and L2 are false negatives and the other eight are true negatives. Among the H rows, H1–H8 are true positives and H9–H10 are false positives. Both reports therefore have TP = 8, FP = 2, TN = 8 and FN = 2. Their accuracy is (8 + 8)/20 = 16/20 = 80%. Every individual decision is unchanged.

Their ordering also agrees: every L score is below every H score, with ties within each group. At every supplied row, pB = pA/3 + 1/3. The positive slope explains why these particular arrays preserve all ordering and ties despite different magnitudes.

The emitted positive group contains eight reference positives among 10 rows in both reports. Its precision is therefore 8/10 in both, although A assigns that group p = 0.8 and B assigns p = 0.6. The related alert-precision guide explains the positive-decision denominator and the role of prevalence. Here the reference population, prevalence and positive decisions all remain fixed.

04

Compare forecast magnitudes with outcomes inside each bin

Declare two score bins: [0, 0.5) and [0.5, 1]. No supplied score lies on their shared boundary. In either report, the lower bin contains the 10 L rows and the upper bin contains the 10 H rows. All 20 rows are accounted for.

For a nonempty bin containing n rows, its mean positive probability is the sum of its p values divided by n. Its reference-positive fraction is the sum of its binary y labels divided by n. A reliability point uses those quantities in the order (mean probability, positive fraction). This is the bin-level comparison described by the scikit-learn 1.7.2 calibration_curve reference.

For A's lower bin, the probability total is 10 × 1/5 = 2, so the mean is 2/10 = 0.2. There are two reference positives, also giving 2/10 = 0.2. The point is (0.2, 0.2). In its upper bin, the probability total is 10 × 4/5 = 8, and eight labels are positive. Both averages are 8/10 = 0.8, giving (0.8, 0.8).

For B's lower bin, the probability total is 10 × 2/5 = 4, so its mean is 0.4. The same two positive labels still give 0.2. The point is (0.4, 0.2). Its upper-bin probability total is 10 × 3/5 = 6, giving a mean of 0.6 against the unchanged positive fraction of 0.8. That point is (0.6, 0.8).

A therefore agrees exactly with the empirical positive frequencies at the two supplied score levels in this population. B overstates the lower group's positive frequency by 0.2, or 20 percentage points, and understates the upper group's frequency by the same amount. Those differences concern probability magnitudes. The previously counted classification errors remain unchanged.

References: [CURVE1]

05

See why agreement in the overall average is insufficient

Pool all 20 rows into a single bin. A's overall mean probability is (10 × 0.2 + 10 × 0.8)/20 = 10/20 = 0.5. B's is (10 × 0.4 + 10 × 0.6)/20 = 10/20 = 0.5. The reference-positive fraction is also 10/20 = 0.5. Both reports now produce the same single point, (0.5, 0.5).

The aggregate establishes that each report's total positive-probability mass equals the positive count. It leaves the allocation of that mass unresolved. B assigns four units of probability mass to a group containing two positives and six units to a group containing eight positives. Its excess of two in the lower group cancels its shortfall of two in the upper group.

This cancellation explains why a global mean match cannot stand in for reliability within score groups. In CAL63, each of the original bins contains only one score level, so there is no additional score variation hidden inside either bin. Merging the bins removes the distinction that exposed B's disagreement.

A binning basis therefore belongs with the result. The historical API distinguishes equal-width bins from quantile bins whose membership depends on the scores. It also notes that more bins require more data and that empty bins are omitted from the returned arrays. A plot needs its boundaries and counts to show which score populations it actually describes; CAL63's two-bin choice is an illustrative premise.

References: [CURVE1]

06

Decide what a probability report actually establishes

Suppose a fictional supplier submits only normalized rows, identical class decisions and 80% accuracy as support for interpreting its probabilities. Both CAL63 reports meet those descriptions. The descriptions cannot distinguish A's agreement from B's disagreement. The missing evidence is the connection between the supplied magnitudes and reference outcomes within the relevant score populations.

A usable return identifies the positive event and reference-label basis, the evaluated system revision, which cases were eligible, and the period or conditions represented. It connects each probability to the corresponding reference outcome. For each reported bin, retain its boundaries or membership rule, row count, mean positive probability and reference-positive count. These elements let the reader reconstruct the displayed fraction and account for excluded or unrepresented cases.

The comparison then has a clear interpretation. Scores without reference outcomes establish no observed frequency. Decisions without the original probabilities cannot reveal the discarded magnitudes. Curves from different populations or different bin memberships need those differences explained before their points are treated as like-for-like evidence.

For A, the supported finding is exact empirical agreement at two score levels in the stipulated 20-row set. It does not certify general model calibration, future event probabilities or future accuracy. A real evaluation also needs applicable population selection, credible reference labels and an account of uncertainty. The 10 rows per bin here are an arithmetic construction, not a sample-size requirement or a confidence bound.

The scikit-learn 1.7.2 guide also cautions that aggregate Brier and log losses reflect reliability, resolution and data uncertainty together. A lower total alone does not generally prove better calibration. Such a score can contribute evidence, but its overall improvement cannot automatically replace the probability-to-outcome comparison relevant to the claim.

References: [CAL1] [CURVE1]

07

Connect a separately identified installation to physical services

If the chosen application independently requires an equipment installation, Leviathan's rack-and-stack service provides a route to discuss agreed equipment mounting, physical IT cabling, labels and installation records. Use the related service and project inquiry with a nonconfidential equipment list, site and released rack/cable package to discuss physical scope and availability. Probability evaluation and application acceptance remain with the appointed application team.

References: [L1]

08Sources

Primary sources

  1. [CAL1]
    scikit-learn 1.7.2 — Probability calibrationChecked 2026-10-21. Historical explanation of probability calibration and the distinction between calibration evidence and aggregate proper scores. CAL63 is an independently specified fictional population.
  2. [CURVE1]
    scikit-learn 1.7.2 — calibration_curveChecked 2026-10-21. Defines positive-class inputs and the two per-bin averages, with binning and empty-bin behavior. CAL63 uses declared bins and exact arithmetic without executing this API.
  3. [L1]
    Leviathan Systems — Rack-and-Stack & Colocation InstallationChecked 2026-10-21. Public service scope for agreed mounting, physical IT cabling, labels and installation records, applicable to a separately identified equipment installation.

Contact

Does selected equipment need physical installation?

Share a nonconfidential equipment list, site and released rack/cable package to discuss the physical installation scope and availability.