Perbandingan Naïve Bayes dan KNN Dalam Klasifikasi Tweet BBM Subsidi

Jurnal Elektronika dan Komputer
Universitas Sains dan Teknologi Komputer

📄 Abstract

The government that is running at this time is also not spared from public comments on Twitter, especially regarding the increase in subsidized fuel. There are at least 4 impacts felt by the community when subsidized fuel prices increase, namely a decrease in people's purchasing power, an increase in basic prices, an increase in the unemployment rate and an increase in the poverty rate. This study aims to implement the Naïve Bayes Classifier and KNN algorithms in classifying a tweet of an increase in subsidized fuel so that it can be identified as belonging to a class with positive or negative sentiments. The data used in this research are 560 tweets. The data is divided into 2, namely 500 training data from tweet data and 60 test data from tweet data stored in xlsx format. The results of the accuracy with the Naïve Bayes Classifier algorithm is 85% while the KN algorithm is 86.8% so it can be concluded that the KNN method is better than the Naïve Bayes Classifier method in classifying tweets of increases in subsidized fuel.

Keywords: Subsidized BBM, Naive Bayes, KNN

🔖 Keywords

#BBM Bersubsidi; Naive Bayes; KNN

ℹ️ Informasi Publikasi

Tanggal Publikasi
14 July 2023
Volume / Nomor / Tahun
Volume 16, Nomor 1, Tahun 2023

📝 HOW TO CITE

Doddy Ircham Pambudi; Doddy Ircham Pambudi; Sulastri, "Perbandingan Naïve Bayes dan KNN Dalam Klasifikasi Tweet BBM Subsidi," Jurnal Elektronika dan Komputer, vol. 16, no. 1, Jul. 2023.

ACM
ACS
APA
ABNT
Chicago
Harvard
IEEE
MLA
Turabian
Vancouver

🔗 Artikel Terkait dari Jurnal yang Sama

📊 Statistik Sitasi Jurnal