nhl-win-probability / README.md
36Dunes's picture
Update model card
0d17e98 verified
|
Raw History Blame Contribute Delete
1.16 kB
---
license: mit
library_name: scikit-learn
tags: [tabular-classification, sports, nhl, hockey]
datasets: [jjerlee/nhl-analytics]
---
# NHL win probability (logit-v1)
Regularised logistic regression that returns the probability the home team wins an
NHL game (overtime and shootout included). Retrained every morning; this file was
fitted on 17,460 games through 2026-11-25.
- Live predictions and track record: https://nhl.36dunes.com
- Code: https://github.com/seacoastcreates/nhl-predictor
- Walk-forward backtest (2017-18 onward, 12,244 games): log loss 0.6658, accuracy 58.9%.
On games with a pre-game moneyline the market scores 0.6691 against the model's 0.6736.
`model.joblib` is a dict with `model` (a scikit-learn pipeline), `features` (column
order), `version`, `trained_through` and `n_train`. It is a pickle: load it only if you
trust this repository.
Features: `elo_diff`, `rest_diff`, `home_b2b`, `away_b2b`, `playoff`, `season_progress`, `gd_10_diff`, `xgd_10_diff`, `xg_share_10_diff`, `hd_share_10_diff`, `gsax_10_diff`, `win_10_diff`, `gd_40_diff`, `xgd_40_diff`, `xg_share_40_diff`, `hd_share_40_diff`, `gsax_40_diff`, `win_40_diff`