Predictive model of playing position in soccer players u-20 150 through machine learning

Authors

DOI:

https://doi.org/10.47197/retos.v83.118967

Keywords:

Machine Learning, Playing Position, Predictive Model, Soccer

Abstract

Introduction: Identifying playing positions through physical variables may contribute to optimizing training planning in young soccer players by supporting objective decision-making during talent identification and individualized training prescription. Objective: The aim of this study was to develop a supervised multiclass classification model to predict playing position in under-20 soccer players using anthropometric and physical performance variables.

Methodology: A quantitative, observational, cross-sectional, and predictive study was conducted with 160 under-20 soccer players equally distributed among goalkeepers, defenders, midfielders, and forwards. Anthropometric variables, speed, agility, strength, power, aerobic endurance, and training load were assessed using standardized field-based tests. Five supervised classification algorithms were compared, and their performance was evaluated using stratified cross-validation and standard classification metrics, including accuracy, precision, recall, and macro F1-score.

Results: The Gaussian Naïve Bayes model achieved the best performance (macro F1-score = 0.728), reaching an overall accuracy of 78% on the independent test set. The variables with the greatest predictive importance were the 30-m sprint, COD505 change-of-direction test, Agility T-Test, 20-m sprint, Yo-Yo test, and VO₂max, whereas anthropometric variables contributed less to the prediction.

Conclusions: Speed, agility, and aerobic capacity were the main predictors of playing position in under-20 soccer players. Machine learning models represent an objective tool for identifying positional profiles, supporting individualized training programs, and providing useful information for player assessment and long-term athletic development.

References

Alpaydin, E. (2020). Introduction to machine learning (4th ed.). MIT Press.

Azcárate Jiménez, U., & Yanci Irigoyen, J. (2016). Perfil físico en futbolistas de categoría amateur de acuerdo a la posición que ocupan en el campo. Revista Española de Educación Física y Deportes, (415), 21–37. https://doi.org/10.55166/reefd.v0i415.504

Breiman, L. (2001). Random forests. Machine Learning, 45(1), 5–32. https://doi.org/10.1023/A:1010933404324

Çetin, O., & Koçak, M. (2022). Repeated sprint ability of youth football players in the same age category according to playing position and competition level. Montenegrin Journal of Sports Science and Medicine, 11(1), 59–63. https://doi.org/10.26773/mjssm.220307

Cometti, G. (2007). La preparación física en el fútbol. Editorial Paidotribo.

Efron, B., & Tibshirani, R. J. (1993). An introduction to the bootstrap. Chapman & Hall/CRC. https://doi.org/10.1201/9780429246593

Fawcett, T. (2006). An introduction to ROC analysis. Pattern Recognition Letters, 27(8), 861–874. https://doi.org/10.1016/j.patrec.2005.10.010

Fisher, A., Rudin, C., & Dominici, F. (2019). All Models are Wrong, but Many are Useful: Learning a Vari-able's Importance by Studying an Entire Class of Prediction Models Simultaneously. Journal of machine learning research : JMLR, 20, 177.

Harris, C. R., Millman, K. J., van der Walt, S. J., et al. (2020). Array programming with NumPy. Nature, 585(7825), 357–362. https://doi.org/10.1038/s41586-020-2649-2

Horníková, H., & Zemková, E. (2021). Relationship between physical factors and change of direction speed in team sports. Applied Sciences, 11(2), 655. https://doi.org/10.3390/app11020655

Jiménez-Reyes, P., Cuadrado-Peñafiel, V., & González-Badillo, J. J. (2011). Análisis de variables medidas en salto vertical relacionadas con el rendimiento deportivo y su aplicación al entrenamiento. Cultura, Ciencia y Deporte, 6(17), 113–119. https://doi.org/10.12800/ccd.v6i17.38

Keiner, M., Kapsecker, A., Stefer, T., Kadlubowski, B., & Wirth, K. (2021). Differences in squat jump, line-ar sprint, and change-of-direction performance among youth soccer players according to com-petitive level. Sports, 9(11), 149. https://doi.org/10.3390/sports9110149

McKinney, W. (2010). Data structures for statistical computing in Python. Proceedings of the 9th Py-thon in Science Conference, 56–61. https://doi.org/10.25080/Majora-92bf1922-00a

Medina-Curimilma, W. E. (2025). La importancia de la antropometría en el rendimiento deportivo del fútbol. MQRInvestigar, 9(1), e58. https://doi.org/10.56048/MQR20225.9.1.2025.e58

Moya, D., Tipantuña, C., Villa, G., Calderón-Hinojosa, X., Rivadeneira, B., & Álvarez, R. (2025). Machine learning applied to professional football: Performance improvement and results prediction. Machine Learning and Knowledge Extraction, 7(3), 85. https://doi.org/10.3390/make7030085

Musham, C., & Fitzpatrick, J. F. (2020). Familiarisation and reliability of the isometric mid-thigh pull in elite youth soccer players. Sport Performance & Science Reports, 85, 1–4.

Pedregosa, F., Varoquaux, G., Gramfort, A., et al. (2011). Scikit-learn: Machine learning in Python. Jour-nal of Machine Learning Research, 12, 2825–2830.

Raya, M. A., Gailey, R. S., Gaunaurd, I. A., Jayne, D. M., Campbell, S. M., Gagne, E., Manrique, P. G., Muller, D. G., & Tucker, C. (2013). Comparison of three agility tests with male servicemembers: Edgren Side Step Test, T-Test, and Illinois Agility Test. Journal of Rehabilitation Research and Develop-ment, 50(7), 951–960. https://doi.org/10.1682/JRRD.2012.05.0096

Sammoud, S., Negra, Y., Bouguezzi, R., Ramirez-Campillo, R., Moran, J., Bishop, C., & Chaabene, H. (2024). Effects of plyometric jump training on measures of physical fitness and lower-limb asymme-tries in prepubertal male soccer players: A randomized controlled trial. BMC Sports Science, Medicine and Rehabilitation, 16, 37. https://doi.org/10.1186/s13102-024-00821-9

Santacruz Marín, C. A., España Chacua, W. A., Gaviria Chavarro, J., Motato Rodríguez, L. A., & Galeano Virgen, J. D. (2025). Modelo predictivo del sprint basado en salto contramovimiento e índice de masa corporal en futbolistas. Sportis Scientific Journal, 11(4), 1–19. https://doi.org/10.17979/sportis.2025.11.4.11646

Sneha, S., Prithvi, B. S., Niranjanamurthy, M., Kiran Kumar, H. K., & Dayananda, P. (2024). Machine learn-ing based assessment of elite football players based on anthropometric and motor fitness pa-rameters with regard to their playing positions. SN Computer Science, 5, 974. https://doi.org/10.1007/s42979-024-03261-x

Sokolova, M., & Lapalme, G. (2009). A systematic analysis of performance measures for classification tasks. Information Processing & Management, 45(4), 427–437. https://doi.org/10.1016/j.ipm.2009.03.002

Sporiš, G., Jukić, I., Ostojic, S. M., & Milanović, D. (2009). Fitness profiling in soccer: Physical and physio-logic characteristics of elite players. Journal of Strength and Conditioning Research, 23(7), 1947–1953. https://doi.org/10.1519/JSC.0b013e3181b3e141

Vidal-Maturana, F., Gajardo-Cid, N., Merino-Muñoz, P., Hermosilla-Palma, F., Valdés-Badilla, P., & Herre-ra-Valenzuela, T. (2024). Relación entre potencia y fuerza isométrica con la capacidad de repe-tir sprint en futbolistas profesionales varones. SPORT TK-Revista Euroamericana de Ciencias del Deporte, 13(Supl. 3), 8. 10.6018/sportk.634671

Yagin, F. H., Hasan, U. C., Clemente, F. M., Eken, O., Badicu, G., & Gulu, M. (2023). Using machine learning to determine the positions of professional soccer players in terms of biomechanical variables. Proceedings of the Institution of Mechanical Engineers, Part P: Journal of Sports Engineering and Technology. Advance online publication. https://doi.org/10.1177/17543371231199814

Downloads

Published

30-05-2026

Issue

Section

Original Research Article

How to Cite

Gaviria Chavarro, J., Jiménez Trujillo, Óscar H., Marin, N. D., Gómez Peñaranda, J. J., Castro Valencia, F., Gómez García, M. Ángel, & Grisales Guerra, C. J. (2026). Predictive model of playing position in soccer players u-20 150 through machine learning. Retos, 83, 266-276. https://doi.org/10.47197/retos.v83.118967