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

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
How to Cite

Doddy Ircham Pambudi, et al. (2023). Perbandingan Naïve Bayes dan KNN Dalam Klasifikasi Tweet BBM Subsidi. Jurnal Elektronika dan Komputer, 16(1). https://doi.org/10.51903/elkom.v16i1.961

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, 2023.

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, 2023.

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

Doddy Ircham Pambudi, et al. (2023) 'Perbandingan Naïve Bayes dan KNN Dalam Klasifikasi Tweet BBM Subsidi', Jurnal Elektronika dan Komputer, 16(1). doi: 10.51903/elkom.v16i1.961.

Doddy Ircham Pambudi; Doddy Ircham Pambudi; Sulastri. Perbandingan Naïve Bayes dan KNN Dalam Klasifikasi Tweet BBM Subsidi. Jurnal Elektronika dan Komputer. 2023;16(1).

Artikel Terkait
Tren Sitasi Jurnal