🏎️ Nina's F1 Predictions: 2026 Barcelona Grand Prix (Round 7)¶
Circuit de Barcelona-Catalunya — June 12-14, 2026¶
Model version: v1.0+Q (early weekend, pre-qualifying) Confidence: MEDIUM — grid is estimated, not yet set
What This Is¶
A machine learning model that predicts Formula 1 race results from 24 features — the same kinds of data a race engineer considers when building race strategy. This is the first cut of the weekend, made before qualifying: the model trains on every race so far this season (2026 weighted 10x over 2023-2025 history) and estimates the grid from team pace plus driver form. It refreshes as practice and qualifying data arrive — the qualifying update is the biggest jump in accuracy.
The grid here is an estimate, so treat this as a baseline. It will be replaced by the real qualifying result, and the race accuracy check added, as the weekend progresses.
============================================================
🤖 XGBOOST v1.0 — 24 features, trained through Round 6
============================================================
Training rows: 1,529
Leave-one-out MAE: 2.41 positions (honest)
Residual StdDev: 3.06
Top features:
grid_position 0.209
team_pit_strategy 0.077
sector1_delta 0.072
car_speed 0.063
team_changed 0.058
car_pace 0.056
is_2026 0.053
driver_avg_finish 0.047
1. Season Pace & Estimated Grid¶
Qualifying hasn't run yet, so there is no real grid. The model estimates the starting order from team pace (season form blended with any practice that has run) plus each driver's season form, and uses Barcelona's historical sector profile. The grid below is an estimate — it will be replaced by the real qualifying result when this page is regenerated on Saturday, which is the single biggest accuracy jump of the weekend.
🌤️ Forecast (Open-Meteo, 2026-06-14): 30°C, 34% RH, 0% rain
====================================================================== 📊 ESTIMATED GRID — 2026 Barcelona GP [stage: post-FP2] ====================================================================== Est Driver Team Blend Pace ------------------------------------------------------------ P 1 Kimi Antonelli Mercedes P 3.8 P 2 George Russell Mercedes P 3.8 P 3 Lewis Hamilton Ferrari P 5.3 P 4 Charles Leclerc Ferrari P 5.3 P 5 Oscar Piastri McLaren P 7.1 P 6 Lando Norris McLaren P 7.1 P 7 Max Verstappen Red Bull Racing P 9.5 P 8 Isack Hadjar Red Bull Racing P 9.5 P 9 Liam Lawson Racing Bulls P 10.7 P10 Pierre Gasly Alpine P 11.7 P11 Arvid Lindblad Racing Bulls P 10.7 P12 Franco Colapinto Alpine P 11.7 P13 Esteban Ocon Haas F1 Team P 13.5 P14 Gabriel Bortoleto Audi P 12.9 P15 Oliver Bearman Haas F1 Team P 13.5 P16 Nico Hulkenberg Audi P 12.9 P17 Carlos Sainz Williams P 15.3 P18 Alexander Albon Williams P 15.3 P19 Sergio Perez Cadillac P 17.9 P20 Valtteri Bottas Cadillac P 17.9 P21 Fernando Alonso Aston Martin P 18.8 P22 Lance Stroll Aston Martin P 18.8 Grid is ESTIMATED from pace + form; real qualifying replaces it Saturday. 🌡️ Race conditions: 29.5°C, 34% humidity, 0% rain -> DRY
2. Predicted Finish¶
Each driver's predicted finishing position, with the inputs that drove it: grid (actual qualifying), car (blended team pace), and the position change the model expects relative to the grid.
================================================================================ 🏁 PREDICTED FINISH — 2026 Barcelona GP ================================================================================ Pos Driver Team Grid Pred ΔGrid ---------------------------------------------------------------------- P 1 Kimi Antonelli Mercedes P 1 P 2.7 = P 2 Lewis Hamilton Ferrari P 3 P 3.3 +1 P 3 Charles Leclerc Ferrari P 4 P 3.4 +1 P 4 Max Verstappen Red Bull Racing P 7 P 4.6 +3 P 5 Oscar Piastri McLaren P 5 P 4.7 = P 6 George Russell Mercedes P 2 P 5.3 -4 P 7 Lando Norris McLaren P 6 P 5.3 -1 P 8 Liam Lawson Racing Bulls P 9 P 8.1 +1 P 9 Arvid Lindblad Racing Bulls P11 P 8.1 +2 P10 Isack Hadjar Red Bull Racing P 8 P 8.8 -2 P11 Pierre Gasly Alpine P10 P 9.3 -1 P12 Oliver Bearman Haas F1 Team P15 P10.9 +3 P13 Franco Colapinto Alpine P12 P11.2 -1 P14 Gabriel Bortoleto Audi P14 P11.2 = P15 Esteban Ocon Haas F1 Team P13 P11.3 -2 P16 Nico Hulkenberg Audi P16 P12.5 = P17 Carlos Sainz Williams P17 P12.5 = P18 Fernando Alonso Aston Martin P21 P13.3 +3 P19 Alexander Albon Williams P18 P14.0 -1 P20 Lance Stroll Aston Martin P22 P15.4 +2 P21 Sergio Perez Cadillac P19 P16.0 -2 P22 Valtteri Bottas Cadillac P20 P19.0 -2
3. Podium Probabilities (10,000 Simulated Races)¶
Rather than a single outcome, the model simulates the race 10,000 times with realistic randomness — and now models retirements: each driver can DNF with their season failure rate, which promotes everyone behind them. That matters most at high-attrition tracks, where a front-runner's mechanical failure reshuffles the order. Add a 33% safety-car chance and grid-dependent chaos (the midfield is messier than the front row), and the result is a probability for each driver.
Modeled retirements: 4.5 per race (driven by each driver's season DNF rate) ================================================================================ 🎲 PODIUM PROBABILITIES — 2026 Barcelona GP ================================================================================ Driver Team Grid Win Podium Top5 ------------------------------------------------------------------------ Kimi Antonelli Mercedes P 1 27.2% 66.1% 87.4% █████████████ Charles Leclerc Ferrari P 4 18.7% 47.3% 68.5% █████████ Lewis Hamilton Ferrari P 3 15.8% 48.8% 73.0% ███████ Max Verstappen Red Bull Racing P 7 11.8% 34.9% 57.3% █████ Oscar Piastri McLaren P 5 6.9% 23.4% 40.8% ███ Lando Norris McLaren P 6 6.0% 19.7% 35.9% ███ George Russell Mercedes P 2 3.3% 19.2% 44.5% █ Arvid Lindblad Racing Bulls P11 2.9% 9.2% 19.2% █ Liam Lawson Racing Bulls P 9 2.6% 9.4% 19.7% █ Isack Hadjar Red Bull Racing P 8 1.7% 6.1% 13.2% Pierre Gasly Alpine P10 1.5% 6.4% 14.2% Oliver Bearman Haas F1 Team P15 0.4% 2.4% 6.4%
4. What Happens Next¶
This is the pre-qualifying baseline for the Barcelona GP. It refreshes through the weekend:
- Friday (after practice): rerun
--pre-qualifyingto fold in FP pace. - Saturday (after qualifying): rerun
--pre-race --weather autofor the real grid — the biggest accuracy jump. - After the race: run
update_data.pythen rerun with no flag to add the official results and accuracy.