Data collection
FastF1 data provides speed, throttle, braking, gear, RPM, GPS position, tyres, weather, and session information.
FORMULA 1 × MACHINE LEARNING
An end-to-end machine-learning system that combines historical race data, circuit geometry, weather, and high-frequency driver telemetry to predict Formula 1 qualifying performance.
FastF1 data provides speed, throttle, braking, gear, RPM, GPS position, tyres, weather, and session information.
GeoJSON racelines are resampled and converted into curvature, corner, segment, and circuit-level features.
Linear models, neural networks, Transformers, and ranking algorithms were compared across historical Formula 1 seasons.
The project evaluates overall grid fit separately from the more difficult objective of correctly predicting pole position.
INTERACTIVE PREDICTION LAB
Choose a race and model, then watch the data move through the prediction pipeline.
The circuit raceline is loaded from GeoJSON, converted into meters, evenly resampled, and transformed into curvature values.
The interface demonstrates how the project’s predictions could be presented. Values are static portfolio examples rather than live Formula 1 forecasts.
TELEMETRY PIPELINE
Each point contains information about what the track is doing and how the driver is responding.
MODEL COMPARISON
A model can approximate the entire grid well while still failing to identify the driver starting in first place.
29 of 65 pole positions
Previous project benchmark
Approximate benchmark
One driver among twenty
TRANSFORMER ARCHITECTURE
Instead of words, every token represents one point along the circuit. Each token combines track curvature with the corresponding speed, throttle, and driver telemetry.
The Transformer examines relationships across the full lap and compresses them into a lap fingerprint used to predict qualifying time.