Skip to main content

Analysis of Public Perceptions Towards the COVID-19 Vaccination Drive: A Case Study of Tweets with Machine Learning Classifiers

  • Chapter
  • First Online:
Disease Control Through Social Network Surveillance

Part of the book series: Lecture Notes in Social Networks ((LNSN))

  • 182 Accesses

Abstract

In the realm of contemporary soft computing practices, analysis of public perceptions and opinion mining (OM) have received considerable attention due to the easy availability of colossal data in the form of unstructured text generated by social media, e-commerce portals, blogs, and other similar web resources. The year 2020 witnessed the gravest epidemic in the history of mankind, and in the present year, we stand amidst a global, massive and exhaustive vaccination movement. Since the inception of the COVID-19 vaccines and their applications, people across the globe, from the ordinary public to celebrities and VIPs have been expressing their fears, doubts, experiences, expectations, dilemmas and perceptions about the current COVID-19 vaccination program. Being very popular among a large class of modern human society, the Twitter platform has been chosen in this research to study public perceptions about this global vaccination drive. More than 112 thousand Tweets from users of different countries around the globe are extracted based on hashtags related to the affairs of the COVID-19 vaccine. A three-tier framework is being proposed in which raw Tweets are extracted and cleaned first, visualized and converted into numerical vectors through word embedding and N-gram models next, and finally analyzed through a few machine learning classifiers with the standard performance metrics, accuracy, precision, recall, and F1-measure. The Logistic Regression (LR) and Adaptive Boosting (AdaBoost) classifiers attended the highest accuracies of 87% and 89% with the Bag of Words (BoW) and Term Frequency-Inverse Document Frequency (TF-IDF) word embedding models respectively. Overall, the BoW model achieved slightly better average classification accuracy (78.33%) than that of the TF-IDF model (77.89%). Moreover, the experimental results show that most of the people have a neutral attitude towards the current COVID-19 vaccination drive and people favoring the COVID-19 vaccination program are greater in number than those who doubt it and its consequences.

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

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 119.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.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

Institutional subscriptions

Notes

  1. 1.

    The reader can download complete dataset from here: https://drive.google.com/drive/folders/1AjA4PhZL7kAWfY_WItnQwJGxBUoLfP-W?usp=sharing

References

  1. Ritchie H et al (2021) Coronavirus (COVID-19) vaccinations. Our World Data

    Google Scholar 

  2. Infographic RE (2021) Public opinion about COVID-19 vaccination. KANTAR

    Google Scholar 

  3. Alam KN, Khan MS, Dhruba AR, Khan MM, Al-Amri JF, Masud M, Rawashdeh M (2021) Deep learning-based sentiment analysis of COVID-19 vaccination responses from Twitter data. Comput Math Methods Med 2021:Article ID 4321131. 1–15

    Google Scholar 

  4. Ansari MTJ, Khan NA (2021) Worldwide COVID-19 vaccines sentiment analysis through Twitter content. Electron J Gen Med 18(6):em329. 1–10

    Article  Google Scholar 

  5. Cotfas LA, Delcea C, Roxin I, Ioanas C, Simona GD, Tajariol F (2021) The longest month: analyzing COVID-19 vaccination opinions dynamics from tweets in the month following the first vaccine announcement. IEEE Access 9:33203–33223

    Article  Google Scholar 

  6. Dubey AK (2021) Public sentiment analysis of COVID-19 vaccination drive in India. SSRN

    Google Scholar 

  7. Leung K (2021) COVID-19 vaccine-what’s the public sentiment? Towards Data Sci

    Google Scholar 

  8. Piedrahita-Valdés H, Piedrahita-Castillo D, Bermejo-Higuera J, Guillem-Saiz P, Bermejo-Higuera JR, Guillem-Saiz J, Sicilia-Montalvo JA, Machío-Regidor F (2021) Vaccine hesitancy on social media: sentiment analysis from June 2011 to APRIL 2019. Vaccines 9(1):28

    Article  Google Scholar 

  9. Roe C, Lowe M, Williams B, Miller C (2021) Public perception of SARS-CoV-2 vaccinations on social media: questionnaire and sentiment analysis. Int J Environ Res Public Health 18(24):13028

    Article  Google Scholar 

  10. Singh M, Jakhar AK, Pandey S (2021) Sentiment analysis on the impact of coronavirus in social life using the BERT model. Soc Netw Anal Min 11(33)

    Google Scholar 

  11. Yousefinaghani S, Dara R, Mubareka S, Papadopoulos A, Sharif S (2021) An analysis of COVID-19 vaccine sentiments and opinions on Twitter. Int J Infect Dis 108:256–262

    Article  Google Scholar 

  12. Hum K (2020) Sentiment analysis: evaluating the public’s perception of the COVID19 vaccine. Towards Data Sci

    Google Scholar 

  13. Raghupathi V, Ren J, Raghupathi W (2020) Studying public perception about vaccination: a sentiment analysis of tweets. Int J Environ Res Public Health 17(10)

    Google Scholar 

  14. Samuel J, Ali GGMN, Rahman MM, Esawi E, Samuel Y (2020) COVID-19 public sentiment insights and machine learning for tweets classification. Information 11(16):314

    Article  Google Scholar 

  15. Tavoschi L, Quattrone F, D’Andrea E, Ducange P, Vabanesi M, Marcelloni F, Lopalco PL (2020) Twitter as a sentinel tool to monitor public opinion on vaccination: an opinion mining analysis from September 2016 to August 2017 in Italy. Hum Vaccines Immunother 16(5):1062–1069

    Article  Google Scholar 

  16. Zhang L, Fan H, Peng C, Rao G, Cong Q (2020) Sentiment analysis methods for HPV vaccines related tweets based on transfer learning. Healthcare 8(3):307

    Article  Google Scholar 

  17. On J, Park H, Song T (2019) Sentiment analysis of social media on childhood vaccination: development of an ontology. J Med Internet Res 21(6):e13456

    Article  Google Scholar 

  18. Mitra T, Counts S, Pennebaker JW (2016) Understanding anti-vaccination attitudes in social media. In: Proceedings of the tenth international AAAI conference on web and social media, Cologne, Germany

    Google Scholar 

  19. Numnark S, Ingsriswang S, Wichadakul D (2014) VaccineWatch: a monitoring system of vaccine messages from social media data. In: 8th international conference on systems biology (ISB), Qingdao, China, pp 112–117

    Google Scholar 

  20. Salathé M, Khandelwal S (2011) Assessing vaccination sentiments with online social media: Implications for infectious disease dynamics and control. PLoS Comput Biol

    Google Scholar 

  21. Martí P, Serrano-Estrada L, Nolasco-Cirugeda A (2019) Social media data: challenges, opportunities and limitations in urban studies. Comput Environ Urban Syst 74:161–174

    Article  Google Scholar 

  22. Hajirahimova MS, Aliyeva AS (2017) About big data measurement methodologies and indicators. Int J Modern Educ Comput Sci 9(10):1–94

    Article  Google Scholar 

  23. Arora I (2020) Create a word cloud or tag cloud in python. Analytics Vidhya

    Google Scholar 

  24. Nagamanjula R, Pethalakshmi A (2020) A novel framework based on bi-objective optimization and LAN2FIS for Twitter sentiment analysis. Soc Netw Anal Min 10(34)

    Google Scholar 

  25. Nisha VM, Kumar AR (2019) Implementation on text classification using bag of words model. In: Proceedings of the second international conference on emerging trends in science & technologies for engineering systems (ICETSE-2019)

    Google Scholar 

  26. Rahman S, Talukder KH, Mithila SK (2021) An empirical study to detect cyberbullying with TF-IDF and machine learning algorithms. In: International conference on electronics, communications and information technology (ICECIT), pp 1–4

    Google Scholar 

  27. Aksayli ND, Islek I, Karaman CC, Güngör O (2021) Word-wise explanation method for deep learning models using character N-gram input. In: 29th signal processing and communications applications conference (SIU), pp 1–4

    Google Scholar 

  28. Hamarashid HK, Saeed SA, Rashid TA (2020) Next word prediction based on the N-gram model for Kurdish Sorani and Kurmanji. Neural Comput Appl 33:4547–4566

    Article  Google Scholar 

  29. Powers DMW (2000) Evaluation: from precision, recall and F-measure to ROC, informedness, markedness and correlation. ArXiv

    Google Scholar 

  30. Goutte C, Gaussier E (2005) A probabilistic interpretation of precision, recall and F-score, with implication for evaluation. In: Losada DE, Fernández-Luna JM (eds) Advances in information retrieval. ECIR 2005. Lecture notes in computer science, vol 3408

    Google Scholar 

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 Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Kumar, K., Pande, B.P. (2022). Analysis of Public Perceptions Towards the COVID-19 Vaccination Drive: A Case Study of Tweets with Machine Learning Classifiers. In: Bourlai, T., Karampelas, P., Alhajj, R. (eds) Disease Control Through Social Network Surveillance. Lecture Notes in Social Networks. Springer, Cham. https://doi.org/10.1007/978-3-031-07869-9_1

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-07869-9_1

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-07868-2

  • Online ISBN: 978-3-031-07869-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics