Analysis of Public Sentiment towards Corruption Based on Tweets Using Naive Bayes Classifier

Authors

  • Alivia Zulzila Departemen Statistika, Universitas Negeri Padang
  • Latifah Jayatri Febiola Universitas Negeri Padang
  • Dodi Vionanda Universitas Negeri Padang

DOI:

https://doi.org/10.24036/ujsds/vol3-iss1/345

Keywords:

Corruption, Naive Bayes Classifier, Sentiment, Twitter

Abstract

Corruption is one of the big problems faced in Indonesia. The still high rate of corruption can damage the integrity of government, hamper economic growth, and reduce public trust in public institutions. Even though the government has made efforts to eradicate corruption, such as the formation of the Corruption Eradication Commission (KPK), these big challenges remain. Social media, especially Twitter, has become an important platform for people to voice opinions and criticize corruption issues. Sentiment analysis is used to detect opinions in the form of judgments, evaluations, attitudes and emotions of a person. The textual classification algorithm used in this research is Naive Bayes. This research aims to determine public sentiment towards corruption in Indonesia in positive, negative and neutral categories. This is done by data preprocessing, data labeling, and classification. The results of sentiment classification using the Naïve Bayes method obtained positive sentiment of 11, negative sentiment of 14, and neutral sentiment of 1485. So it can be concluded that Indonesian society tends to have neutral sentiments towards corruption that occurs in Indonesia

Published

2025-02-28

How to Cite

Zulzila, A., Latifah Jayatri Febiola, & Dodi Vionanda. (2025). Analysis of Public Sentiment towards Corruption Based on Tweets Using Naive Bayes Classifier. UNP Journal of Statistics and Data Science, 3(1), 72–78. https://doi.org/10.24036/ujsds/vol3-iss1/345

Most read articles by the same author(s)

1 2 3 4 5 > >>