Analisis Sentimen Masyarakat Terhadap Kebijakan Campuran BBM E10 Menggunakan Metode Naive Bayes
Abstract
The mandatory policy of 10% ethanol blending in fuel oil (BBM E10), announced in October 2025, triggered a wide range of responses from the Indonesian public, particularly on the X social media platform. This study aims to analyze the sentiment of Platform X users towards the BBM E10 policy and evaluate the performance of a classification model built using the Multinomial Naïve Bayes algorithm. The method applied is Knowledge Discovery in Database (KDD), encompassing data selection, preprocessing, transformation, data mining, and evaluation stages. Data was collected through crawling using the Twitter API with keywords "ethanol" and "BBM E10" during September 2025 to January 2026, yielding 4,847 tweets. After removing duplicates, 2,385 records were labeled using a hybrid approach—combining lexicon-based automatic labeling with manual verification by a language expert. Feature transformation was performed using TF-IDF. Classification was conducted under three data splitting scenarios: 70:30, 80:20, and 90:10. Results showed that positive sentiment dominated with 1,034 tweets (43.35%), followed by negative with 989 tweets (41.47%), and neutral with 362 tweets (15.18%). The 90:10 scenario produced the best performance with an accuracy of 70.7%, precision of 69%, recall of 57%, and F1-Score of 54%. This study demonstrates that the Multinomial Naïve Bayes-based text mining approach is capable of automatically classifying public sentiment towards the BBM E10 policy with adequate accuracy.
Downloads
References
DAFTAR PUSTAKA
A. R. Hanum et al., “MENDETEKSI BERITA HOAKS PERFORMANCE ANALYSIS OF THE BERT TEXT CLASSIFICATION ALGORITHM,” vol. 11, no. 3, pp. 537–546, 2024, doi: 10.25126/jtiik938093.
A. Pebdika et al., “KLASIFIKASI MENGGUNAKAN METODE NAIVE BAYES UNTUK MENENTUKAN CALON PENERIMA PIP,” vol. 7, no. 1, pp. 452–458, 2023.
A. Laksono, F. A. Rahmadani, and T. Informatika, “Analisis Sentimen Opini Publik di platform X ( Twitter ) terhadap Bencana Banjir Sumatra,” vol. 5, pp. 689–698, 2026.
A. Desiani, “PERBANDINGAN IMPLEMENTASI ALGORITMA NAÏVE BAYES DAN K-NEAREST NEIGHBOR PADA KLASIFIKASI,” vol. 7, no. 2, pp. 104–110, 2022.
A. T. Chidayat, D. F. Shiddieq, and D. Nurhayati, “Public Sentiment Analysis on Platform X Following the Mixed Fuel Scandal Using the Naïve Bayes Algorithm Analisis Sentimen Publik di Platform X Pasca Skandal Bahan Bakar Minyak Oplosan Menggunakan Algoritma Naïve Bayes,” vol. 5, no. October, pp. 1220–1230, 2025.
T. Tuamnggor and H. Sazali, “Penggunaan Hashtag # KaburAjaDulu dalam Pembentukan Algoritma Kritik Publik di Media Baru Abstrak,” vol. 6, no. 2, pp. 1353–1362, 2025.
B. Atau, P. Yang, A. E. Wulanda, M. Nur, and A. Abdullah, “NUSANTARA : Jurnal Ilmu Pengetahuan Sosial,” vol. 12, no. 5, pp. 1847–1853, 2025.
P. A. Nugroho, I. Fenriana, R. Arijanto, and M. Kom, “IMPLEMENTASI DEEP LEARNING MENGGUNAKAN CONVOLUTIONAL NEURAL NETWORK ( CNN ) PADA EKSPRESI MANUSIA,” vol. 1, 2020.
A. Subhan, E. Sediyono, and O. Dwi, “Analisis Sentimen Berbasis Ontologi di Level Kalimat untuk Mengukur Persepsi Produk,” vol. 02, pp. 84–97, 2015.
D. Nurmadewi, C. P. Gusti, E. C. Hernanto, F. Ananda, M. A. Hutagalung, and N. Hikmah, “Analisis Sentimen untuk Melihat Respon Masyarakat Terhadap Vaksin Pfizer,” vol. 4, no. 2, pp. 77–80, 2023, doi: 10.37802/joti.v4i2.322.
A. Aziza and S. Rani, “Klasifikasi Sentimen Radikalisme dalam Konten Dakwah Radikal Indonesia melalui Media Sosial Twitter dengan Menggunakan Analisis Sentimen dan Text Mining,” vol. 14, no. 3, 2023.
F. Ardiansyah and I. W. Siadi, “Klasifikasi Customer Relationship Management Menggunakan Dataset KDD Cup 2009 dengan Teknik Reduksi Dimensi Classification of Customer Relationship Management using KDD Cup 2009 Dataset with Dimension Reduction Technique,” vol. 11, no. 28, 2022, doi: 10.34010/komputika.v11i2.6498.
J. Sains, A. Galang, W. Maharani, and A. Wijaya, “Penerapan Data Mining untuk Memprediksi Kelulusan Mahasiswa Menggunakan Decision Tree Jurnal Sains dan Teknologi,” vol. 02, no. 02, pp. 91–96, 2025.
A. S. Putra, O. Marshella, and F. Agus, “Evaluasi Kinerja Algoritma Berbasis Decision Tree pada Dataset Skala Kecil : Studi Perbandingan Analisis Komparatif,” vol. 8, no. 1, pp. 6–11, 2026.

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.



