Prediction of Formula 1 Race Results Using Machine Learning

Thesis title: Predikce výsledků závodů Formule 1 pomocí strojového učení
Author: Horák, Petr
Thesis type: Bakalářská práce
Supervisor: Čabla, Adam
Opponents: Šafr, Karel
Thesis language: Česky
Abstract:
Formule 1 bývá často označována za sport, jehož výsledky jsou do značné míry předvídatelné a v němž o výsledku závodu často rozhoduje už kvalifikace. Tato práce se proto zaměřuje na otázku, do jaké míry lze výsledek pilota v závodě Formule 1 předpovědět na základě informací dostupných před startem závodu. Současně zkoumá, jak významnou roli v této predikci hraje samotný výsledek kvalifikace ve srovnání s dalšími charakteristikami. Analýza vychází z několika datových zdrojů obsahujících historická data o závodech Formule 1. Pro účely modelování byla data omezena na sezony 2010–2025 a cílová proměnná byla definována jako vícetřídní klasifikace do čtyř tříd: Vítězství, Pódium, Body a Bez bodů. Na takto připravených datech byly porovnány modely rozhodovacího stromu, náhodného lesa, XGBoost, CatBoost a neuronové sítě. Při hodnocení modelů byl kladen důraz nejen na klasické klasifikační metriky, ale i na metriky zohledňující kvalitu pravděpodobnostních predikcí. Výsledky ukazují, že na použitých testovacích datech dosáhl nejlepších hodnot ve většině klasifikačních metrik model CatBoost, avšak rozdíly mezi jednotlivými modely nebyly výrazné. Současně se ukázalo, že nejobtížnější je predikce méně zastoupených tříd Vítězství a Pódium. Interpretace modelů dále naznačuje, že dominantní roli při predikci hraje kvalifikace, zejména startovní pozice a odstup od vítěze kvalifikace, přičemž významnou doplňující roli mají i ukazatele aktuální a dlouhodobé výkonnosti pilota a týmu.
Keywords: Formule 1; strojové učení; predikce; klasifikace; model; data; závod; kvalifikace
Thesis title: Prediction of Formula 1 Race Results Using Machine Learning
Author: Horák, Petr
Thesis type: Bachelor thesis
Supervisor: Čabla, Adam
Opponents: Šafr, Karel
Thesis language: Česky
Abstract:
Formula 1 is often described as a sport whose outcomes are largely predictable and in which the result of a race is frequently shaped already by qualifying. This thesis therefore addresses the question of to what extent a driver’s race result in Formula 1 can be predicted using information available before the start of the race. At the same time, it examines how important the qualifying result itself is for such prediction in comparison with other characteristics. The analysis draws on several data sources containing historical Formula 1 race data. For modelling purposes, the data were restricted to the 2010–2025 seasons, and the target variable was defined as a multiclass classification problem with four classes: Win, Podium, Points, and No Points. Using the resulting dataset, decision tree, random forest, XGBoost, CatBoost, and neural network models were compared. In evaluating the models, emphasis was placed not only on conventional classification metrics but also on metrics reflecting the quality of probabilistic predictions. The results show that, on the test data used, CatBoost achieved the best values in most classification metrics, although the differences between the individual models were not substantial. At the same time, the less frequent classes Win and Podium proved to be the most difficult to predict. Model interpretation further suggests that qualifying plays the dominant role in prediction, especially starting position and the gap to the qualifying winner, while indicators of the driver’s and constructor’s current and long-term performance also make an important additional contribution.
Keywords: Formula 1; machine learning; prediction; classification; model; data; race; qualifying

Information about study

Study programme: Data Analytics
Type of study programme: Bakalářský studijní program
Assigned degree: Bc.
Institutions assigning academic degree: Vysoká škola ekonomická v Praze
Faculty: Faculty of Informatics and Statistics
Department: Department of Statistics and Probability

Information on submission and defense

Date of assignment: 24. 11. 2025
Date of submission: 8. 5. 2026
Date of defense: 17. 6. 2026
Identifier in the InSIS system: https://insis.vse.cz/zp/94618/podrobnosti

Files for download

    Last update: