Skip to main content

Sentiment Analysis of Tweets on Covid Vaccine (Pfizer): A Boosting-Based Machine Learning Solution

  • Conference paper
  • First Online:
Machine Intelligence and Emerging Technologies (MIET 2022)

Abstract

The SARS-CoV-2 virus causes COVID-19, which is a painful and infectious disease. The virus spreads rapidly from an infected person’s lips or nose. It is said that vaccines are an excellent option for staying safe and they allow us to stand shoulder to shoulder in schools, neighbourhoods, and places of worship. As we know social media is like a powerhouse of information. In this medium, individuals express their thoughts about vaccination by posting their vaccine-related queries and experiences. This proposed system has analyzed a tweet dataset concerning Pfizer Vaccine to explore the evolution of public opinions on COVID-19 vaccination before they are taking the vaccine. It aims to see how people reacted to the product by looking at their tweets during the product’s early stages and understanding consumers’ feelings in a better way. In this model, multiple pre-processing and feature extraction techniques such as TF-IDF and N-gram have been used. Various machine learning algorithms with several combinations of ideal hyperparameters have been used in each stage to analyze many elements as possible. It has been observed that the most outstanding results are achieved in gradient boosting using TF-IDF and word tokenization. Also, the proposed approach is used to broader surveillance vaccination campaigns, help governments develop, and evaluate appropriate communication channels for providing relevant information on these. It is potential to increase public confidence.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight 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

References

  1. Fu, Y., Jin, H., Xiang, H., Wang, N.: Optimal lockdown policy for vaccination during COVID-19 pandemic. Financ. Res. Lett. 45, 102123 (2022)

    Article  Google Scholar 

  2. Li, Y., Gao, X., Du, M., He, R., Yang, S., Xiong, J.: What causes different sentiment classification on social network services? Evidence from weibo with genetically modified food in China. Sustainability 12(4), 1345 (2022)

    Article  Google Scholar 

  3. Sinnenberg, L., Buttenheim, A.M., Padrez, K., Mancheno, C., Ungar, L., Merchant, R.M.: Twitter as a tool for health research: a systematic review. Am. J Public Health 107(1), e1–e8 (2017)

    Google Scholar 

  4. Deiner, M.S., et al.: Facebook and Twitter vaccine sentiment in response to measles outbreaks. Health Inform. J. 25(3), 1116–1132 (2019)

    Google Scholar 

  5. Supriya, B.N., Akki, C.B.: Sentiment prediction using enhanced XGBoost and tailored random forest. Int. J. Comput. Digit. Syst. 10(1), 191+ (2021). Gale Academic OneFile. Accessed 19 Dec 2021

    Google Scholar 

  6. Shoffan, S., Yuli, F., Agus, S.A.: Comparison of machine learning for sentiment analysis in detecting anxiety based on social media data. Jurnal Informatika 15(1), 45 (2021). https://doi.org/10.26555/jifo.v15i1.a20111

  7. Raza, H., Faizan, M., Hamza, A., Ahmed, M., Akhtar, N.: Scientific text sentiment analysis using machine learning techniques. Int. J. Adv. Comput. Sci. Appl. (IJACSA) 10(12) (2019). https://doi.org/10.14569/IJACSA.2019.0101222N

  8. Dang, N.C., María, M.G., Fernando, P.: Sentiment Analysis Based on Deep Learning: A Comparative Study. ArXiv abs/2006.03541 (2020). n. pag

    Google Scholar 

  9. Shayaa, S., et al.: Sentiment analysis of big data: methods, applications, and open challenges. IEEE Access 28(6), 37807–37827 (2018)

    Article  Google Scholar 

  10. El Rahman, S.A., Alotaibi, F.A., AlShehri, W.A.: Sentiment analysis of Twitter data. In: 2019 International Conference on Computer and Information Sciences (ICCIS), pp. 1–4 (2019)

    Google Scholar 

  11. Hitesh, M.S.R., Vaibhav, V., Kalki, Y.A., Kamtam, S.H., Kumari, S.: Real-time sentiment analysis of 2019 election tweets using word2vec and random forest model. In: 2019 2nd International Conference on Intelligent Communication and Computational Techniques (ICCT), 2019, pp. 146–151 (2019). https://doi.org/10.1109/ICCT46177.2019.8969049

  12. Ogudo, K.A., Dahj, N.: Sentiment analysis application and natural language processing for mobile network operators’ support on social media. In: 2019 International Conference on Advances in Big Data, Computing and Data Communication Systems (icABCD), pp. 1–10 (2019)

    Google Scholar 

  13. Vig, J., et al.: Investigating Gender Bias in Language Models Using Causal Mediation Analysis. InNeurIPS, 1 January 2020

    Google Scholar 

  14. Lewis, P., et al.: Retrieval-augmented generation for knowledge-intensive NLP tasks, 22 May 2020. arXiv preprint arXiv:2005.11401

  15. Song, K., Tan, X., Qin, T., Lu, J., Liu, T.Y.: Masked and permuted pre-training for language understanding, 20 April 2020. arXiv preprint arXiv:2004.09297

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

    Article  Google Scholar 

  17. Du, J., Xu, J., Song, H., Liu, X., Tao, C.: Optimization on machine learning based approaches for sentiment analysis on HPV vaccines related tweets. J. Biomed. Semant. 8(1), 1–7 (2017)

    Article  Google Scholar 

  18. Tsai, M.H., Wang, Y.: Analyzing Twitter data to evaluate people’s attitudes towards public health policies and events in the era of COVID-19. Int. J. Environ. Res. Public Health 18(12), 6272 (2021)

    Article  Google Scholar 

  19. Ligthart, A., Catal, C., Tekinerdogan, B.: Systematic reviews in sentiment analysis: a tertiary study. Artif. Intell. Rev. 1–57 (2021)

    Google Scholar 

  20. Salas-Zárate, MD., Medina-Moreira, J., Lagos-Ortiz, K., Luna-Aveiga, H., Rodriguez-Garcia, M.A., Valencia-Garcia, R.: Sentiment analysis on tweets about diabetes: an aspect-level approach. Computational and Mathematical Methods in Medicine, 19 February 2017. Pfizer Vaccine Tweets

    Google Scholar 

  21. Hoq, M., Haque, P., Uddin, M.N.: Sentiment analysis of Bangla language using deep learning approaches. In: Chaubey, N., Parikh, S., Amin, K. (eds.) Computing Science, Communication and Security. COMS2 2021. CCIS, vol. 1416, pp. 140–151. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-76776-1_10

  22. Cotfas, L.A., Delcea, C., Roxin, I., Ioanăş, C., Gherai, D.S., Tajariol, F.: The longest month: analyzing COVID-19 vaccination opinions dynamics from tweets in the month following the first vaccine announcement. IEEE Access 9, 33203–33223 (2021)

    Google Scholar 

  23. Pfizer Vaccine Tweets. https://www.kaggle.com/gpreda/pfizer-vaccine-tweets. Accessed 10 Dec 2021

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Promila Haque .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 ICST Institute for Computer Sciences, Social Informatics and Telecommunications Engineering

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Haque, P., Fariha, R.J., Nishat, I.Y., Uddin, M.N. (2023). Sentiment Analysis of Tweets on Covid Vaccine (Pfizer): A Boosting-Based Machine Learning Solution. In: Satu, M.S., Moni, M.A., Kaiser, M.S., Arefin, M.S. (eds) Machine Intelligence and Emerging Technologies. MIET 2022. Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering, vol 490. Springer, Cham. https://doi.org/10.1007/978-3-031-34619-4_33

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-34619-4_33

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-34618-7

  • Online ISBN: 978-3-031-34619-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics