VforVitorio commited on
Commit
f7e071a
·
verified ·
1 Parent(s): e9c70fd

docs(cards): 70 Grand Prix, canonical lap-time MAE, and the real train/test split

Browse files
Files changed (1) hide show
  1. README.md +72 -68
README.md CHANGED
@@ -1,68 +1,72 @@
1
- ---
2
- license: apache-2.0
3
- language:
4
- - en
5
- tags:
6
- - formula-1
7
- - motorsport
8
- - race-strategy
9
- - multi-agent
10
- - langgraph
11
- - xgboost
12
- - lightgbm
13
- - temporal-convolutional-network
14
- - sports-analytics
15
- ---
16
-
17
- # F1 StratLab Strategy Models
18
-
19
- The machine learning models behind F1 StratLab, an open-source multi-agent system for
20
- Formula 1 race strategy. Six LangGraph sub-agents and a ReAct orchestrator call these
21
- models to produce pit-stop recommendations, tire-degradation forecasts, overtake and
22
- undercut probabilities, and answers grounded in the FIA regulations.
23
-
24
- Links:
25
-
26
- - Project: https://f1stratlab.com
27
- - Documentation: https://docs.f1stratlab.com
28
- - Source code: https://github.com/VforVitorio/F1-StratLab
29
- - Dataset: https://huggingface.co/datasets/VforVitorio/f1-strategy-dataset
30
-
31
- ## Models
32
-
33
- | Task | Algorithm | Metric |
34
- |---|---|---|
35
- | Lap-time prediction | XGBoost | MAE 0.392 s |
36
- | Tire degradation | TCN with Monte Carlo Dropout | P10/P50/P90 quantiles, pit-window detection |
37
- | Overtake probability | LightGBM | AUC-ROC 0.876 |
38
- | Safety-car probability | LightGBM | classifier |
39
- | Pit-stop duration | HistGradientBoosting (quantile) | MAE 0.487 s |
40
- | Undercut success | LightGBM (binary) | AUC-ROC 0.771 |
41
- | Team-radio NLP | Whisper, RoBERTa, SetFit, BERT-large | 4-stage pipeline |
42
-
43
- ## Training data
44
-
45
- Trained on telemetry, lap data and race-control messages from 71 Grand Prix across the
46
- 2023 to 2025 seasons, taken from the FastF1 and OpenF1 public APIs. The processed data is
47
- published as a companion dataset: VforVitorio/f1-strategy-dataset.
48
-
49
- ## Intended use
50
-
51
- Research and educational use for Formula 1 strategy analysis. Not affiliated with Formula 1,
52
- the FIA or any team. Predictions are estimates, not guarantees.
53
-
54
- ## Citation
55
-
56
- ```bibtex
57
- @misc{vegasobral2026f1stratlab,
58
- author = {Vega, V{\'i}ctor},
59
- title = {F1 StratLab: AI Models for Strategy Recommendations in Formula 1 Races},
60
- year = {2026},
61
- note = {Bachelor's Thesis, Intelligent Systems Engineering, UIE Campus Coru{\~n}a},
62
- url = {https://f1stratlab.com}
63
- }
64
- ```
65
-
66
- ## License
67
-
68
- Apache 2.0. Author: Víctor Vega (https://github.com/VforVitorio).
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ tags:
6
+ - formula-1
7
+ - motorsport
8
+ - race-strategy
9
+ - multi-agent
10
+ - langgraph
11
+ - xgboost
12
+ - lightgbm
13
+ - temporal-convolutional-network
14
+ - sports-analytics
15
+ ---
16
+
17
+ # F1 StratLab Strategy Models
18
+
19
+ The machine learning models behind F1 StratLab, an open-source multi-agent system for
20
+ Formula 1 race strategy. Six LangGraph sub-agents and a ReAct orchestrator call these
21
+ models to produce pit-stop recommendations, tire-degradation forecasts, overtake and
22
+ undercut probabilities, and answers grounded in the FIA regulations.
23
+
24
+ Links:
25
+
26
+ - Project: https://f1stratlab.com
27
+ - Documentation: https://docs.f1stratlab.com
28
+ - Source code: https://github.com/VforVitorio/F1-StratLab
29
+ - Dataset: https://huggingface.co/datasets/VforVitorio/f1-strategy-dataset
30
+
31
+ ## Models
32
+
33
+ | Task | Algorithm | Metric |
34
+ |---|---|---|
35
+ | Lap-time prediction | XGBoost | MAE 0.410 s |
36
+ | Tire degradation | TCN with Monte Carlo Dropout | P10/P50/P90 quantiles, pit-window detection |
37
+ | Overtake probability | LightGBM | AUC-ROC 0.876 |
38
+ | Safety-car probability | LightGBM | classifier |
39
+ | Pit-stop duration | HistGradientBoosting (quantile) | MAE 0.487 s |
40
+ | Undercut success | LightGBM (binary) | AUC-ROC 0.771 |
41
+ | Team-radio NLP | Whisper, RoBERTa, SetFit, BERT-large | 4-stage pipeline |
42
+
43
+ ## Training data
44
+
45
+ Built from telemetry, lap data and race-control messages covering 70 Grand Prix across the
46
+ 2023 to 2025 seasons, taken from the FastF1 and OpenF1 public APIs. The seasons are not
47
+ interchangeable: every model **trains on 2023 and 2024** and is **tested on 2025**, which is
48
+ the holdout the shipped system infers on (`train_seasons: [2023, 2024]`, `test_season: 2025`
49
+ in each model config). Quoting a figure that pools all three is partly the system reading
50
+ back its own training data. The processed data is
51
+ published as a companion dataset: VforVitorio/f1-strategy-dataset.
52
+
53
+ ## Intended use
54
+
55
+ Research and educational use for Formula 1 strategy analysis. Not affiliated with Formula 1,
56
+ the FIA or any team. Predictions are estimates, not guarantees.
57
+
58
+ ## Citation
59
+
60
+ ```bibtex
61
+ @misc{vegasobral2026f1stratlab,
62
+ author = {Vega, V{\'i}ctor},
63
+ title = {F1 StratLab: AI Models for Strategy Recommendations in Formula 1 Races},
64
+ year = {2026},
65
+ note = {Bachelor's Thesis, Intelligent Systems Engineering, UIE Campus Coru{\~n}a},
66
+ url = {https://f1stratlab.com}
67
+ }
68
+ ```
69
+
70
+ ## License
71
+
72
+ Apache 2.0. Author: Víctor Vega (https://github.com/VforVitorio).