Submitted:
16 December 2023
Posted:
18 December 2023
You are already at the latest version
Abstract
Keywords:Â
1. Introduction
1.1. What is Squash?
1.2. Interferences and Referee Decisions
- A)
- a good view of the ball
- B)
- unobstructed access to the ball with the space to make a reasonable swing at the ball
- C)
- the freedom to strike the ball to any part of the entire front wall.
1.3. Controversies and Disputes
1.3.1. Regarding the Central Referee
1.3.2. The Video Review System
1.3.3. Controversies and Arguments



1.4. Machine Learning and Literature Review
1.5. Objectives of This Study
2. Materials
2.1. Data Collection
2.1.1. The PSA YouTube Channel
2.1.2. The Definition of âMomentâ and Six Data Components


2.2. Data Distribution



3. Methods
3.1. Python, TensorFlow, and Wolfram Mathematica
3.2. Neural Network

3.3. Normalization
3.4. Selection from the Six Data Components
3.5. Modified Data Points
3.5.1. Distance of Attacking Player (AP) to Retreating Player (RP)

3.5.2. Distance of Attacking Player to Ball Position in Frame


3.5.3. Distance of Retreating Player to Ball Position in Frame


3.5.4. Distance of Attacking Player to Second Bounce


3.5.5. Distance of Racket Head to Retreating Player

3.5.6. Distance of the Ball Position in Frame to Second Bounce

3.5.7. Distance of Racket Head to Ball Position in Frame

3.5.8. The Shortest Distance from Racquet Head to The Path of Ball


3.5.9. Access to the Front Wall: How Much is Blocked by the Other Player

4. Results
4.1. Results with Mathematica
4.1.1. Experimental Design
4.1.2. Model Performance on Primitive Data Components
4.1.2.1 Training on All Six Data Components

4.1.2.2 Dropping Out Data Components



4.1.3. Model Performance with Modified Data Components

4.1.3.2 Including Modified Data Components (MDCs) #1, #2, #3, #4, #6, #8, #9

4.1.3.3 Including Modified Data Components (MDCs) #1, #2, #3, #4, #6

4.1.4. Model Performance with Modified Data Components Combined with Primitive Data Components
4.1.4.1 Training with all 21 Data Components

4.1.4.2 Training with Primitive Data Components (PDCs) #1-10 and all Modified Data Components (MDCs)

4.1.4.3 Training with Primitive Data Components (PDCs) #1-10 and Modified Data Components (MDCs) #3, 5, 6, 8, and 9

4.2. Results with Python
4.2.1. Experimental Design
4.2.2. Model Performance on Primitive Data Components
4.2.2.1 Training on All Six Data Components
| Trial 1 | Trial 2 | Trial 3 | Trial 4 | Trial 5 | |
|---|---|---|---|---|---|
| Accuracy on the Test Set | 0.762 | 0.750 | 0.775 | 0.712 | 0.737 |
| Loss | 0.714 | 0.729 | 0.656 | 0.725 | 0.761 |
4.2.2.2 Dropping Out Data Components
| Trial 1 | Trial 2 | Trial 3 | Trial 4 | Trial 5 | |
|---|---|---|---|---|---|
| Accuracy on the Test Set | 0.825 | 0.712 | 0.813 | 0.700 | 0.800 |
| Loss | 0.747 | 0.571 | 0.461 | 1.03 | 0.491 |
| Trial 1 | Trial 2 | Trial 3 | Trial 4 | Trial 5 | |
|---|---|---|---|---|---|
| Accuracy on the Test Set | 0.800 | 0.75 | 0.738 | 0.788 | 0.738 |
| Loss | 0.930 | 0.643 | 0.624 | 0.552 | 0.662 |
| Trial 1 | Trial 2 | Trial 3 | Trial 4 | Trial 5 | |
|---|---|---|---|---|---|
| Accuracy on the Test Set | 0.788 | 0.800 | 0.800 | 0.775 | 0.75 |
| Loss | 0.714 | 0.525 | 0.526 | 0.934 | 0.634 |
| Trial 1 | Trial 2 | Trial 3 | Trial 4 | Trial 5 | |
|---|---|---|---|---|---|
| Accuracy on the Test Set | 0.738 | 0.675 | 0.775 | 0.712 | 0.738 |
| Loss | 0.568 | 0.752 | 0.617 | 0.752 | 0.943 |
4.2.3. Model Performance and Normalization
| Trial 1 | Trial 2 | Trial 3 | Trial 4 | Trial 5 | |
|---|---|---|---|---|---|
| Accuracy on the Test Set | 0.625 | 0.712 | 0.712 | 0.825 | 0.712 |
| Loss | 0.849 | 0.679 | 0.733 | 0.59 | 0.714 |
4.2.4. Model Performance with Modified Data Components
4.2.4.1 All Nine Modified Data Components (MDCs)
| Trial 1 | Trial 2 | Trial 3 | Trial 4 | Trial 5 | |
|---|---|---|---|---|---|
| Accuracy on the Test Set | 0.825 | 0.837 | 0.762 | 0.774 | 0.825 |
| Loss | 0.685 | 0.374 | 0.430 | 0.615 | 0.603 |
4.2.4.2 Including Modified Data Components (MDCs) #1, #2, #3, #4, #6, #8, #9
| Trial 1 | Trial 2 | Trial 3 | Trial 4 | Trial 5 | |
|---|---|---|---|---|---|
| Accuracy on the Test Set | 0.813 | 0.800 | 0.775 | 0.813 | 0.850 |
| Loss | 0.557 | 0.538 | 0.421 | 0.535 | 0.985 |
4.2.4.3 Including Modified Data Components (MDCs) #1, #2, #3, #4, #6
| Trial 1 | Trial 2 | Trial 3 | Trial 4 | Trial 5 | |
|---|---|---|---|---|---|
| Accuracy on the Test Set | 0.775 | 0.75 | 0.887 | 0.762 | 0.850 |
| Loss | 0.573 | 0.530 | 0.353 | 0.528 | 0.545 |
4.2.5. Model Performance with Modified Data Components combined with Primitive Data Components
4.2.5.1 Training with all 21 data Components
| Trial 1 | Trial 2 | Trial 3 | Trial 4 | Trial 5 | |
|---|---|---|---|---|---|
| Accuracy on the Test Set | 0.850 | 0.813 | 0.837 | 0.850 | 0.837 |
| Loss | 0.562 | 1.32 | 0.561 | 0.425 | 0.547 |
4.2.5.2 Training with Primitive Data Components (PDC) 1-10 and all Modified Data Components (MDCs)
| Trial 1 | Trial 2 | Trial 3 | Trial 4 | Trial 5 | |
|---|---|---|---|---|---|
| Accuracy on the Test Set | 0.875 | 0.762 | 0.875 | 0.837 | 0.912 |
| Loss | 1.39 | 0.764 | 0.319 | 0.399 | 0.252 |
4.2.5.3 Training with Primitive Data Components (PDCs) #1-10 and Modified Data Components (MDCs) #3, 5, 6, 8, and 9
| Trial 1 | Trial 2 | Trial 3 | Trial 4 | Trial 5 | |
|---|---|---|---|---|---|
| Accuracy on the Test Set | 0.875 | 0.813 | 0.837 | 0.850 | 0.875 |
| Loss | 0.466 | 0.760 | 0.472 | 0.424 | 0.364 |
5. Discussion
5.1. Analysis of Result
5.1.1. Overall Result
5.1.2. Usefulness of Different Data Components
5.2. Case-by-case Analysis of Some Wrong Calls
5.2.1. Yes Lets Classified Incorrectly


5.2.2. No Lets Classified Incorrectly


5.2.3. Strokes Classified Incorrectly


5.3. Limitations
5.3.1. Limitations in the Data Collection Process
5.3.1.1 Dataset is Too Small
5.3.1.2. Speed and Height of The Ball

5.3.1.3. Assumed All Decisions are Correct
5.3.1.4. Took in Different Standards of Refereeing
5.3.1.5. Different Definition of âMomentâ
5.3.1.6. When the Ball Bounces Off the Back Wall
5.3.1.7. Time Taken to Clear

5.3.1.8. Speed and Arm Length of Different Players
5.3.1.9. Situations of No Appeal
5.3.1.10. Ability to Take Further Movement

5.3.1.11. Ability to Make Shot

5.3.1.12. Degree of Interference

5.3.2. Limitations Caused by Abstract Refereeing Concepts
5.3.2.1. Idea of âWrong Pathâ
5.3.2.2. Idea of âAccepting Interferenceâ

5.3.2.3. Idea of âMinimal Interferenceâ and âLack of Effortâ

5.3.2.4. Idea of âPunishment for Bad Shot,â âGoing Around Opponent,â and âShut Outâ

5.3.2.6. Idea of ânot allowing to clearâ

5.4. Novel Contributions of this Study
6. Conclusions
- Wolfram Mathematica achieved a best average accuracy of 86% ± 3.03%; Python achieved a best average accuracy of 85.2% ± 5.1%.
- The accuracies indicate near-human performances, as in most squash matches with 20 to 30 decisions, the referees already make almost three controversial decisions each match.
- Our model has a high potential for improvement, as it is currently being trained with a limited amount of data and a lack of essential information such as the time and the speed. The performance of our model is bound to improve significantly with a larger training data set (say, with 10 or even a 100 times more referee decisions).
- Compared to human referees, the models trained through machine learning follow a singular refereeing standard, do not have a limited attention span, and make decisions almost instantly.
- The model can potentially serve as an extra refereeing official for professional squash matches.
7. Future Work
Supplementary Materials
Author Contributions
Funding
Data Availability Statement
Acknowledgements
Conflicts of Interest
Appendix A: Remaining four trials for âTraining on All Six Data Pointsâ

Appendix B: Remaining four trials for âDropping out Racket Head Positionâ

Appendix C: Remaining four trials for âDropping out Racket Head Position and the First Bounce Positionâ

Appendix D: Remaining four trials for âDropping out Racket Head Position and Second Bounce Positionâ

Appendix E: Remaining four trials for âAll Nine Modified Data(MD) Pointsâ

Appendix F: Remaining four trials for âIncluding MD #1, #2, #3, #4, #6, #8, #9â

Appendix G: Remaining four trials for âIncluding MD #1, #2, #3, #4, #6â

Appendix H: Remaining four trials for âTraining with all 21 data pointsâ

Appendix I: Remaining four trials for âTraining with PD 1-10 and all MDâ

Appendix J: Remaining four trials for âTraining with PD 1-10 and MD #3, 5, 6, 8, and 9â

References
- PSA World Tour. (2023, January 26). Squash rules - the basics explained. PSA World Tour. https://www.psaworldtour.com/news/squash-rules-the-basics-explained/.
- SQUASHTV. (2023, June 21). Elias v Asal | World Tour Finals 2022-23 | FREE LIVE MATCH! [Video]. YouTube. https://www.youtube.com/watch?v=Fg_7zxHsFUU&t=2123s.
- Brumann, C., Kukuk, M., & Reinsberger, C. (2021). Evaluation of open-source and pre-trained deep convolutional neural networks suitable for player detection and motion analysis in squash. Sensors, 21(13), 4550. [CrossRef]
- Hu, T., Zheng, M., Li, J. et al. A scene-adaptive motion detection model based on machine learning and data clustering. Multimed Tools Appl 74, 2821â2839 (2015). https://doi-org.ezproxy.oberlin.edu/10.1007/s11042-013-1741-0.
- Menashe, J. et al. (2018). Fast and Precise Black and White Ball Detection for RoboCup Soccer. In: Akiyama, H., Obst, O., Sammut, C., Tonidandel, F. (eds) RoboCup 2017: Robot World Cup XXI. RoboCup 2017. Lecture Notes in Computer Science(), vol 11175. Springer, Cham. https://doi-org.ezproxy.oberlin.edu/10.1007/978-3-030-00308-1_4.
- Hiemann, A., Kautz, T., Zottmann, T., & Hlawitschka, M. (2021). Enhancement of Speed and Accuracy Trade-Off for Sports Ball Detection in VideosâFinding Fast Moving, Small Objects in Real Time. Sensors, 21(9), 3214. MDPI AG. [CrossRef]
- Bayram, F., Garbarino, D., Barla, A. (2021). Predicting Tennis Match Outcomes with Network Analysis and Machine Learning. In: BureĆĄ, T., et al. SOFSEM 2021: Theory and Practice of Computer Science. SOFSEM 2021. Lecture Notes in Computer Science(), vol 12607. Springer, Cham. https://doi-org.ezproxy.oberlin.edu/10.1007/978-3-030-67731-2_37.
- Maier, T., Meister, D., Trösch, S., & Wehrlin, J. P. (2018). Predicting biathlon shooting performance using machine learning. Journal of Sports Sciences, 36(20), 2333-2339. [CrossRef]
- Capobianco, G., Di Giacomo, U., Mercaldo, F., Nardone, V., & Santone, A. (2019). Can Machine Learning Predict Soccer Match Results? In Proceedings of the 11th International Conference on Agents and Artificial Intelligence - Volume 2: ICAART (pp. 458-465). SciTePress. [CrossRef]
- Nguyen, N. H., Nguyen, D. T. A., Ma, B., & Hu, J. (2021). The application of machine learning and deep learning in sport: Predicting NBA playersâ performance and popularity. Journal of Information and Telecommunication, 6(2), 217-235. [CrossRef]
- Draschkowitz, L., Draschkowitz, C., Hlavacs, H. (2014). Predicting Shot Success for Table Tennis Using Video Analysis and Machine Learning. In: Reidsma, D., Choi, I., Bargar, R. (eds) Intelligent Technologies for Interactive Entertainment. INTETAIN 2014. Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering, vol 136. Springer, Cham. [CrossRef]
- Balmer, Nigel J., Alan M. Nevill, Andrew M. Lane, and Paul Ward. "Influence of crowd noise on soccer refereeing consistency in soccer." Journal of Sport Behavior 30, no. 2 (2007): 130.
- Dohmen, T., & Sauermann, J. (2016). REFEREE BIAS. Journal of Economic Surveys, 30, 679-695. [CrossRef]
- Morgulev, E., Azar, O. H., Lidor, R., Sabag, E., & Bar-Eli, M. (2018). Searching for Judgment Biases Among Elite Basketball Referees. Frontiers in Psychology, 9. [CrossRef]
- Murray, S., James, N., PerĆĄ, J., Mandeljc, R., & VuÄkoviÄ, G. (2018). Using a situation awareness approach to determine decision-making behaviour in squash. Journal of Sports Sciences, 36(12), 1415-1422. [CrossRef]
- Professional Squash Association (PSA). (2012, Janurary 9). PSA Squash TV [YouTube Channel]. YouTube. https://www.youtube.com/@squashtv.
- SQUASHTV. (2014, December 25). Squash: Full Match - 2014 El Gouna International SF - Elshorbagy v Gaultier [Video]. YouTube. https://www.youtube.com/watch?v=HyX7IV-YhKo&list=PLxmhcE3iz1lCnuIXg2hOHD29HooENItXg&index=130.
- PSA World Tour. (2011, September 8). PSA to Roll Out Video Review for all TV events. World Squash. https://www.worldsquash.org/psa-to-roll-out-video-review-for-all-tv-events/.
- Chang, YH., Chung, CY. (2020). Classification of Breast Cancer Malignancy Using Machine Learning Mechanisms in TensorFlow and Keras. In: Lin, KP., Magjarevic, R., de Carvalho, P. (eds) Future Trends in Biomedical and Health Informatics and Cybersecurity in Medical Devices. ICBHI 2019. IFMBE Proceedings, vol 74. Springer, Cham. https://doi-org.ezproxy.oberlin.edu/10.1007/978-3-030-30636-6_6.
- Kompella, S., Likith Vishal, B., Sivalaya, G. (2022). A Comparative Study of Classification Algorithms Over Images Using Machine Learning and TensorFlow. In: Shakya, S., Bestak, R., Palanisamy, R., Kamel, K.A. (eds) Mobile Computing and Sustainable Informatics. Lecture Notes on Data Engineering and Communications Technologies, vol 68. Springer, Singapore. https://doi-org.ezproxy.oberlin.edu/10.1007/978-981-16-1866-6_20.
- Gundina, M. A., & Zhdanovich, M. N. (2022). Automatic localization of a car license plate in the Wolfram Mathematica system. SCIENCE and TECHNOLOGY, 21(5), 367-373. [CrossRef]
- Ortigoza, G., & Zapata, U. (2021). Covid-19 Projections: A Simple Machine Learning Approach. In 2021 IEEE International Conference on Engineering Veracruz (ICEV) (pp. 1-4). Boca del RĂo, Veracruz, Mexico. [CrossRef]
- SQUASHTV. (2020, March 18). PSA Rewind: Willstrop v Gawad - 2018 Grasshopper Cup - Full Squash Match [Video]. YouTube. https://www.youtube.com/watch?v=2T6AXYrhwZQ&list=PLxmhcE3iz1lCnuIXg2hOHD29HooENItXg&index=72.
- SQUASHTV. (2014, December 24). Squash: Full Match - 2014 Tournament of Champions - Shabana v Matthew [Video]. YouTube. https://www.youtube.com/watch?v=OI0xHMRut88&list=PLxmhcE3iz1lCnuIXg2hOHD29HooENItXg&index=125.
- SQUASHTV. (2014, December 25). Squash: Full Match - 2014 British Open SF - Matthew v Elshorbagy (British Open) [Video]. YouTube. https://www.youtube.com/watch?v=nwzMnIECgDk&list=PLxmhcE3iz1lCnuIXg2hOHD29HooENItXg&index=127.
- SQUASHTV. (2019, June 5). Squash Archive: Shabana v Matthew - 2012/13 World Tour Finals [Video]. YouTube. https://www.youtube.com/watch?v=AASrbKRyAUo&list=PLxmhcE3iz1lCnuIXg2hOHD29HooENItXg&index=79.
- SQUASHTV. (2013, December 24). SQUASH: Full Match - 2012 PSA World Championship Final - Ashour v Elshorbagy [Video]. YouTube. https://www.youtube.com/watch?v=s6QcWY5wEak&list=PLxmhcE3iz1lCnuIXg2hOHD29HooENItXg&index=119.
- SQUASHTV. (2013, October 5). Squash: Full Match - Canary Wharf 2010 SF - Matthew v Willstrop [Video]. YouTube. https://www.youtube.com/watch?v=HtwckCfSIHU&list=PLxmhcE3iz1lCnuIXg2hOHD29HooENItXg&index=118.
- SQUASHTV. (2013, October 5). Squash: Full Match - 2011 World Series Finals, Final - Shabana v Gaultier [Video]. YouTube. https://www.youtube.com/watch?v=fdYZePDe69s&list=PLxmhcE3iz1lCnuIXg2hOHD29HooENItXg&index=118.
- SQUASHTV. (2016, March 18). Squash: Free (Match) Friday - Ashour v Gaultier - British Open 2013 Final [Video]. YouTube. https://www.youtube.com/watch?v=5O3fpxcExu0&list=PLxmhcE3iz1lCnuIXg2hOHD29HooENItXg&index=115.
- SQUASHTV. (2019, December 25). Squash: Farag v Coll - Full Match - British Open 2019 - Christmas Cracker [Video]. YouTube. https://www.youtube.com/watch?v=ntNh7L1pTag&list=PLxmhcE3iz1lCnuIXg2hOHD29HooENItXg&index=77.
- Saini, V. (2023, April 18). Average shoulder width for men and women. Fitness Volt. https://fitnessvolt.com/average-shoulder-width/#:~:text=According%20to%20the%20same%20CDC,the%2030%2D39%20age%20group.
- Wolfram. (n.d.). Classifying Data with Neural Networks. Classifying data with neural networks-wolfram language documentation. https://reference.wolfram.com/language/tutorial/NeuralNetworksClassification.html.
- SQUASHTV. (2018, December 18). Squash: 100k Subscriber Special - Matthew v Gaultier ToC 2018 Full Match [Video]. YouTube. https://www.youtube.com/watch?v=6lniVi_ScJI&list=PLxmhcE3iz1lCnuIXg2hOHD29HooENItXg&index=82.
- SQUASHTV. (2014, December 25). BEST SQUASH MATCH EVER? 2014 World Championship Final: Ashour v Elshorbagy - Full Match [Video]. YouTube. https://www.youtube.com/watch?v=-xs8EUlCL5o&list=PLxmhcE3iz1lCnuIXg2hOHD29HooENItXg&index=116.
- SQUASHTV. (2016, May 6). Squash: Free (Match) Friday - 2013/14 World Series Finals - Elshorbagy v Ashour FINAL [Video]. YouTube. https://www.youtube.com/watch?v=lpEQp1raU00&list=PLxmhcE3iz1lCnuIXg2hOHD29HooENItXg&index=113.
- SQUASHTV. (2012, June 22). Squash: Full Match - 2012 British Open SF - Willstrop v Ashour [Video]. YouTube. https://www.youtube.com/watch?v=8eaAa0R4nck&list=PLxmhcE3iz1lCnuIXg2hOHD29HooENItXg&index=120.
- SQUASHTV. (2019, April 23). Squash: Ramy Retirement Special - Full Match - Ashour v ElShorbagy - Grasshopper Cup 2018 [Video]. YouTube. https://www.youtube.com/watch?v=yhKcp2QpdI4&list=PLxmhcE3iz1lCnuIXg2hOHD29HooENItXg&index=80.
Disclaimer/Publisherâs Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).