How our ML model calculates xG from shot data, feeds it into Poisson models, and generates probabilities for 1X2, Over/Under, Correct Score and more.
Behind every ProSoccer probability — whether it's "Over 2.5: 64%" or "Home Win: 47%" — is a two-stage pipeline: Expected Goals (xG) estimated by our machine learning model, followed by Poisson distribution to translate those xG values into full market probabilities. Here's exactly how it works.
Most xG models assign a probability to each individual shot based on its location and type. Our approach is different. Instead of asking "how likely is this specific shot to go in?", we ask a broader question:
When a team with similar attacking profile, form, and home/away record faces a team with similar defensive profile — how many goals do teams like these typically score in matches like this one?
This is a situational, team-level xG model. We don't evaluate individual shot quality. Instead, our ML model looks at thousands of historical matchups between similarly profiled teams and uses the observed goal output as the basis for the expected goals figure. The result is a pre-match xG estimate for each team that reflects the full context of the fixture — not just shot locations.
For each fixture, our model takes in features describing both teams' recent history and context:
The model is trained on hundreds of thousands of historical fixtures across top European leagues. It learns which combinations of team profiles produce high-scoring or low-scoring matches, and outputs a pre-match xG for each team.
Suppose Brighton (home) vs Crystal Palace (away). Our model identifies historical fixtures where:
From the pool of thousands of similar historical fixtures, the observed average goals for home teams in these situations was 1.72 goals, and for away teams 0.95 goals. These become our xG values: λhome = 1.72, λaway = 0.95.
Model output: Brighton xG = 1.72, Palace xG = 0.95
| Market | Probability | Fair Odds |
|---|---|---|
| Brighton Win | 56% | 1.79 |
| Draw | 23% | 4.35 |
| Crystal Palace Win | 21% | 4.76 |
| Over 2.5 Goals | 59% | 1.69 |
| BTTS Yes | 47% | 2.13 |
| Correct: 2–1 | 10.6% | 9.43 |
| Correct: 1–0 | 10.1% | 9.90 |
| Correct: 2–0 | 9.3% | 10.75 |
Shot-based xG models are excellent for post-match analysis — they tell you whether a team deserved to win based on what happened during the game. But for pre-match prediction, you don't yet have shot data. You need to forecast how the match will play out.
By grounding our xG in what actually happens when similar teams meet in similar situations, we avoid the noise of individual shot randomness and instead capture the structural reality of the matchup. A team that consistently creates many low-quality chances will have a lower xG forecast than a team that creates fewer but higher-danger opportunities — because historically, teams like the latter outscore teams like the former.
Once the match kicks off, our model shifts to in-play mode. Suppose it's minute 55, still 0–0. Brighton are dominating — our Pressure Index shows 78/100 in their favour. We update λ to reflect the remaining 35 minutes, weighting the live dominance signal:
This real-time recalculation is visible on our live match pages — every market probability updates continuously as the match evolves.
See live xG and market probabilities updating in real time →
Live Scores & xG Dashboard