Sentiment Analysis of the 10% Ethanol (E10) Blending Policy in Fuel Based on Social Media Reviews using Naive Bayes
DOI:
https://doi.org/10.59934/jaiea.v6i1.3025Keywords:
CRISP-DM, Multinomial Naive Bayes, Sentiment analysis, Social media, EthanolAbstract
Public discussion of the planned 10% ethanol (E10) blend in fuel produces large volumes of unstructured opinions on social media. This study applies a CRISP-DM workflow and Multinomial Naive Bayes to classify sentiment in comments collected from X (Twitter) and YouTube. A total of 2,597 valid opinions were processed through Indonesian text preprocessing, InSet lexicon-based labeling, augmented TF-IDF feature weighting, and a stratified 70:30 split. The dataset contained 2,239 negative opinions (86.21%), 304 positive opinions (11.71%), and 54 neutral opinions (2.08%). The model was trained on 1,817 records and evaluated on 780 records, achieving 86.79% accuracy, macro precision of 0.5561, macro recall of 0.3480, and macro F1-score of 0.3376. Class-level analysis showed strong performance for negative sentiment but weak recognition of positive and neutral classes because of severe class imbalance. The results were deployed in a Streamlit application that provides dashboards, visualizations, evaluation outputs, and interactive text prediction.
Downloads
References
T. Hidayat, M. J. Siddiq, S. Jayasri, A. Suhendi, and R. Rizky, “Analisis Sentimen Opini Masyarakat Terhadap Pilkada 2024 Di Media Sosial Twitter Menggunakan Algoritma Naive Bayes,” Jurnal Informatika dan Teknik Elektro Terapan, vol. 13, no. 2, pp. 609–622, 2025, doi: 10.23960/jitet.v13i2.6280.
A. I. Tanggraeni and M. N. N. Sitokdana, “Analisis Sentimen Aplikasi E-Government pada Google Play Menggunakan Algoritma Naive Bayes,” JATISI (Jurnal Teknik Informatika dan Sistem Informasi), vol. 9, no. 2, pp. 785–795, 2022, doi: 10.35957/jatisi.v9i2.1835.
Gilbert, S. Alam, and M. I. Sulistyo, “Analisis Sentimen Berdasarkan Ulasan Pengguna Aplikasi Mypertamina Pada Google Playstore Menggunakan Metode Naive Bayes,” STORAGE: Jurnal Ilmiah Teknik dan Ilmu Komputer, vol. 2, no. 3, pp. 100–108, 2023, doi: 10.55123/storage.v2i3.2333.
S. A. R. Rizaldi, S. Alam, and I. Kurniawan, “Analisis Sentimen Pengguna Aplikasi JMO (Jamsostek Mobile) Pada Google Play Store Menggunakan Metode Naive Bayes,” STORAGE: Jurnal Ilmiah Teknik dan Ilmu Komputer, vol. 2, no. 3, pp. 109–117, 2023, doi: 10.55123/storage.v2i3.2334.
K. D. Indarwati and H. Februariyanti, “Analisis Sentimen Terhadap Kualitas Pelayanan Aplikasi Gojek Menggunakan Metode Naive Bayes Classifier,” JATISI (Jurnal Teknik Informatika dan Sistem Informasi), vol. 10, no. 1, 2023, doi: 10.35957/jatisi.v10i1.2643.
D. Kurniawan and M. Yasir, “Optimization Sentimen Analysis using CRISP-DM and Naive Bayes Methods Implemented on Social Media,” Cyberspace: Jurnal Pendidikan Teknologi Informasi, vol. 6, no. 2, pp. 74–85, 2022, doi: 10.22373/cj.v6i2.12793.
M. N. Fadillah and R. N. Sukmana, “Penerapan Algoritma Naive Bayes Classifier Untuk Analisis Sentimen Kelangkaan Minyak Goreng Pada Media Sosial Twitter,” Infotronik: Jurnal Teknologi Informasi dan Elektronika, vol. 7, no. 2, p. 82, 2022, doi: 10.32897/infotronik.2022.7.2.1716.
F. Koto and G. Y. Rahmaningtyas, “InSet Lexicon: Evaluation of a Word List for Indonesian Sentiment Analysis in Microblogs,” Proc. 2017 International Conference on Asian Language Processing, pp. 391–394, 2017, doi: 10.1109/IALP.2017.8300625.
S. N. Nugraha, R. Pebrianto, A. Latif, and M. R. Firdaus, “Analisis Sentimen Twitter Terhadap Menteri Indonesia Dengan Algoritma Support Vector Machine Dan Naive Bayes,” E-Link: Jurnal Teknik Elektro dan Informatika, vol. 17, no. 1, p. 1, 2022, doi: 10.30587/e-link.v17i1.3965.
T. Danirmala and Y. S. Nugroho, “Indonesian Journal of Computer Science,” Indonesian Journal of Computer Science, vol. 12, no. 2, pp. 284–301, 2023.
F. R. Aftha Harianto, Z. Alawi, and I. A. Sa’ida, “Pengaruh Komposisi Split Data Pada Akurasi Klasifikasi Penderita Diabetes Menggunakan Algoritma Machine Learning,” Jurnal Sistem Informasi dan Informatika (Simika), vol. 8, no. 1, pp. 36–44, 2025, doi: 10.47080/simika.v8i1.3663.
E. Hermawan, S. D. Panjaitan, and E. F. Ripanti, “Sistem Prediksi Banjir Rob Kota Pontianak Berbasis Machine Learning Menggunakan Framework Streamlit,” JEPIN (Jurnal Edukasi dan Penelitian Informatika), vol. 10, no. 3, pp. 351–361, 2024.
P. S. Zalukhu, T. Handhayani, and M. Sitorus, “Analisis Sentimen Terhadap Kenaikan BBM Di Indonesia Pada Media Sosial Twitter Menggunakan Metode Naive Bayes,” Simtek: Jurnal Sistem Informasi dan Teknik Komputer, vol. 8, no. 1, pp. 65–69, 2023, doi: 10.51876/simtek.v8i1.177.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Journal of Artificial Intelligence and Engineering Applications (JAIEA)

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








