Skip to main content

Automating Live Cricket Commentary Using Supervised Learning

  • Conference paper
  • First Online:
  • 699 Accesses

Part of the book series: Lecture Notes on Data Engineering and Communications Technologies ((LNDECT,volume 91))

Abstract

Cricket is one of the most popular sports in the world. It is a dynamic game involving complex rules and strategies. There are many websites like Cricbuzz and Cricinfo that provide live text commentary using journalists who report from the ground or use live telecast of the match. This process of using journalists for typing out live text commentary is both labor and cost intensive. This research presents an approach that uses dynamic web scraping to scrape live scores and associated parameters like run rate, outcome of each ball, etc. which are then fed to a supervised learning algorithm that uses all these parameters and generates a commentary for the current ball event by selecting an appropriate commentary template from a pool of predefined commentary templates. We also compare results between the different supervised learning algorithms, i.e., Neural Network and Random Forest, in terms of accuracy metrics and prove that Random Forest performs better by having an accuracy of 92.7% in generating the appropriate commentary.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   219.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   279.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD   279.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  1. Cunningham P (2008) Supervised learning. Springer, Berlin, Heidelberg

    Book  Google Scholar 

  2. Staff PE (2019) How to handle categorical data for machine learning algorithms. (Packt) Retrieved from https://hub.packtpub.com/how-to-handle-categorical-data-for-machine-learning-algorithms/

  3. Wang S-C (2003) Artificial neural network. In: Interdisciplinary computing in java programming. The springer international series in engineering and computer science, vol 743. Springer, Boston, 81–100

    Google Scholar 

  4. Ghoshal A, Types of neural networks. (EDUCBA) Retrieved from educba: https://www.educba.com/types-of-neural-networks/

  5. Ruck DW (1990) Feature selection using a multilayer perceptron. J Neural Netw Comput 2(2):40–48

    Google Scholar 

  6. Opitz D (1999) Popular ensemble methods: an empirical study. J Artif Intell Res

    Google Scholar 

  7. Rokach L (2010) Data mining and knowledge discovery handbook. Springer Science+Business Media, LLC

    Google Scholar 

  8. Perez M (2019) What is web scraping and what is it used for. (Parsehub) Retrieved from https://www.parsehub.com/blog/what-is-web-scraping/

  9. Nayak R (2019) Web scraping using beautiful soup and selenium for dynamic page. (Medium) Retrieved from https://medium.com/ymedialabs-innovation/web-scraping-using-beautiful-soup-and-selenium-for-dynamic-page-2f8ad15efe25

  10. Kumar R, Santhadevi D, Barnabas J (2019) Outcome classification in cricket using deep learning. In: 2019 IEEE international conference on cloud computing in emerging markets (CCEM), pp 55–58. https://doi.org/10.1109/CCEM48484.2019.00012

  11. Powers DM (2019) Evaluation: from precision, recall and F-factor to ROC, Informedness, Markedness & Correlation

    Google Scholar 

  12. Wood T, What is the F-score? (deepai) Retrieved from deepai.org: https://deepai.org/machine-learning-glossary-and-terms/f-score

  13. Bhalla A, Ahuja A, Pant P, Mittal A (2019) A multimodal approach for automatic cricket video summarization. In: 2019 6th international conference on signal processing and integrated networks (SPIN), pp. 146–150. https://doi.org/10.1109/SPIN.2019.8711625

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Hegde, A.S., Jha, K., Suganthi, S., Honnavalli, P.B. (2022). Automating Live Cricket Commentary Using Supervised Learning. In: Gupta, D., Polkowski, Z., Khanna, A., Bhattacharyya, S., Castillo, O. (eds) Proceedings of Data Analytics and Management . Lecture Notes on Data Engineering and Communications Technologies, vol 91. Springer, Singapore. https://doi.org/10.1007/978-981-16-6285-0_4

Download citation

Publish with us

Policies and ethics