Football Prediction Models, in Code

Poisson, Dixon-Coles, Elo and machine-learning models explained and implemented, with their assumptions and limits stated plainly.

Each model makes assumptions about how goals happen. This section implements the main ones in Python and explains what they assume, where they work and where they break.

To see the Poisson model in action, try the Poisson match predictor.

Tutorials in this module

Poisson match predictorEnter expected goals for both teams and get every scoreline, 1X2, over/under 2.5 and BTTS.