Improved Accuracy of Naïve Bayes Algorithm and Support Vector Machine Using Particle Swarm Optimization for Menstrual Cup Sentiment Analysis on Twitter

  • Dini Shalikha Universitas Negeri Semarang
  • Alamsyah Alamsyah
Keywords: Text Mining, Sentiment Analysis, Naive Bayes, Support Vector Machine, Particle Swarm Optimization

Abstract

Menstrual cup is a menstrual hygiene sanitation tool that replaces disposable sanitary napkins for women that reaps many pros and cons in its use. From this, it is necessary to analyze the public's views regarding the use of menstrual cups, which is called sentiment analysis. Sentiment analysis is a process that aims to determine the polarity of the sentiment of a text. This paper performs a classification of menstrual cup sentiment analysis on Twitter using the Naïve Bayes and the Support Vector Machine  algorithm. Particle Swarm Optimization is applied to improve the accuracy of both classification algorithms. The final result of the accuracy obtained by the Naïve Bayes algorithm is 92.72% and the Support Vector Machine  algorithm is 96.13%. While the accuracy results after Particle Swarm Optimization is applied, for Naïve Bayes it produces an accuracy rate of 95.87%, and Support Vector Machine is 96.68%.

Published
2023-03-10
How to Cite
Shalikha, D., & Alamsyah, A. (2023). Improved Accuracy of Naïve Bayes Algorithm and Support Vector Machine Using Particle Swarm Optimization for Menstrual Cup Sentiment Analysis on Twitter. Journal of Advances in Information Systems and Technology, 4(2), 139-148. https://doi.org/10.15294/jaist.v4i2.59561
Section
Articles

Most read articles by the same author(s)