Jurnal Sistem Komputer dan Informatika (JSON)
Vol 4, No 4 (2023): Juni 2023

Penerapan Metode Naïve Bayes Classifier Pada Klasifikasi Sentimen Terhadap Anies Baswedan Sebagai Bakal Calon Presiden 2024

Mar`iy Romizzidi Amly (Universitas Islam Negeri Sultan Syarif Kasim, Pekanbaru)
Yusra Yusra (Universitas Islam Negeri Sultan Syarif Kasim, Pekanbaru)
Muhammad Fikry (Universitas Islam Negeri Sultan Syarif Kasim, Pekanbaru)



Article Info

Publish Date
02 Jul 2023

Abstract

Anies Baswedan is a political figure who has been declared as a 2024 presidential candidate. Public opinion is a valuable source of information to analyze sentiment towards Anies Baswedan as a 2024 presidential candidate. Limited human power, emotional instability, and the length of time required are difficulties in analyzing sentiment on large amounts of data manually. Machine learning is utilized to provide convenience in sentiment classification.  This research applies the Naïve Bayes Classifier method in the classification of sentiment towards Anies Baswedan as a 2024 presidential candidate. This study aims to determine the performance of the Naïve Bayes Classifier method in the classification of sentiment towards Anies Baswedan as a 2024 presidential candidate. The dataset used was 3,400 which were labeled by crowdsourcing resulting in 2,130 positive (62.65%) and 1,270 negative (37.35%). Tests were conducted using the 10-fold cross-validation and 5-fold cross-validation methods, each consisting of two experimental scenarios, namely using an unbalanced dataset and using a balanced dataset.The Naive Bayes Classifier method produces the best model in the 10-fold cross-validation test with an accuracy of 89.76%, precision of 89.92%, recall of 89.76%, and f1-score of 89.75% on the sixth fold by determining a threshold value of 13 in an experiment using a balanced dataset consisting of 1,270 positives and 1,270 negatives with an average accuracy rate of 79.88%.

Copyrights © 2023






Journal Info

Abbrev

JSON

Publisher

Subject

Computer Science & IT Control & Systems Engineering

Description

The Jurnal Sistem Komputer dan Informatika (JSON) is a journal to managed of STMIK Budi Darma, for aims to serve as a medium of information and exchange of scientific articles between practitioners and observers of science in computer. Focus and Scope Jurnal Sistem Komputer dan Informatika (JSON) ...