r/algobetting • u/fluuk_data • 14h ago
Tennis win-probability model — 4,453 pre-match predictions since mid-September, checked against results
I've been building a tennis (ATP + WTA) win-probability model and wanted people who build these things to pull it apart.
Why tennis: one-on-one matches with only two outcomes are steadier to model than team sports or anything with a draw. Results swing less, so the bankroll swings less too, and that suits the slow, long-term approach I'm after. The tours also produce thousands of matches a year, which gives a calibration table like the one below enough data to mean something.
What it is
- XGBoost, one model per tour, trained on matches from 2014 onwards (about 145k per tour). Training stops about six months back. The six months after that are used to fit a sigmoid calibration, so the calibration step never sees matches the trees were trained on.
- It's retrained every Sunday with the last 28 days held out. The new version only replaces the live one if it does at least as well on those 28 days. In particular, it can't become more confident unless it's also more accurate. That rule exists because of the July refit I describe below.
- Every input is a difference between the two players, so swapping A and B gives you 1 − p. Inputs: overall Elo, surface Elo, form over the last 20 (overall and on the surface), ranking, head-to-head, age, height, ace rate, double-fault rate, first-serve % and first-serve points won. The ATP model also gets the Elo gaps multiplied by a best-of-5 flag.
- One post-model rule: a player with very little match history gets their chance capped. It applied to 59 predictions in this window.
- A prediction only counts if it was stored before both the scheduled start and the actual start. Since September, 472 were made too late and are excluded. Walkovers, retirements and cancellations aren't counted either. The median prediction is stored about 10 hours before the start.
Why the window starts on 16 Sep
That's when the current model line went live. The version before it came from a July refit that made the model more confident without making it more accurate, and it ran on player-matching data I've since repaired. To be fair to it, from 12 Jul to 15 Sep (2,507 matches) it was close to calibrated overall: 64.6% said, 64.5% won. But it scored worse (Brier 0.217, log loss 0.623), and it was overconfident on strong favourites. When it said 85%+, those favourites won 86.9% against 88.9% stated. Before July, almost nothing qualifies, because predictions were filled in after the matches had started.
How it's done: 16 Sep – 2 Dec 2026, 4,453 matches
Each row is a band of the favourite's stated chance. "Said" is the average stated chance in that band, and "won" is how often the favourite actually won.
| Band | Men n | Said | Won | Women n | Said | Won |
|---|---|---|---|---|---|---|
| 50–65% | 1,712 | 57.3% | 57.2% | 591 | 57.5% | 56.2% |
| 65–80% | 1,152 | 72.0% | 73.1% | 354 | 71.7% | 73.2% |
| 80–85% | 227 | 82.4% | 84.6% | 95 | 82.5% | 83.2% |
| 85–90% | 128 | 87.2% | 88.3% | 73 | 87.2% | 90.4% |
| 90%+ | 69 | 92.0% | 98.6% | 52 | 92.5% | 94.2% |
| All | 3,288 | 66.1% | 66.7% | 1,165 | 67.3% | 67.4% |
Overall: said 66.4%, won 66.9%. Brier score 0.208, log loss 0.601.
What I read into it, and what I don't
- The strong-favourite problem has flipped. At 85%+ the model now says 89.1% and those favourites win 91.9%, so it's slightly underconfident. The men's 90%+ band (68 of 69 won) is the extreme case, and it's too small to read much into.
- In the women's 50–65% band it's slightly overconfident (57.5% said, 56.2% won).
- This is 11 weeks, mostly autumn indoor hard courts. No clay or grass season yet.
- The model has changed during the window: weekly versions were promoted when they passed the check. Each match is scored with the prediction that was live at the time, not re-scored later.
- Calibration doesn't make money by itself. A well-calibrated model can still agree with the price almost every time.
How I use it
I treat the bankroll like a savings pot. The bar is a steady 5% a year, roughly what a bank pays, and the test is whether staking on these numbers grows the pot faster than that, with a drawdown you can live with. Live betting history is only weeks old, so I'm not posting a profit figure yet. A few dozen bets would be noise and this sub would rightly say so.
Questions for you
- At the top end, would you recalibrate (isotonic, beta) or leave the sigmoid alone until there's more data? I'm wary of tuning on 121matches at 90%+.
- Training from 2014 with a 180-day calibration window: would you shorten either?
- What check would you want to see next before you trusted this?
Full disclosure: I'm building this into a paid subscription service, Fluuk. This post isn't a pitch, but you should know my interest before you judge the numbers. The live version of this table, which updates as matches finish, is at nofluuk.com/calibration. Criticism is the reason I'm posting it.