Explainer · simple English

How our model predicts a football match

In this article, we will learn how the Football Intelligence model looks at two teams, asks a few hundred tiny questions, and gives a chance for a home win, a draw and an away win. Every number here comes from our own code, our trained model and our project reports.

We will cover the following:

Let's get started.

The big picture

Let's say Arsenal are playing Chelsea at home. Before the match, a football fan would ask some simple questions. How strong is each team? How have they been playing at home and away? Who usually wins when these two meet?

Our model does exactly this. It just asks the questions with numbers, and it asks a lot of them.

Our match model is an XGBoost model. It takes 42 numbers about the two teams, all known before kick-off, and gives three chances: home win, draw and away win. The three chances always add up to 100%.
Match history 46,709 matches, 5 leagues 2000/01 to 2025/26 42 features numbers known before kick-off XGBoost model 504 small trees 0.60 MB file Arsenal v Chelsea Home 62.3% Draw 20.2% Away 17.5% SHAP: which features pushed which way
The whole journey. The Arsenal v Chelsea numbers are the real output of our served model for their match on 6 September 2026. Arsenal won 2–1.

Here, we can see four simple steps. We collect past results. We turn them into 42 numbers for the match. The model turns the 42 numbers into three chances. Then SHAP tells us which numbers pushed the answer up or down.

Note: The model only sees results, dates and team names from the past. It does not see betting odds, injuries, line-ups or anything from the match itself. Odds are used only to compare our model with the bookmakers.

The 42 features

A feature is one number that describes the match before it is played. For example, "Arsenal's points from their last 5 games" is one feature. It was 15 out of 15 before the Chelsea match.

So, is it 42 features or more? It is exactly 42. The list is pinned in the code (MODEL_FEATURES in ai/training/configuration.py). If one of the 42 is missing, training stops with an error. If a new number sneaks into the data, training also stops, so nothing can leak in by accident.

The 42 features fall into eight families. Most families have one number for the home team and one for the away team.

2

Elo strength rating

One rating per team that goes up after wins and down after losses. Arsenal 1621, Chelsea 1498.

4

Long-term home / away record

Home team's win % and points per game in all its past home games; the same for the away team's away games. Arsenal at home: 68% wins, 2.24 points per game.

12

Goals

Goals scored, conceded and goal difference per game, over the last 5 and last 10 games, for both teams.

8

Recent form

Wins and points in the last 5 and last 10 games, for both teams.

6

League table

League position, points and games played this season, for both teams.

4

Head-to-head

Past meetings between the two clubs: total, wins for each side, and draws. Arsenal v Chelsea: 52 meetings, 18 Arsenal wins, 17 Chelsea wins, 17 draws.

4

Strength of schedule

The average Elo rating of each team's last 5 and last 10 opponents. Did they beat strong teams or weak ones?

2

Rest days

Days since each team's last match in the same season. Arsenal 6, Chelsea 7.

2 + 4 + 12 + 8 + 6 + 4 + 4 + 2 = 42.

One golden rule: only the past

Every feature is built only from matches before the one we are predicting. In the code, each rolling number is shifted by one match, so a match can never see its own result. There are tests that check this.

Why does this matter? Suppose we let the model see the final score inside its features. It would look like a genius in testing and be useless in real life. This mistake is called data leakage, and the golden rule prevents it.

Note: Early in a season, some numbers have no history yet (for example, a promoted team's first home game). The model fills these gaps with the middle value (the median) from its training data.

Which features matter most?

Now, the next big question is: does the model treat all 42 numbers the same? No. A few numbers do most of the work.

To measure this, we used SHAP (more on SHAP below). For every match, SHAP tells us how much each feature moved the prediction. We averaged this over the 3,504 matches of the 2024/25 and 2025/26 seasons. The chart shows each feature's share of the total.

Home team's Elo rating28.9% Away team's Elo rating25.0% Away team's points per away game9.6% Home team's points per home game7.7% Home team's home win %5.7% Away team's away win %3.3% Home goals scored per game, last 102.4% Head-to-head wins for away team1.8% Home goal difference per game, last 101.8% Away goal difference per game, last 101.5% The other 32 features share the remaining 12.3%.
Top 10 of 42 features for the served model, by average SHAP size over 3,504 matches (2024/25 and 2025/26). On the 250 played matches of 2026/27 the top six are in the same order.

Now, let's add the features up by family.

Elo strength rating (2)54.0% Long-term home / away record (4)26.4% Goals (12)10.5% Head-to-head (4)3.7% League table (6)2.8% Strength of schedule (4)1.3% Recent form (8)1.1% Rest days (2)0.3%
Share of influence by family. The number in brackets is how many features are in the family.

Here, we can see three clear lessons:

Do the other 40 features help at all? Yes. On the first 250 matches of 2026/27, a simple model that uses only the Elo gap got 48.8% right. Our full model (the earlier version, trained to 2021/22) got 52.4%. That is 3.7 points better, and the 95% range (+0.8 to +6.8) stays above zero. So the other features add real information.

What is an Elo rating?

Since Elo does most of the work, let's understand it properly.

Think of a school chess club. Everyone starts with the same score. When you beat a strong player, your score goes up a lot. When you beat a weak player, it goes up only a little, because you were expected to win. Elo works exactly like this.

An Elo rating is a single strength number for a team. It goes up after a win and down after a loss. How much it moves depends on how surprising the result was.

In our code (ai/feature_engineering/features/elo_rating.py):

A small worked example

Suppose Team A is rated 1600 and Team B is rated 1500. The standard Elo formula says Team A is expected to score 0.64 (a 100-point gap gives 1 / (1 + 10−100/400) ≈ 0.64).

What happensTeam A's changeWhy
Team A wins32 × (1 − 0.64) = +11.5Expected, so a small reward
Draw32 × (0.5 − 0.64) = −4.5The stronger team dropped points
Team A loses32 × (0 − 0.64) = −20.5A surprise, so a big penalty

Team B always moves by the same amount in the other direction.

How one tree decides

We all have played the game of 20 questions. Is it an animal? Yes. Does it fly? No. Each question cuts down the possible answers.

A decision tree is the same game. It asks yes-or-no questions about the numbers, one after another, until it reaches an answer at the bottom (a leaf).

Our trees are tiny: each one asks at most 3 questions (depth 3). And here is the twist: a leaf does not say "home win". It gives a small number, a nudge. A plus nudge makes that outcome a little more likely. A minus nudge makes it a little less likely.

Below is the real first "home win" tree from our served model. Let's follow Arsenal v Chelsea through it.

yesno yesno yesno yesno yesno yesno yesno Home team's home win %below 51.9%? Away rating below 1543? Away rating below 1506? Away below 1460? Away below 1608? Home goal diff, last 10,below +0.56? Away below 1627? +0.001 −0.004 −0.012 −0.018 +0.008 +0.017 +0.002 −0.011 Leaves are nudges to the home-win score (rounded to 3 decimals).
The first of 168 home-win trees in the served model, exactly as stored in the model file. "Away rating" means the away team's Elo rating.
  1. Is Arsenal's home win % below 51.9%? It is 68.1%, so no. Go right.
  2. Is Chelsea's rating below 1506? It is 1498, so yes. Go left.
  3. Is Arsenal's goal difference per game over the last 10 below +0.56? It is +1.1, so no. Go right.
  4. We reach the leaf: +0.017. This tree nudges "home win" up a little.

That nudge is very small. One tree on its own knows almost nothing. The power comes from many trees working together.

How a prediction is made

A Random Forest builds many trees side by side and lets them vote. XGBoost works differently. It builds trees one after another, and each new tree tries to fix the mistakes the earlier trees still make.

Think of a team of beginners. The first makes a rough guess. The second studies only where the first went wrong and suggests a small fix. The third fixes what is still wrong, and so on. Add up hundreds of small fixes, and you get a strong answer.

XGBoost (gradient boosting) adds up many small trees, built one after another. Each new tree corrects a little of what the earlier trees still get wrong.

Our model in numbers

SettingValueIn simple words
Rounds168168 rounds of "fix the mistakes"
Trees504Each round builds 3 trees: one for home win, one for draw, one for away win (168 × 3)
Depth3Each tree asks at most 3 questions
Learning rate0.03Each tree's nudge is kept small, so no single tree can take over
Training data46,709Matches from 2000/01 to 2025/26 in the five leagues

Step by step, for Arsenal v Chelsea

  1. Build the 42 numbers. The server takes the match history up to the match day and computes the 42 features, with the same code used in training.
  2. Start from a base score for each outcome. Home teams win more often than away teams, so home starts highest.
  3. Walk all 504 trees. Each home tree adds its nudge to the home score, each draw tree to the draw score, and each away tree to the away score.
  4. Turn the three scores into chances. A standard formula called softmax turns them into three percentages that add up to 100%. The higher the score, the bigger its share.
  5. Pick the biggest. The outcome with the highest chance is the prediction.
Score after 504 trees Chance (softmax) 0 Home+0.720 Draw−0.405 Away−0.552 softmax 62.3% ← pick 20.2% 17.5%
Real numbers from the served model for Arsenal v Chelsea, 6 September 2026. The pick is a home win; Arsenal won 2–1. This match was not in the model's training data.
Note: Softmax, for the curious: each chance is escore divided by the sum of escore for all three. So e0.720 ÷ (e0.720 + e−0.405 + e−0.552) = 0.623, which is 62.3%.

Why this prediction? (SHAP)

A prediction without a reason is hard to trust. So every prediction comes with an explanation.

Imagine five friends share a taxi and want to split the fare fairly. SHAP does the same with a prediction. It splits the final score fairly between the 42 features, so we can see who added what.

SHAP gives each feature a share of the prediction. A plus share pushed the outcome up, a minus share pushed it down, and all shares add up exactly to the final score.

Here is the home-win score for Arsenal v Chelsea, split by SHAP. The average match starts at +0.337.

Arsenal's Elo rating is 1621 +0.341 Arsenal win 68% of home games +0.089 Arsenal get 2.24 points per home game +0.073 Arsenal goal difference +1.1 per game, last 10 +0.025 Chelsea win 50% of away games −0.028 Chelsea get 1.72 points per away game −0.079 The other 36 features together −0.038 0.337 (average start) + 0.341 + 0.089 + 0.073 + 0.025 − 0.028 − 0.079 − 0.038 = 0.720 That 0.720 is the home score from the chart above, which became 62.3%.
Green pushes towards a home win, red pushes away from it. Values from SHAP's TreeExplainer on the served model.

Here, we can see the story in plain words: Arsenal are rated much higher than Chelsea and are very strong at home. Chelsea's good away record pulls the home chance down a bit, but not enough to change the pick.

The app shows these reasons in fan-friendly words, such as "Arsenal team strength rating: 1621" (the wording comes from ai/explainability/feature_labels.py).

How we handled draws

This is the most interesting part of the project. About a quarter of all matches end in a draw (25.9% in our 46,709 matches). Yet our model never picks a draw as the most likely result. Why?

The weather forecast example

Suppose the forecast says 30% rain every day this week. It is honest: it really rains on about 3 days in 10. But rain is never the "most likely" weather, because 70% says dry. Our draw chances work the same way.

Our draw report found two things:

0%10%20%30% up to 0.20482 matches 0.20–0.24570 0.24–0.27952 0.27–0.301,273 0.30–0.33216 Model said Actually drew
Draw chance grouped into bands, on the 2024/25 and 2025/26 seasons (from docs/reports/draw-handling.md). The pairs match closely: honest, but no band gets near "most likely".

Why can't 30% ever win? There are three outcomes. For a draw to be the pick, it must beat both the home chance and the away chance. With a draw at 30%, the other two share 70%, so at least one of them is 35% or more. A draw needs well over 33% to have a chance, and our model's draw chance almost never gets there.

Note: This is not a bug. Draws are hard to call from pre-match information. Even the bookmakers never made a draw their favourite in our 2026/27 sample.

What we tried

Try 1: a "close game" rule. Pick a draw when its chance is within a margin of the favourite's. Here is what happened on 2024/25 and 2025/26:

MarginAccuracyDraws caught
0 (today: never pick a draw)51.6%0%
0.0950.8%8%
0.1050.6%13%
0.1548.1%32%
0.2045.6%49%

Catching a third of draws costs about 4 to 5 points of accuracy. Each draw pick was right only 27–30% of the time, barely above the 25% base rate, so each extra draw caught cost about two correct home or away picks. Not worth it.

Try 2: six new draw features. Each team's draw rate over its last 10 games (2 features), average total goals in each team's last 10 games (2), the absolute Elo gap (1), and the league's draw rate over about two seasons (1). Result: log loss changed by only −0.0002 and −0.0001, and both 95% ranges included zero. No real gain, so they were not added.

Try 3: the Dixon-Coles goals model (see the bonus section). It models low scores directly, so it was the best hope. But its draw chances were just as flat (never above 0.36).

What we decided: keep the pick, flag the tight games

On 28 September 2026 we chose "tag only" (ADR 011). The pick stays the same, and the API adds a flag, draw_possible, when the draw chance is at least 0.28. This costs no accuracy.

2026/27 so far, served model (draw chance ≥ 0.28 flagged on 40% of matches) Flagged "draw possible" 34% ended in a draw Not flagged 19% ended in a draw The flag picks out games that really are more likely to be drawn. But 2 in 3 flagged games still have a winner, so it is a nudge, not a prediction.
From docs/reports/refit-all-seasons.md. On earlier seasons the gap was smaller but the same way round (for example 28% against 24% on 2024/25–2025/26).

A real example: Leeds v Brentford, 30 August 2026. The model said home 35.8%, draw 29.8%, away 34.4%. The pick was a home win, and the draw flag was on. It finished 1–1.

Note: In October 2026 the app stopped showing the "Draw possible" label. Next to a picked win, fans read it as two answers at once. The single win/draw/loss bar already shows when a game is tight. The API still returns draw_possible, and the assistant still uses it.

How good is it?

Football is noisy. There are three outcomes and plenty of upsets. So let's compare with sensible baselines.

WhoAccuracyWhere
Random guess33.3%Any season
Always pick the home team43.1%2023/24 test season (home win share)
Our model (reporting version)52.5%2023/24 test season, 1,752 matches
Bookmakers55.0%2023/24 test season
Our served model52.0%First 250 matches of 2026/27
Bet365 (margin removed)51.6%Same 250 matches

On the 250 live matches, the 95% range for "our model minus Bet365" runs from 2.8 points lower to 3.6 points higher. So the honest summary is: level with the bookmaker, not ahead.

Bonus: predicting the score with Dixon-Coles

Our XGBoost model predicts home, draw or away. It never thinks about goals. So for likely scores, expected goals and "both teams to score", we use a second, separate model: Dixon-Coles (ADR 009).

Think of every team as having two dials. An attack dial: how many goals do they score compared with an average team? A defence dial: how many do they let in compared with an average team? Turn the dials, and you can guess how many goals each side will score.

Dixon-Coles predicts how many goals each team will score using attack and defence strengths and a home advantage. It turns those into the chance of every possible score, and gives a small fix for low scores like 0–0 and 1–1.

Let's walk through Arsenal v Chelsea again, with the real Premier League fit from the day of the match.

Step 1: read the dials

DialValueMeaning
Goals for an average side against an average side1.24The league's starting point
Home advantage× 1.20Home teams score 20% more
Arsenal attack× 1.26Arsenal score 26% more than average
Arsenal defence (goals let in)× 0.67Arsenal concede 33% fewer than average
Chelsea attack× 1.15Chelsea score 15% more than average
Chelsea defence (goals let in)× 1.03Chelsea concede about average

Step 2: expected goals

Arsenal = 1.24 × 1.20 (home) × 1.26 (Arsenal attack) × 1.03 (Chelsea let in) = 1.93 goals Chelsea = 1.24 × 1.15 (Chelsea attack) × 0.67 (Arsenal let in) = 0.96 goals
Expected goals are averages. Arsenal cannot score 1.93 goals in one match, but over many such matches they would average about that.

Step 3: from an average to the chance of each goal count

If a team averages 1.93 goals, how likely is 0, 1, 2 or 3? A standard formula called the Poisson distribution answers this. It is the usual formula for counting rare events, like goals in a match.

Arsenal (average 1.93) Chelsea (average 0.96) 14.6%28.1%27.0%17.4%8.4% 38.4%36.8%17.6%5.6%1.3% 01234 01234 goalsgoals
Chance of each goal count for each team, from the Poisson distribution with the expected goals above.

Step 4: build the score grid

Now we multiply. The chance of Arsenal 1, Chelsea 0 is "Arsenal score exactly 1" × "Chelsea score exactly 0" = 28.1% × 38.4% ≈ 10.8%. Do this for every pair and we get a grid of every possible score. Our code builds an 11 × 11 grid (0 to 10 goals each).

Step 5: the Dixon-Coles fix for low scores

Plain multiplying assumes the two teams' goals have nothing to do with each other. In real football, results like 0–0 and 1–1 happen a bit more often than that, and 1–0 and 0–1 a bit less. Dixon and Coles added one small number, ρ (rho), learned from the data, that adjusts only these four scores. For the Premier League on that day, ρ = −0.099.

Plain Poisson After the Dixon-Coles fix Chelsea goals →Chelsea goals → Arsenal goals →Arsenal goals → 0123 0123 0123 0123 5.6% 5.4% 2.6% 0.8% 10.8% 10.3% 4.9% 1.6% 10.4% 9.9% 4.8% 1.5% 6.7% 6.4% 3.1% 1.0% 6.6%▲ up 4.3%▼ down 2.6% 0.8% 9.7%▼ down 11.3%▲ up 4.9% 1.6% 10.4% 9.9% 4.8% 1.5% 6.7% 6.4% 3.1% 1.0%
Top-left corner of the 11 × 11 grid. Green cells are Arsenal wins, yellow are draws, blue are Chelsea wins. The fix moves only the four outlined cells: 0–0 and 1–1 go up, 1–0 and 0–1 go down.

Step 6: read the answers off the grid

Every answer is just a sum of cells:

The real score was 2–1, the third most likely score.

Note: Look closely. The single most likely score is a draw (1–1), but the most likely result is a home win (59%). There is no contradiction. The home-win chance is spread over many scores (2–0, 2–1, 1–0, 3–0 …), while the draw chance sits in just a few. This is also why "most likely score" is right only about 12–14% of the time.

Two more details

How well does it work?

Quick questions

Does the model use betting odds?

No. Odds are excluded from the features on purpose. They are used only as a benchmark to compare against.

Does it know about injuries or line-ups?

No. It only uses past results. There is no reliable free source of player-level history for all five leagues.

Can it compare a Premier League team with a La Liga team?

Not fairly. Elo ratings are kept per league, because the clubs never play each other in our data, so a 1600 in one league is not the same as a 1600 in another.

Is XGBoost a Random Forest?

No. Both use many trees. A Random Forest builds them side by side and takes a vote. XGBoost builds them one after another, each fixing the earlier ones' mistakes, and adds up their nudges.

Why is the served model trained on every season?

We keep two roles (ADR 017). A reporting model, trained up to 2021/22, gives the honest test numbers. The served model copies its exact recipe (same 42 features, settings and 168 rounds) and trains on every season up to 2025/26, so it has seen the latest football. On 250 matches of 2026/27, the two were level, and only 3 picks differed.

Where the facts come from

Written 6 November 2026.