Brier Decomposition: Good calibration or ability to make no distinction

Check Brier breakdowns in constant box examples, distinguishing reliability from resolution.

• Step by stepCollate in 2 self-measured2 First-hand sources
Start Body
Learning objectives and first steps2 objectives . 1 first fix

Try to do it after reading

  • Check Brier in the constant box example
  • Distinguishing reliability from resolution

Suggested first

  • Classification and probabilities projections

Probability quality is more than one

The Brier score is the average of the square error between the predicted probability and the binary label. It can be broken down into overall event uncertainty, resolution of different predictive groups, and deviation between predictions and actual frequency of groups. This breakdown explains why a model that always reports overall incident rates can be very calibrated but is still not good at distinguishing users.

The exact calculations of the two groups

Four composite labels are [0,0,1,1] and are projected to be [0.2, 0.2, 0.8, 0.8]. The actual rate of incidents was 0 and 1, respectively, and the overall rate of events was 0.5, according to the same projection. Brier is the average of 0.04 squares per error and is therefore 0.04. The overall uncertainty is 0.5 x 0.5 = 0.25. The resolution is a square weighted average of 0.25 for the actual deviation from the overall rate between the two groups. The reliability error is a square weighted average of 0.04 for the forecast group mean value and the actual rate. The combined combination obtained 0.25-0.25+0.04 = 0.04, consistent with direct calculations.

A completely flat contrast

If all samples were to be reported as 0.5, only one projection group would be formed, with a real rate of 0.5, so the reliability error would be zero. But it did not separate the high- and low-event population with a zero resolution, and Brier remained 0.25. So calibration of perfectness does not mean that probabilities are already useful; It will also depend on whether the model provides for variations in conditions.

Details of the splits

The above-mentioned examples of splits within the equation that predict the same in the group can be accurately checked. The actual successive predictions, after a crude box, affect the summary by group changes, box selection and limited sample errors, and should not treat a single compartment as the only true breakdown that remains unchanged. The original Brier, volume of boxes, number of samples and partition rules should be reported simultaneously.

Target population and uses

The baseline of uncertainty also changes when the overall incident rate changes, so that the Brier of different population groups cannot be directly compared with the benchmark. The model may have achieved higher errors among the population in difficulty, but it is still much better than the constant baseline for that population; Evaluations should clearly refer to objectives and weights. For credit and advertising, the grouping can be conducted by date, product or forecast, but the intra-group calibration does not equal counterfactual with accurate movements. A model that offsets one another by a high underestimation may also be good overall. Decomposition is used for diagnostic purposes, whether it lacks distinguishing information or the probabilities scale shifts, and is more reliable than pursuing a map close to the diagonal line alone.

BS=UNC−RES+REL

Self-measurement and provocator

The constant forecast is 0.5. Why is the calibration error zero in this case, but Brier is 0.25?

It matches the overall frequency but has no resolution and still bears the overall uncertainty.

Can Brier of two different overall event rate data sets rank directly as models?

Care should be taken. The underlying uncertainties and the difficulty of the population differ, requiring the harmonization of objectives or comparison of corresponding baselines and decomposition.

Sources and reconciliations

Definitions, methods and interfaces are available.

  1. scikit-learn — Metrics and scoring
  2. scikit-learn — Probability calibration

Figures and calculations are reorganized according to this chapter. Mathematical measurements, framework operations and real business effects are described separately in the body of the text.

← Back to the knowledge directory
Ask Max Ask about this site
Ask Max ↗

Opening the assistant…

Paper figure

Photo comments

LEAVE A NOTE

About this photograph

Connecting to the discussion board…

    Comments become public after moderation. You can delete your own comments from this browser.
    No email is required. Clearing cookies prevents this browser from claiming earlier comments.

    MAX WANG / INDEX

    Find something

    Enter a keyword, or explore the directory below.