How ezztheanalyst/f1_2026_predictions works
This repository is a collection of standalone, race-specific F1 2026 prediction scripts, not a shared application or reusable package. The documented workflow collects FastF1 session data, combines it with qualifying and weather inputs, engineers features, trains an XGBoost regressor, ranks predicted race times, and evaluates error. The sampled excerpts support the session-processing and weather-request stages; later model and output details come from the README. The scripts appear largely duplicated, so the graph shows the documented Melbourne run and the distinct race-specific variants without assuming they call one another.
Main entry points: 1_melbourne_prediction.py Melbourne predictor
Components 28
Prediction workflow
- Melbourne predictor
1_melbourne_prediction.py - FastF1 sessions
1_melbourne_prediction.py - Qualifying inputs
1_melbourne_prediction.py - Weather forecast
1_melbourne_prediction.py - Feature engineering
1_melbourne_prediction.py - XGBoost model
1_melbourne_prediction.py - Race ranking
1_melbourne_prediction.py - MAE evaluation
1_melbourne_prediction.py
Race scripts
- Shanghai predictor
2_shanghai_prediction.py - Suzuka predictor
3_suzuka_prediction.py - Miami predictor
4_miami_prediction.py - Montreal predictor
5_montreal_prediction.py - Monaco predictor
6_monaco_prediction.py - Barcelona predictor
7_barcelona_prediction.py - Austria predictor
8_austria_prediction.py - Britain predictor
9_britain_prediction.py - Spa predictor
10_spa_prediction.py - Hungary predictor
11_hungary_prediction.py - Netherlands predictor
12_netherlands_prediction.py - Italy predictor
13_italy_prediction.py - Madrid predictor
14_madring_prediction.py - Baku predictor
15_baku_prediction.py - Malaysia predictor
16_malasyia_prediction.py - Singapore predictor
17_singapore_prediction.py - Mexico predictor
19_mexico_prediction.py - Brazil predictor
20_brazil_prediction.py
Other components
- Runner
- WeatherAPI
Connections 9
- Runner → Melbourne predictor: runs
README.md - Melbourne predictor → FastF1 sessions: loads sessions
README.md - Melbourne predictor → Qualifying inputs: uses times
README.md - Melbourne predictor → Weather forecast: requests forecast
1_melbourne_prediction.py - Weather forecast → WeatherAPI: fetches data
- Melbourne predictor → Feature engineering: engineers features
README.md - Melbourne predictor → XGBoost model: trains
README.md - Melbourne predictor → Race ranking: ranks times
README.md - Melbourne predictor → MAE evaluation: measures error
README.md