๐
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. ๐๏ธ๐จ
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.
๐ง 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.
- Frontend: Streamlit
- Data: OpenF1 API + custom processing
- Visualization: Plotly + Pandas
- Hosting: Streamlit Cloud
- ML Sauce: Scikit-learn for predictions (Minimax not included ๐)
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.
- 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
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- 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.)
Made with โค๏ธ and DRS by Yuki
โData is faster than horsepower. Just ask Red Bull.โ
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).
โWeโve done it guys, what a race!โ
- You, after predicting the podium correctly ๐






