Open Access iconOpen Access

ARTICLE

Sigmoidal Particle Swarm Optimization for Twitter Sentiment Analysis

by Sandeep Kumar1, Muhammad Badruddin Khan2, Mozaherul Hoque Abul Hasanat2, Abdul Khader Jilani Saudagar2,*, Abdullah AlTameem2, Mohammed AlKhathami2

1 Department of Computer Science and Engineering, CHRIST (Deemed to be University), Bangalore, 560074, India
2 Information Systems Department, College of Computer and Information Sciences, Imam Mohammad Ibn Saud Islamic University (IMSIU), Riyadh, 11432, Saudi Arabia

* Corresponding Author: Abdul Khader Jilani Saudagar. Email: email

Computers, Materials & Continua 2023, 74(1), 897-914. https://doi.org/10.32604/cmc.2023.031867

Abstract

Social media, like Twitter, is a data repository, and people exchange views on global issues like the COVID-19 pandemic. Social media has been shown to influence the low acceptance of vaccines. This work aims to identify public sentiments concerning the COVID-19 vaccines and better understand the individual’s sensitivities and feelings that lead to achievement. This work proposes a method to analyze the opinion of an individual’s tweet about the COVID-19 vaccines. This paper introduces a sigmoidal particle swarm optimization (SPSO) algorithm. First, the performance of SPSO is measured on a set of 12 benchmark problems, and later it is deployed for selecting optimal text features and categorizing sentiment. The proposed method uses TextBlob and VADER for sentiment analysis, CountVectorizer, and term frequency-inverse document frequency (TF-IDF) vectorizer for feature extraction, followed by SPSO-based feature selection. The Covid-19 vaccination tweets dataset was created and used for training, validating, and testing. The proposed approach outperformed considered algorithms in terms of accuracy. Additionally, we augmented the newly created dataset to make it balanced to increase performance. A classical support vector machine (SVM) gives better accuracy for the augmented dataset without a feature selection algorithm. It shows that augmentation improves the overall accuracy of tweet analysis. After the augmentation performance of PSO and SPSO is improved by almost 7% and 5%, respectively, it is observed that simple SVM with 10-fold cross-validation significantly improved compared to the primary dataset.

Keywords


Cite This Article

APA Style
Kumar, S., Khan, M.B., Abul Hasanat, M.H., Jilani Saudagar, A.K., AlTameem, A. et al. (2023). Sigmoidal particle swarm optimization for twitter sentiment analysis. Computers, Materials & Continua, 74(1), 897-914. https://doi.org/10.32604/cmc.2023.031867
Vancouver Style
Kumar S, Khan MB, Abul Hasanat MH, Jilani Saudagar AK, AlTameem A, AlKhathami M. Sigmoidal particle swarm optimization for twitter sentiment analysis. Comput Mater Contin. 2023;74(1):897-914 https://doi.org/10.32604/cmc.2023.031867
IEEE Style
S. Kumar, M. B. Khan, M. H. Abul Hasanat, A. K. Jilani Saudagar, A. AlTameem, and M. AlKhathami, “Sigmoidal Particle Swarm Optimization for Twitter Sentiment Analysis,” Comput. Mater. Contin., vol. 74, no. 1, pp. 897-914, 2023. https://doi.org/10.32604/cmc.2023.031867



cc Copyright © 2023 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 1311

    View

  • 1171

    Download

  • 0

    Like

Share Link