Abstract
In the whole world, the microblog has become a key forum for people to share their thoughts and viewpoints on current events. When there is a sudden epidemic of coronavirus, the posts about it are normally accompanied by a burst of microblog numbers, which offers a perfect opportunity to investigate public opinion about the incidents. In this case, sentiment research should be used to investigate how coronavirus impacts public opinion. Deep learning (DL) and machine learning (ML) models have become very popular for sentiment analysis. This research paper uses a voting ensemble model, for making a voting ensemble model We have divided our implementation part into four stages. The first stage is data preprocessing, which includes stopping words elimination and cleaning the dataset. The second stage is pipelining, in which we have passed two methods first one is TFIDF vectorizer and the second one is a machine learning classifier. TFIDF vectorizer and classifier model are used in the third stage for making a single classifier model. In the fourth stage, we have applied a hard voting Ensemble classifier technique for the overall average accuracy of machine learning models.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Worldometers.info. (2021). India COVID: 22,295,911 Cases and 242,398 Deaths - Worldometer. [online] Available at: <https://www.worldometers.info/coronavirus/country/india/>
Blog.twitter.com. (2021). Spending 2020 Together on Twitter. [online] Available at: <https://blog.twitter.com/en_us/topics/insights/2020/spending-2020-together-on-twitter.html>
Sayce, D., & Ltd., P., (2021). The number of tweets per day in 2020 | David Sayce. [online] David Sayce. Available at: <https://www.dsayce.com/social-media/tweets-day/>
“ML - Support Vector Machine(SVM),” Tutorialspoint.com. [Online]. Available: https://www.tutorialspoint.com/machine_learning_with_python/machine_learning_with_python_classification_algorithms_support_vector_machine.htm
Wikipedia contributors, “Random forest,” Wikipedia, The Free Encyclopedia, 06-May-2021. [Online]. Available: https://en.wikipedia.org/w/index.php?title=Random_forest&oldid=1021839899
“Classification Algorithms - Random Forest,” Tutorialspoint.com. [Online]. Available: https://www.tutorialspoint.com/machine_learning_with_python/machine_learning_with_python_classification_algorithms_random_forest.htm
Wikipedia contributors, “Decision tree learning,” Wikipedia, The Free Encyclopedia, 06-May-2021. [Online]. Available: https://en.wikipedia.org/w/index.php?title=Decision_tree_learning&oldid=1021669314
“Decision tree classification algorithm,” Javatpoint.com. [Online]. Available: https://www.javatpoint.com/machine-learning-decision-tree-classification-algorithm
Wikipedia contributors, “K-nearest neighbors algorithm,” Wikipedia, The Free Encyclopedia, 06-May-2021. [Online]. Available: https://en.wikipedia.org/w/index.php?title=K-nearest_neighbors_algorithm&oldid=1021698330
“KNN algorithm - Finding Nearest Neighbors,” Tutorialspoint.com. [Online]. Available: https://www.tutorialspoint.com/machine_learning_with_python/machine_learning_with_python_knn_algorithm_finding_nearest_neighbors.htm
“K-Nearest Neighbor(KNN) Algorithm for Machine Learning,” Javatpoint.com. [Online]. Available: https://www.javatpoint.com/k-nearest-neighbor-algorithm-for-machine-learning
“Machine learning - Logistic Regression,” Tutorialspoint.com. [Online]. Available: https://www.tutorialspoint.com/machine_learning_with_python/machine_learning_with_python_classification_algorithms_logistic_regression.htm
“Logistic Regression in Machine Learning,” Javatpoint.com. [Online]. Available: https://www.javatpoint.com/logistic-regression-in-machine-learning
Jain, A. P., & Dandannavar, P. (2016, July). Application of machine learning techniques to sentiment analysis. In 2016 2nd international conference on applied and theoretical computing and communication technology (iCATccT) (pp. 628–632). IEEE.
Kumar, S., Gahalawat, M., Roy, P. P., Dogra, D. P., & Kim, B. G. (2020). Exploring the impact of age and gender on sentiment analysis using machine learning. Electronics, 9(2), 374.
Kabir, M., Kabir, M. M. J., Xu, S., & Badhon, B. (2019). Empirical research on sentiment analysis using machine learning approaches. Int J Comput Appl, 1–9.
Jagdale, R. S., Shirsat, V. S., & Deshmukh, S. N. (2019). Sentiment analysis on product reviews using machine learning techniques. In Cognitive informatics and soft computing (pp. 639–647). Springer.
Jain, A., & Jain, V. (2019). Sentiment classification of twitter data belonging to renewable energy using machine learning. Journal of Information and Optimization Sciences, 40(2), 521–533.
Saad, S. E., & Yang, J. (2019). Twitter sentiment analysis based on ordinal regression. IEEE Access, 7, 163677–163685.
Yadav, N., Kudale, O., Rao, A., Gupta, S., & Shitole, A. (2021). Twitter sentiment analysis using supervised machine learning. In Intelligent data communication technologies and internet of things: Proceedings of ICICI 2020 (pp. 631–642). Springer.
Chaturvedi, S., Mishra, V., & Mishra, N. (2017, September). Sentiment analysis using machine learning for business intelligence. In 2017 IEEE international conference on power, control, signals, and instrumentation engineering (ICPCSI) (pp. 2162–2166). IEEE.
Hemalatha, I., Varma, G. S., & Govardhan, A. (2013). Sentiment analysis tool using machine learning algorithms. International Journal of Emerging Trends & Technology in Computer Science (IJETTCS), 2(2), 105–109.
Singla, Z., Randhawa, S., & Jain, S. (2017). Sentiment analysis of customer product reviews using machine learning. In 2017 international conference on intelligent computing and control (I2C2) (pp. 1–5). IEEE.
Chandra, Y., & Jana, A. (2020, March). Sentiment analysis using machine learning and deep learning. In 2020 7th international conference on computing for sustainable global development (INDIACom) (pp. 1–4). IEEE.
Alarifi, A., Tolba, A., Al-Makhadmeh, Z., & Said, W. (2020). A big data approach sentiment analysis using greedy feature selection with cat swarm optimization-based long short-term memory neural networks. The Journal of Supercomputing, 76(6), 4414–4429.
Ali, N. M., Abd El Hamid, M. M., & Youssif, A. (2019). Sentiment analysis for movie reviews dataset using deep learning models. International Journal of Data Mining & Knowledge Management Process (IJDKP), 9.
Alharbi, A., Taileb, M., & Kalkatawi, M. (2021). Deep learning in Arabic sentiment analysis: an overview. Journal of (Information Science), 471, 129–140.
Ramadhani, A. M., & Goo, H. S. (2017, August). Twitter sentiment analysis using deep learning methods. In 2017 7th international annual engineering seminar (InAES) (pp. 1–4). IEEE.
Heikal, M., Torki, M., & El-Makky, N. (2018). Sentiment analysis of Arabic tweets using deep learning. Procedia Computer Science, 142, 114–122.
Wang, J., & Cao, Z. (2017, October). Chinese text sentiment analysis using LSTM network based on L2 and Nadam. In 2017 IEEE 17th international conference on communication technology (ICCT) (pp. 1891–1895). IEEE.
Demir, N. “Ensemble methods: Elegant techniques to produce improved machine learning results,” Toptal.com, 04-Feb-2016. [Online]. Available: https://www.toptal.com/machine-learning/ensemble-methods-machine-learning
“ML,” Geeksforgeeks.org, 23-Nov-2019. [Online]. Available: https://www.geeksforgeeks.org/ml-voting-classifier-using-sklearn/
Adhi, T. B., & Rhee, K. H. (2017). An extensive empirical evaluation of classifier ensembles for the intrusion detection task. The Computer Systems Science and Engineering, 32, 149–158.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this chapter
Cite this chapter
Kamal, Singh, A. (2023). Sentiment Analysis of COVID-19 Tweets Using Voting Ensemble-Based Model. In: Tiwari, R., Koundal, D., Upadhyay, S. (eds) Image Based Computing for Food and Health Analytics: Requirements, Challenges, Solutions and Practices. Springer, Cham. https://doi.org/10.1007/978-3-031-22959-6_9
Download citation
DOI: https://doi.org/10.1007/978-3-031-22959-6_9
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-22958-9
Online ISBN: 978-3-031-22959-6
eBook Packages: Biomedical and Life SciencesBiomedical and Life Sciences (R0)