Using Machine Learning to Forecast Football Shot Outcomes

Authors

  • Udit Mishra Jayshree Periwal International School

DOI:

https://doi.org/10.26821/IJSHRE.12.10.2024.121002

Keywords:

Football, goals, machine learning, prediction

Abstract

Machine learning algorithms are employed on a football data set to forecast whether a shot results in a goal. Results from existing models are improved upon by employing various additional algorithms. At the initial stage, the study gathered data from an existing Kaggle article published online by Usama Waheed. The data set includes data from various leagues and their matches. The research analysed shot events, filtered out non-relevant events, and created features based on shot coordinates, angles, player skill, and shot type. Nine machine learning algorithms were implemented: logistic regression, XGBoost, random forests, support vector machines, k-nearest neighbours, decision trees, LightGBM, CatBoost, and artificial neural networks. The research also focused on removing the redundancy, optimizing performance on imbalanced datasets, and fine-tuning model hyperparameters by employing nested cross-validation. Lastly, the models were evaluated on accuracy, precision, recall, and training time metrics. The results revealed insights into the strengths and weaknesses of each model in predicting goals, with specific emphasis on areas of improvement for shot-based football analytics. Decision trees produced the most accurate predictions on the test set.

References

. GeeksforGeeks, “Supervised vs Unsupervised Learning,” GeeksforGeeks, September 2024.

. A. J. Owen, M. F. James, and S. J. Dolan, “Forecasting and decision analysis in football betting,” International Journal of Forecasting, vol. 21, no. 2, pp. 331-340, Apr.-Jun. 2005.

. R. Baker and I. McHale, “Forecasting exact scores in National Football League games,” International Journal of Forecasting, vol. 29, no. 1, pp. 122-130, 2013.

. R. Mattera, “Forecasting binary outcomes in soccer,” Annals of Operations Research, vol. 325, pp. 115-134, Aug. 2021.

. “Predicting outcomes in football: A statistical analysis,” Journal of Sports Analytics, vol. 7, pp. 77-97, 2021.

. Martin Eastwood, “Predicting Football Results Using Python and the Dixon and Coles Model”, Pena.lt/y, June 2021.

. Airback, “Match Outcome Prediction in Football”, Kaggle, February 2017.

. Saif Uddin, “Football Match Prediction”, Kaggle, February 2020.

. Gabriel II, “Expected Goals & Player Analysis”, Kaggle, November 2020.

.Usama Waheed, “Expected Goals (xG) Model”, Kaggle, May 2023.

Downloads

Published

2024-10-21

How to Cite

Udit Mishra. (2024). Using Machine Learning to Forecast Football Shot Outcomes. iJournals:International Journal of Software & Hardware Research in Engineering ISSN:2347-4890, 12(10). https://doi.org/10.26821/IJSHRE.12.10.2024.121002