Check a Brier Score With a Small Event Example
If you forecast binary events, you need one number that rewards honest probabilities and punishes overconfidence. The Brier score is that number. This post works a small, explicitly hypothetical set of forecasts by hand so you can see exactly where the score comes from, name the aggregation convention you are using, and compare against a dumb baseline. We keep forecast quality separate from prices, fees, and execution returns. A probability that scores well is not the same thing as a trade that made money, and conflating the two is how researchers fool themselves.
This builds on the idea of implied probability covered in /blog/what-is-implied-probability. Here we assume you already have a forecast probability in hand, from any source, and we only ask how good it was after outcomes resolved.
The formula, stated precisely
For a set of binary forecasts, scikit-learn describes the Brier score as the mean squared difference between the predicted probability and the actual outcome.
The binary form is BS = (1/N) times the sum of (f_i minus o_i) squared, where f_i is your forecast probability for case i and o_i is the outcome coded 1 if the event happened and 0 if it did not.
Two facts anchor interpretation. First, the smaller the Brier score, the better, which is why scikit-learn names it a loss. Second, in the standard binary convention the score is bounded between 0 and 1, because that is the largest possible gap between a probability in [0,1] and an outcome of 0 or 1. A model that always predicts 0.5 scores exactly 0.25.
A worked hand-check (hypothetical)
Take five invented binary events. These numbers are illustrative only, not real markets and not a forecast of anything. Forecast probabilities f and resolved outcomes o:
- Event A: f = 0.90, outcome o = 1 (happened). Error 0.90 - 1 = -0.10, squared = 0.01
- Event B: f = 0.70, outcome o = 1 (happened). Error -0.30, squared = 0.09
- Event C: f = 0.40, outcome o = 0 (did not happen). Error 0.40, squared = 0.16
- Event D: f = 0.80, outcome o = 0 (did not happen). Error 0.80, squared = 0.64
- Event E: f = 0.30, outcome o = 0 (did not happen). Error 0.30, squared = 0.09
Sum the squared errors: 0.01 + 0.09 + 0.16 + 0.64 + 0.09 = 0.99. Divide by N = 5. The Brier score is 0.198. Event D, a confident 0.80 on something that did not happen, dominates the loss. That is the point of a squared-error rule: confident misses hurt far more than modest ones.
Name your convention before you compare
The single most common Brier mistake is comparing scores computed under different scaling conventions. The binary case we used is the customary [0,1] scale. For multiclass problems the original definition sums squared error over every class and ranges from 0 to 2, and scikit-learn only rescales by one half for the binary case by default.
In scikit-learn 1.7 and later, a scale_by_half parameter controls this. The default auto option rescales to [0, 1] for binary classification but keeps the [0, 2] range for multiclass. This parameter was added in version 1.7. So before you compare two numbers, confirm both were produced under the same convention. Scores from different tools are comparable only with the same scaling.
One more gotcha: pass probabilities, not hard class labels. If you feed in thresholded 0/1 predictions, scikit-learn will dutifully compute a number, but it is no longer scoring your probabilities.
Compare against a baseline, always
A Brier score alone means little. The guidance is blunt: there is no universal cutoff, and a lower score on a rare event can still be no better than ignoring your predictors. You need a reference line.
The simplest baseline is the base rate: predict the observed event frequency for every case. In our five hypothetical events, two of five resolved true, so the base rate is 0.4. Score that constant forecast against the same outcomes. Two cases contribute (0.4 - 1)^2 = 0.36, and three contribute (0.4 - 0)^2 = 0.16. Sum: 0.36 + 0.36 + 0.16 + 0.16 + 0.16 = 1.20. Divide by 5: baseline Brier = 0.24.
Our forecasts scored 0.198 against a baseline of 0.24, so on this tiny invented set they beat the base rate. The Brier Skill Score formalizes that comparison as 1 - BS/BS_ref, where 0 means no better than the reference, 1 is perfect, and negative values are worse than the reference. Here that is 1 - 0.198/0.24, about 0.175. Five events is far too few to conclude anything real; this arithmetic only shows the mechanics.
Keep score separate from fills
The Brier score grades the probability, full stop. It says nothing about whether a market let you trade at a good price, what fees applied, or whether an order filled. A well-calibrated forecaster can still lose money paying the spread, and a badly calibrated one can get lucky. The scoring rule is one axis; price, fees, and execution are separate axes you must measure on their own.
That separation is why it helps to evaluate forecasts offline first, then study execution under an explicit data, fill, and fee model. Banger is a paper-only research beta for exactly this kind of bounded experiment: public live deployment is blocked, and a paper result is evidence under a particular model, not proof of real venue execution. Score your probabilities with the hand method above before you let any of them touch a simulated order book.
Checklist before trusting a Brier number
- Confirm the scaling convention (binary [0,1] vs multiclass [0,2]) and that both compared scores use it.
- Feed probabilities, not thresholded labels.
- Report a baseline (base rate or a named reference) alongside the raw score.
- Use enough resolved events that the number is not noise; five is a demo, not evidence.
- Treat forecast quality and trade returns as separate measurements.
For the authoritative definition, parameters, and the scale_by_half behavior, start at the scikit-learn calibration guide and the brier_score_loss reference, and reverify version-specific arguments against the current docs when you run it. If you want to explore bounded paper research after scoring your forecasts, you can look at /sign-up. No fills, returns, or outcomes are promised.
Sources
- brier_score_loss — scikit-learn 1.9.1 documentation
- 1.16. Probability calibration — scikit-learn 1.9.1 documentation
- 3.4. Metrics and scoring — scikit-learn 1.9.1 documentation
- Version 1.7 changelog — scikit-learn documentation
- Brier Score: Scoring Probability Forecasts — Ultralytics
- Brier Score: Formula, Interpretation & Python Example
- Banger - Polymarket & Kalshi Paper Strategies