Silver Reyes
On view: 11, 8 live
R-03 Ensemble All exhibits
Opened 2026-03-28 Retired

MLBWinForecaster

Pre-game win probabilities from a three-model ensemble, logistic regression, random forest and XGBoost, trained on Statcast-era games and isotonically calibrated. Its random forest (SP_ENHANCED) was benchmarked against Kalshi prediction-market prices on a 2025 out-of-sample set of 2,128 games: Brier 0.2371 to Kalshi’s 0.2434.

predicted observed ideal
Figure: isotonic calibration pulls the ensemble's probabilities onto the dashed line. Points illustrative.
Status Public app retired June 2026, HTTP 410. Code and data preserved.
RoleDesign, architecture, testing and operation; built with AI coding agents.
StackReact 19, TypeScript, Python, FastAPI, scikit-learn, XGBoost, PostgreSQL, Docker
Sourcegithub.com/silverreyes/MLB-Winforecaster
BenchmarkRandom forest (SP_ENHANCED) Brier 0.2371 vs Kalshi 0.2434 on the 2025 out-of-sample set of 2,128 games

The decision

Problem, decision, measured result

Problem

A probability for every game, honest enough to compare with a market.

A win-loss pick says nothing about confidence. Prediction markets quote probabilities, so the model must too, and the two must be scored the same way.

Decision

Three models, isotonically calibrated, scored with the Brier score.

Logistic regression, a random forest and XGBoost each produce a probability; isotonic regression per fold pulls each onto the diagonal in a walk-forward backtest over five folds, 2015 to 2024 excluding 2020; the Brier score makes the comparison with Kalshi prices apples to apples, run for the RF SP_ENHANCED model on the 2025 out-of-sample set of 2,128 games.

Result

On the 2025 out-of-sample set, the random forest scored a Brier of 0.2371 against Kalshi’s 0.2434.

That is the RF SP_ENHANCED model on 2,128 out-of-sample games from 2025, a margin of 0.0063 in Brier score on that set only; the Kalshi comparison holds for the RF SP_ENHANCED model only. The public app was retired in June 2026; the data and source code are preserved.

Evidence

Each number with its source
  • Brier score, random forest 0.2371 Source: MILESTONES.md:42, PROJECT.md:46; SP_ENHANCED feature set, 2,128 games from 2025, out of sample.
  • Brier score, Kalshi market 0.2434 Source: MILESTONES.md:42, PROJECT.md:46; the same 2,128 games.
  • Margin 0.0063 lower Brier than the Kalshi prices on the 2025 out-of-sample set; RF SP_ENHANCED only Source: derived from the two Brier scores above.
  • Calibration Isotonic per fold; walk-forward backtest, 5 folds, 2015 to 2024 excluding 2020 Source: project record.
  • Models Logistic regression, random forest, XGBoost Source: project record.
  • Opened 2026-03-28; v1.0 on 2026-03-29; last change 2026-04-04 Source: project record.
  • Retired June 2026 Source: project record; exact day unrecorded.

Stack and links

Everything that runs it, as stickers
React 19TypeScriptPythonFastAPIscikit-learnXGBoostPostgreSQLDocker
R-04

Article Pipeline

Live