F1 2025
Analytics
Dashboard
Real-time telemetry visualization + XGBoost ML model predicting optimal pit stop windows. Built for F1 fans who want to understand race strategy beyond the TV broadcast.
Strategy Is Invisible to Fans
F1 strategy unfolds in microseconds — tire degradation, fuel loads, undercut windows. Existing tools give you the result, not the prediction. Broadcasters show you who pitted, not why or when they should have.
ML-Powered Pit Windows
- Interactive telemetry overlay using FastF1 API
- XGBoost model predicting optimal pit windows (92% acc.)
- Driver vs driver comparison across all 23 race tracks
- Weather integration affecting strategy recommendations
Data Pipeline
Built ingestion layer using FastF1 API — handles missing telemetry with cubic spline interpolation.
Feature Engineering
Extracted 40+ features: lap delta, tire compound degradation rate, fuel load estimates, sector splits.
ML Model
XGBoost classifier trained on 3 seasons of historical race data. Hypertuned with Optuna. 92% test accuracy.
API Layer
FastAPI endpoints serving predictions in <50ms. Async background tasks for live data refresh every 30s during race weekends.
Dashboard
Streamlit UI: telemetry overlay, driver comparison, tire strategy viz, and live pit window predictions.
See It Live
The dashboard is publicly deployed on Streamlit Cloud.