Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer
Vol 7 No 1 (2023): Januari 2023

Analisis Sentimen Terhadap Kenaikan Cukai Rokok pada Media Sosial Twitter menggunakan Algoritma Naive Bayes Classifier

Denny Manuel Yeremia Sinurat (Fakultas Ilmu Komputer, Universitas Brawijaya)
Dian Eka Ratnawati (Fakultas Ilmu Komputer, Universitas Brawijaya)
Dwija Wisnu Brata (Fakultas Ilmu Komputer, Universitas Brawijaya)



Article Info

Publish Date
20 Feb 2023

Abstract

Social media is a place for people to convey opinions, and also criticism. The social media that is often used by Indonesian people to express their opinions is Twitter. Twitter can be a forum for Indonesian people to express their opinions and aspirations on certain matters, such as policies made by the government. One of the policies that has sparked public discussion on social media Twitter is increasing cigarettes tax by an average of 10% starting in 2023. This policy has drawn pros and cons from the public, therefore an analysis of public sentiment regarding the cigarette tax increase policy can be carried out. This study will analyze public sentiment contained in the tweets of Twitter users about the increase cigarette tax into the classification of positive and negative sentiments. The execution process is implemented in Google Colaboratory with the Naive Bayes Classifier algorithm. Processes in the sentiment analysis which include data collection, manual labeling, text preprocessing, TF-IDF weighting, data balancing with the Synthetic Minority Oversampling Technique (SMOTE), data validation using k-fold cross validation, and test the classification results with the confusion matrix. The best accuracy results of 74% were obtained by using the data balance SMOTE results with a comparison of training data: test data of 90%:10%, text preprocessing, TF-IDF weighting, and use Multinomial Naive Bayes. The highest cross-validation score obtained was 78% with an average of 73%. Based on these results, the Naive Bayes Classifier is quite good as an alternative for sentiment analysis.

Copyrights © 2023






Journal Info

Abbrev

j-ptiik

Publisher

Subject

Computer Science & IT Control & Systems Engineering Education Electrical & Electronics Engineering Engineering

Description

Jurnal Pengembangan Teknlogi Informasi dan Ilmu Komputer (J-PTIIK) Universitas Brawijaya merupakan jurnal keilmuan dibidang komputer yang memuat tulisan ilmiah hasil dari penelitian mahasiswa-mahasiswa Fakultas Ilmu Komputer Universitas Brawijaya. Jurnal ini diharapkan dapat mengembangkan penelitian ...