Penerapan Naïve Bayes untuk Analisis Sentimen Publik terhadap Isu Korupsi Pertamina di Media Sosial
Jupiter: Publikasi Ilmu Keteknikan Industri, Teknik Elektro dan Informatika · 16.07.2026 · 4 (4) · 34-46
DOI: 10.61132/jupiter.v4i4.1464 ↗Kurz gefasst
Fachartikel in der Zeitschrift Jupiter: Publikasi Ilmu Keteknikan Industri, Teknik Elektro dan Informatika, online erschienen am 16.07.2026. Verfasst von Nadeya Ladia Tantri. Der Volltext ist frei zugänglich (Open Access, CC BY-SA 4.0).
Abstract (Originalsprache)
Corruption remains a major public issue in Indonesia, including the Pertamina corruption case, which has triggered diverse reactions across social media. This study aims to analyze public sentiment toward the Pertamina corruption issue using the Naïve Bayes algorithm as a text classification method. The research process includes data collection, text preprocessing consisting of slang normalization, stopword removal, and stemming, term weighting using Term Frequency-Inverse Document Frequency (TF-IDF), sentiment classification using Naïve Bayes, and model evaluation using a confusion matrix. The dataset used in this study consists of public comments in Indonesian that were processed and classified into negative, neutral, and positive sentiment categories. The evaluation results show that the model achieved an accuracy of 0.7592 with a macro F1-score of 0.4642. The negative sentiment class produced the best performance compared with the neutral and positive classes. Dominant negative terms such as corruption, law, corruptor, and death indicate that public opinion tends to respond negatively to the case. These findings provide a clearer picture of public perception regarding the Pertamina corruption issue and may serve as a reference for stakeholders in understanding public opinion expressed on social media.
Zitieren
APA
Tantri, N. L. (2026). Penerapan Naïve Bayes untuk Analisis Sentimen Publik terhadap Isu Korupsi Pertamina di Media Sosial. Jupiter: Publikasi Ilmu Keteknikan Industri, Teknik Elektro dan Informatika, 4(4), 34-46. https://doi.org/10.61132/jupiter.v4i4.1464
Vancouver
Tantri NL. Penerapan Naïve Bayes untuk Analisis Sentimen Publik terhadap Isu Korupsi Pertamina di Media Sosial. Jupiter: Publikasi Ilmu Keteknikan Industri, Teknik Elektro dan Informatika. 2026;4(4):34-46. doi:10.61132/jupiter.v4i4.1464
BibTeX
@article{Tantri2026,
author = {Tantri, Nadeya Ladia},
title = {Penerapan Naïve Bayes untuk Analisis Sentimen Publik terhadap Isu Korupsi Pertamina di Media Sosial},
journal = {Jupiter: Publikasi Ilmu Keteknikan Industri, Teknik Elektro dan Informatika},
year = {2026},
volume = {4},
number = {4},
pages = {34--46},
doi = {10.61132/jupiter.v4i4.1464}
}
EUVIMED