JOURNAL ARTICLE

Analisis Sentimen Tanggapan Masyarakat Terhadap Calon Presiden 2024 Ridwan Kamil Menggunakan Metode Naive Bayes Classifier

Abstract

Reaction to public facts about the election of the presidential candidate Ridwan Kamil, which will later be obtained, the data is taken from Twitter based on these problems, it is necessary to do sentiment analysis research. Based on the results of this study, the classification process for the Naïve Bayes Classifier has 3 scenarios for dividing training data and test data, namely with 90%:10% training data, the test data produces an accuary value of 85.43%, a recall value of 100.00%, and a precision of 85.33%. For training data 80%: 20% of the test data produces an accuracy value of 86.38%, a recall of 100.00% and a precision value of 86.38% and for data on the distribution of training data 70%: 30% of the test data produces an accuary value of 84.29 %, 100.00% recall and 84.29% precision. From the tweet data that has been used, there are 1262 positive comments and 242 negative comments. These results prove that the Naïve Bayes classifier is very good for conducting sentiment analysis on Twitter comments about the 2024 presidential candidate Ridwan Kamil. The naïve Bayes classifier process gets the highest accuracy value of 86.38% by dividing the training data 80%:20% test data.

Keywords:
Naive Bayes classifier Classifier (UML) Test data Artificial intelligence Computer science Training set Machine learning Pattern recognition (psychology) Support vector machine

Metrics

3
Cited By
1.86
FWCI (Field Weighted Citation Impact)
11
Refs
0.85
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Multimedia Learning Systems
Physical Sciences →  Computer Science →  Information Systems
Data Mining and Machine Learning Applications
Physical Sciences →  Computer Science →  Information Systems
Information Retrieval and Data Mining
Physical Sciences →  Computer Science →  Information Systems
© 2026 ScienceGate Book Chapters — All rights reserved.