Downloads · 30 days
0
datamatters24/f1-race-predictor-model
f1-race-predictor-model is a machine learning model from datamatters24. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
XGBoost + LightGBM ensemble predicting Formula 1 race winners from 76 seasons of historical data. Tuned with Optuna hyperparameter optimization across 200 trials. Auto-retrains weekly during the active season.
Downloads · 30 days
0
Access
Public
Updated May 5, 2026
Repo size
5.4 MB
Likes
0
Public
Click a slice to open those files.
.joblib2.4 MB · 91%
From the Hugging Face model README
XGBoost + LightGBM ensemble predicting Formula 1 race winners from 76 seasons of historical data. Tuned with Optuna hyperparameter optimization across 200 trials. Auto-retrains weekly during the active season.
Live demo: telemetrychaos.space
| Metric | Score |
|---|---|
| Top-1 Accuracy | 53% |
| Top-3 Accuracy | 85% |
| Top-5 Accuracy | 96% |
Evaluated on 2024–2025 seasons with time-series split to prevent data leakage.
XGBoost (GPU) + LightGBM
Optuna HPO: 200 trials, TPE sampler
Time-series split: train on seasons N-5 to N-1, evaluate on N
Final output: softmax win probabilities per driver
import joblib
model = joblib.load("f1_ensemble.joblib")
# Input: 21-feature vector per driver
# Output: win probability (0-1)
probs = model.predict_proba(X)
During the active F1 season the model retrains weekly:
@misc{rubin2026telemetrychaos,
author = {Rubin, Theodore},
title = {Telemetry Chaos: F1 Race Prediction with XGBoost/LightGBM Ensemble},
year = {2026},
publisher = {HuggingFace},
url = {https://huggingface.co/datamatters24/f1-race-predictor-model}
}