SkillAgentSearch skills...

F1ml

Formula One Race Lap-by-Lap Prediction with Machine Learning

Install / Use

/learn @Jared-Chan/F1ml
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Formula One Race Lap-by-Lap Prediction with Machine Learning

webpage

This website features two machine learning models that can predict lap times, positions, pit stop strategies as well as events like collisions for up to 20 drivers throughout a whole race.

Other features:

  • 2 models to choose from. One trained with 20 years of data, the other trained with historical pit stop data starting from 2012 (This model is currently not available due to size limitations).
  • Interactive slider to look at lap times, statuses, etc of any lap during the race.
  • Colorful graph to easily grasp drivers' positions through out the race.
    graph
  • 20 years of historical data to predict what could have happened. Using the Ergast Developer API, you can choose from any race since 2001 and let the model envision an alternate ending.
  • Randomness factor to add unlimited possibilities.

Some predictions made by the models:

  • This is a prediction on the 2021 Imola Grand Prix. While the model could not accurately predict crashes, the results are sensible.
    2021 Imola
  • Some predictions are quite far off reality. This is a prediction on a 2020 race. The model predicted that Hass would have two drivers on the podium.
    2020 Hungaroring
  • With a lot of added randomness, the model gives very eventful races.
    chaotic

More on the making of the models here.

This website uses SessionState by tvst.

View on GitHub
GitHub Stars186
CategoryEducation
Updated1d ago
Forks26

Languages

Jupyter Notebook

Security Score

85/100

Audited on Mar 26, 2026

No findings