Jurnal Varian
Vol 7 No 2 (2024)

Naive Bayes Algorithm with Feature Selection Using Particle Swarm Optimization

Siswanto Siswanto (Universitas Hasanuddin, Indonesia)
Iwan Kurniawan (Universitas Hasanuddin, Indonesia)
Sri Astuti Thamrin (Universitas Hasanuddin, Indonesia)



Article Info

Publish Date
30 Jun 2024

Abstract

The COVID-19 vaccine in Indonesia has led to the emergence of public opinion which is conveyed on social media such as Twitter. One of the analyses that can be done to produce various information from public opinion is sentiment analysis. Sentiment analysis is used to determine whether an opinion tends to be positive or negative. This study aims to classify the public opinion of the COVID-19 vaccine in Indonesia with sentiment analysis and to visualize the location of the sentiment of the COVID-19 vaccine tweet data in Indonesia. To achieve this aim, the Naïve Bayes algorithm with Particle Swarm Optimization (PSO) feature selection was used. This study uses opinions into positive and negative class sentiments towards 2,547 tweets related to the COVID-19 vaccine in Indonesia from January to June 2021. The results show that the distribution of positive and negative class sentiments is 2,328 and 219, respectively. In addition, the positive sentiment for the COVID-19 vaccine was dominated by people on the island of Java based on a random number matrix initialized by the PSO method. The classification of public opinion on Twitter media provides accurate and optimal performance results using a combination of the Naïve Bayes algorithm with PSO feature selection. The results of the combination of these methods have accuracy and F1 score values of 91.28% and 95.38%, respectively. The visualization of geo-spatial mapping showed that positive sentiments related to the COVID-19 vaccine exist in almost all regions in Indonesia but are dominated by the Jabodetabek area.

Copyrights © 2024






Journal Info

Abbrev

Varian

Publisher

Subject

Decision Sciences, Operations Research & Management Economics, Econometrics & Finance Mathematics Social Sciences Other

Description

Jurnal Varian adalah salah satu Jurnal Ilmiah yang terdapat di Universitas Bumigora. Jurnal ini bertujuan untuk memberikan wadah atau sarana publikasi bagi para dosen, peneliti dan praktisi baik di lingkungan internal maupun eksternal Universitas Bumigora Mataram. Jurnal ini terbit 2 (dua) kali ...