JOURNAL ARTICLE

Sentiment Analysis of Public Responses on Indonesia Government Using Naïve Bayes and Support Vector Machine

Abstract

Many people are interested in knowing how the public views President Joko Widodo's administration. Text Mining analysis can be one way to collect and analyze text data about Joko Widodo's administration and extract relevant information from the data. Data was obtained by collecting tweet data about Joko Widodo's government in 2022 on Twitter using Netlyitic. Then the Text Mining analysis of Joko Widodo's government was carried out using the Navie Bayes (NVB) classification and Support Vector Machine (SVM). This classification can be used to predict sentiment or public views of the government based on the tweets collected. Based on a case study of the classification results of President Joko Widodo using Naive Bayesian classification, we obtained a precision value of 79%, a recall value of 91% and a precision value of 82%. And by using SVM, we get 85% precision, 95% recall, and 83% precision. Due to the high accuracy, recall, and precision, it can be said that SVM classification is more accurate than NVB.

Keywords:
Support vector machine Naive Bayes classifier Precision and recall Recall Government (linguistics) Computer science Value (mathematics) Sentiment analysis Artificial intelligence Bayes' theorem Data mining Machine learning Bayesian probability Psychology

Metrics

1
Cited By
0.62
FWCI (Field Weighted Citation Impact)
4
Refs
0.66
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

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