Skip to content

yuki-sf/F1-Race-Predictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

24 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ F1 Race Predictor - "This Could Go Horribly Right..." ๐ŸŽ๏ธ

Lights Out and Away We Go!

Live Demo

๐Ÿ“… Data updated till: 2025 British Grand Prix ๐Ÿ‡ฌ๐Ÿ‡ง

Welcome to the F1 Race Predictor, where machine learning meets motorsport madness. Whether you're a Max fan, a Tifosi loyalist, or still wondering how Haas is even a team - this app has something for every F1 fan. ๐ŸŽ๏ธ๐Ÿ’จ

๐Ÿšฆ What is This?

An interactive Streamlit web app that predicts Formula 1 race outcomes, visualizes driver and constructor standings, and helps you understand who's dominating, who's fighting for points, and who's just... surviving.

๐Ÿ’ฌ "If you no longer go for a gap that exists, you're no longer a racing driver." - Ayrton Senna
...We went for the data gap.

๐Ÿ”ง Features

๐Ÿง  AI-Powered Race Predictions

  • Predicts race outcomes using historical data and machine learning
  • Calculates win probabilities for drivers - Toto is quaking [He doesn't have it printed!!].

๐Ÿ“Š Dynamic Visualizations

  • Bar charts for standings, team points, and win chances
  • Custom constructor colors, because branding matters (looking at you, Ferrari Red โค๏ธ)

๐Ÿ“‹ Tables with Style

  • Interactive, sortable driver and constructor standings tables
  • Everything looks better in dark mode. Just like Mercedesโ€™ 2020 livery.

๐Ÿ“ก Real-time Data Insights

  • Pulls from the latest 2025 race data (because the future is now)
  • No fake race news - unless Nikitaโ€™s back, then we panic.

๐Ÿ› ๏ธ Tech Stack

  • Frontend: Streamlit
  • Data: OpenF1 API + custom processing
  • Visualization: Plotly + Pandas
  • Hosting: Streamlit Cloud
  • ML Sauce: Scikit-learn for predictions (Minimax not included ๐Ÿ˜)

๐ŸŽ๏ธ Screenshots

ML Prediction Score

Prediction Score

Constructor Championship

Constructor Standings

Driver Championship

Driver Standings

Race Win Prediction

Race Win Predictions

Championship Prediction

Championship Prediction

๐Ÿ”ฎ How Are Predictions Made?

Think of it as your teamโ€™s race engineer, but without yelling โ€œbox, box!โ€
We consider:

  • Driver and constructor performance trends
  • Qualifying sessions
  • Race history
  • Track characteristics (soon)
  • And a bit of magic โœจ

Then we crunch the numbers faster than an undercut and give you the most likely outcomes.

๐Ÿงข Inspired By...

  • Every dramatic Netflix cut on Drive to Survive
  • Checo memes and Nikita crashes
  • Crofty's legendary calls
  • And YOU, the fans who stay up at 1 AM for the Japanese GP

๐Ÿงช Local Setup (for Devs)

Clone and run the app locally like a tech-savvy team principal:

git clone https://github.com/yuki-sf/F1-Race-Predictor.git
cd F1-Race-Predictor
pip install -r requirements.txt
streamlit run f1_predictor.py

๐Ÿ† Future Plans

  • Weather impact on race prediction
  • Track-specific analytics
  • Real-time telemetry integration
  • A button that yells โ€œMULTI 21!โ€ (maybe)
  • And of course the Papaya Rules (But Ferrari strategy calls? Thatโ€™s our version of a horror movie.)

๐Ÿ‘จโ€๐Ÿ’ป Author

Made with โค๏ธ and DRS by Yuki

โ€œData is faster than horsepower. Just ask Red Bull.โ€

๐Ÿ’ฌ Feedback? Feature Request? Meme Drop?

Open an issue or start a discussion. Or just drop a Pierre Gasly meme.

Pieeerrreeee Gasleeeeeeee - Honey Badger.

This is a safe space for F1 fans of all kinds (even Lance Stroll fans).

Happy Toto!


โ€œWeโ€™ve done it guys, what a race!โ€

  • You, after predicting the podium correctly ๐Ÿ

About

Predict F1 race outcomes with AI! ๐ŸŽ๏ธ Dive into standings, win chances, and spicy visuals - all powered by real 2025 data. For fans of pace, chaos, and a bit of Papaya magic. ๐Ÿโœจ

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages