Applied machine learning · Live systems
Live win prediction for the Formula E world feed
The championship's win-probability graphic came from an external model. At the point in the race where it was shown, it called the winner correctly less than half the time. We rebuilt it in-house.
The problem
Formula E is hard to predict because the format keeps the field close. With energy management, the car leading on lap 20 may not be able to win on lap 30. Attack Mode reshuffles the order on purpose. Safety cars bunch the field and remove any gap built over a stint.
A model that relies on track position is wrong when the broadcast needs it. The external model did this, and was below fifty per cent accurate at the point where the graphic is shown.
The approach
Most of the work went into the features. A car's position matters in relation to the energy it has to hold it, so the features describe each car's state relative to nearby cars. There are four families: battery advantage, historical priors for the driver and circuit, race progression, and speed trend, which shows whether a car is saving energy or pushing.
These feed a gradient-boosted classifier. Boosted trees handle feature interactions well and suit a small dataset. The model gives a calibrated probability within a live latency budget. You can also see which features drove each call, which matters because a commentator may repeat the number on air.
Results
At sixty per cent race distance the model calls the winner correctly 63 per cent of the time, against under fifty for the model it replaced. It runs live during races and its output is broadcast globally on the world feed.
← All projects