Comparison of Support Vector Machine and Naïve Bayes on Twitter Data Sentiment Analysis

Styawati Styawati, Auliya Rahman Isnain, Nirwana Hendrastuty, Lili Andraini

Abstract


Twitter is a social media that is widely used by the public. Twitter social media can be used to express opinions or opinions about an object. This shows that there is a huge opportunity for data sources, so they can be used for sentiment analysis. There are many algorithms for performing sentiment analysis, including Support Vector Machine (SVM) and Naive Bayes (NB). Because of the many opinions regarding the performance of the two methods, the researcher is interested in classifying the data using the SVM and NB methods. The data used in this study is data on public opinion regarding the Covid-19 vaccination policy. The first classification process is carried out by the SVM method using various kernels. After getting the highest accuracy result, then the accuracy result is compared with the accuracy value from the NB method classification results.

Keywords


SVM, NB, Twitter, Sentiment Analysis, Covid-19 vaccination

Full Text:

References


D. K. Zala, “A Twitter Based Opinion Mining to Perform Analysis on Network Issues of Telecommunication Companies,” pp. 437–441, 2018.

P. Prasetyawan, I. Ahmad, R. I. Borman, Y. A. Pahlevi, and D. E. Kurniawan, “Classification of the Period Undergraduate Study Using Back-propagation Neural Network,” in 2018 International Conference on Applied Engineering (ICAE), 2018, pp. 1–5, [Online]. Available: file:///C:/Users/CPU/Downloads/Artikel-seminar-Batam-Purwono-Ardiansyah.pdf.

S. P. C. . Sandagiri, B. T. G. . Kumara, and B. Kuhaneswaran, “Detecting Crimes Related Twitter Posts Using SVM based Two Stages Filtering,” no. 978, pp. 506–510, 2020.

D. B. Ajipangestu, “Event Classification in Surabaya on Twitter with Support Vector Machine,” pp. 482–486, 2021.

I. P. Windasari, F. N. Uzzi, and K. I. Satoto, “Sentiment Analysis on Twitter Posts : An analysis of Positive or Negative Opinion on GoJek,” pp. 266–269, 2017.

M. Wongkar and A. Angdresey, “Sentiment Analysis Using Naive Bayes Algorithm Of The Data Crawler : Twitter,” pp. 1–5.

D. Ajeng and L. Marlinda, “Comparison of SVM & Naïve Bayes Algorithm for Sentiment Analysis Toward West Java Governor Candidate Period 2018-2023 Based on Public Opinion on Twitter,” no. Citsm, pp. 3–8, 2018.

S. Yadav, “Analysis of k-fold cross-validation over hold-out validation on colossal datasets for quality classification,” 2016 IEEE 6th Int. Conf. Adv. Comput., no. Cv, pp. 78–83, 2016, doi: 10.1109/IACC.2016.25.

D. A. Kristiyanti, “Prediction of Indonesia Presidential Election Results for the 2019-2024 Period Using Twitter Sentiment Analysis,” pp. 36–42, 2019.

S. Styawati and K. Mustofa, “A Support Vector Machine-Firefly Algorithm for Movie Opinion Data Classification,” IJCCS (Indonesian J. Comput. Cybern. Syst., vol. 13, no. 3, p. 219, 2019, doi: 10.22146/ijccs.41302.

S. Zahoor, “Twitter Sentiment Analysis using Machine Learning Algorithms : A Case Study,” pp. 194–199, 2020.

S. Styawati et al., “Analisis Sentimen Masyarakat Terhadap Program Kartu Prakerja Pada Twitter Dengan Metode Support Vector Machine,” vol. 6, no. 3, pp. 150–155, 2021.

R. Joshi, “Comparative Analysis Of Twitter Data Using Supervised Classifiers.”

C. F. Chao and M. H. Horng, “The construction of support vector machine classifier using the firefly algorithm,” Comput. Intell. Neurosci., vol. 2015, 2015, doi: 10.1155/2015/212719.

A. Kowalczyk, Support Vector Machines Succinctly. Syncfusion Inc., 2017.

styawati Styawati, A. Nurkholis, Z. Abidin, and H. Sulistiani, “Optimasi Parameter Support Vector Machine Berbasis Algoritma Firefly,” RESTI (Rekayasa Sist. dan Teknol. Inf. ), vol. 5, no. 10, pp. 904–910, 2021.

B. Luo et al., “Optimized Support Vector Machine Assisted BOTDA for Temperature Extraction With Assisted BOTDA for Temperature,” IEEE Photonics J., vol. 12, no. 1, pp. 1–14, 2020, doi: 10.1109/JPHOT.2019.2957410.

W. Jiao, Z. Liu, and Y. Zhang, “Fault Diagnosis of Modular Multilevel Converter with FA-SVM Algorithm,” Chinese Control Conf., pp. 5093–5098, 2019.

N. R. Fatahillah, “Implementation Of Naive Bayes Classifier Algorithm On Social Media ( Twitter ) To The Teaching Of Indonesian Hate Speech,” pp. 128–131, 2017.




DOI: https://doi.org/10.30591/jpit.v6i1.3245

Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

JPIT INDEXED BY

  
  

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.