Skip to main content

Twitter People’s Opinions Analysis During Covid-19 Quarantine Using Machine Learning and Deep Learning Models

  • Conference paper
  • First Online:
Intelligent Systems Design and Applications (ISDA 2021)

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 418))

  • 1773 Accesses

Abstract

The world went through an anomalous time, showcasing COVID-19 on the top. Staying home is the best solution to be safe. People spend most of their time on social media platforms. They are busy in reacting on public posts, news, articles, and commenting there. Now a days, even the media organizations and government agencies are providing the latest news and opinions related to coronavirus, so every person’s comment and post speak high about his sentiments. Therefore, the need to analyze text sentiment has arisen. It is helpful to get an opinion about a specific subject effectively. In this paper, we aim to understand and analyze the quarantine impact of coronavirus pandemic (COVID-19) on our lives. In fact, we used multiclass Sentiment Analysis (SA) to classify people’s opinions from extracted tweets about COVID-19 quarantine impact, using first different ma- chine learning (ML) classifiers such as Support Vector Machine (SVM), K-Nearest Neighbors (KNN), and Multinomial Naıve Bayes (MNB) and secondly various Deep Learning (DL) models such as Recurrent Neural Network (RNN) and Long Short-Term Memory (LSTM). In our experimental result, for the ML models, the result of SA showed that SVM gives the best performance with an accuracy of 83.11% for DL models, RNN- LSTM achieved an accuracy 86.53% and AUC of about 93.21%. Practical experiments are performed on 8111 tweets dataset, reporting positive performances, which are competitive to other well-known approaches.

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 259.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 329.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. Abd El-Jawad, M.H., Hodhod, R., Omar, Y.M.: Sentiment analysis of social media networks using machine learning. In: 2018 14th International Computer Engineering Conference (ICENCO), pp. 174–176. IEEE (2018)

    Google Scholar 

  2. Ain, Q.T., et al.: Sentiment analysis using deep learning techniques: a review. Int. J. Adv. Comput. Sci. Appl. 8(6), 424 (2017)

    Google Scholar 

  3. Aljameel, S.S., et al.: A sentiment analysis approach to predict an individual’s awareness of the precautionary procedures to prevent covid-19 outbreaks in Saudi Arabia. Int. J. Environ. Res. Public Health 18(1), 218 (2021)

    Article  Google Scholar 

  4. Chakraborty, K., Bhatia, S., Bhattacharyya, S., Platos, J., Bag, R., Hassanien, A.E.: Sentiment analysis of covid-19 tweets by deep learning classifiers-a study to show how popularity is affecting accuracy in social media. Appl. Soft Comput. 97, 106754 (2020)

    Article  Google Scholar 

  5. Manguri, K.H., Ramadhan, R.N., Amin, P.R.M.: Twitter sentiment analysis on worldwide covid-19 outbreaks. Kurdistan J. Appl. Res., 54–65 (2020)

    Google Scholar 

  6. Pastor, C.K.: Sentiment analysis of Filipinos and effects of extreme community quarantine due to coronavirus (covid-19) pandemic (2020). SSRN 3574385

    Google Scholar 

  7. Piedrahita-Valdés, H., et al.: Vaccine hesitancy on social media: sentiment analysis from June 2011 to April 2019. Vaccines 9(1) (2021). https://www.mdpi.com/2076-393X/9/1/28

  8. 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 

  9. Ramadhani, A.M., Goo, H.S.: Twitter sentiment analysis using deep learning methods. In: 2017 7th International Annual Engineering Seminar (InAES), pp. 1–4. IEEE (2017)

    Google Scholar 

  10. 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)

    Article  Google Scholar 

  11. Wazery, Y.M., Mohammed, H.S., Houssein, E.H.: Twitter sentiment analysis using deep neural network. In: 2018 14th International Computer Engineering Conference (ICENCO), pp. 177–182. IEEE (2018)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Raouia Mokni .

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 paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Alotaibi, W., Alomary, F., Mokni, R. (2022). Twitter People’s Opinions Analysis During Covid-19 Quarantine Using Machine Learning and Deep Learning Models. In: Abraham, A., Gandhi, N., Hanne, T., Hong, TP., Nogueira Rios, T., Ding, W. (eds) Intelligent Systems Design and Applications. ISDA 2021. Lecture Notes in Networks and Systems, vol 418. Springer, Cham. https://doi.org/10.1007/978-3-030-96308-8_94

Download citation

Publish with us

Policies and ethics