Analisis Sentiment Pengguna X Terhadap Hilirisasi Kemenyan Menggunakan Algoritma Naïve Bayes


  • Farrel Rizki Utama * Mail Universitas Teknokrat Indonesia, Bandar Lampung, Indonesia
  • Suaidah Suaidah Universitas Teknokrat Indonesia, Bandar Lampung, Indonesia
  • (*) Corresponding Author
Keywords: Sentiment Analysis; Frankincense Downstreaming; X Social Media; Naive Bayes; TF-IDF

Abstract

The issue of frankincense downstreaming in Indonesia is a significant concern because it has the potential to increase the economic value of local commodities and the welfare of the community, especially farmers. However, public perception of this downstreaming policy is still diverse and has not been widely analyzed scientifically, especially on social media. Therefore, this study aims to analyze the sentiment of social media users X towards the issue of frankincense downstreaming using the Naïve Bayes algorithm. The research data was obtained through a crawling process using the Twitter API with the keywords "Frankincense Downstreaming" and "Downstreaming", resulting in 1,844 tweets. The data then went through a preprocessing stage including cleaning, case folding, normalization, tokenizing, stopword removal, and stemming, leaving 1,790 tweets ready for analysis. The sentiment labeling process was carried out using a lexicon-based approach with three categories: positive, negative, and neutral. Feature representation was carried out using the TF-IDF method, then the data was classified using the Naïve Bayes algorithm. The test results show that the Naïve Bayes algorithm is able to classify sentiment well, with the highest precision in the negative class at 0.90 and the highest recall in the neutral class at 0.92. The majority of X users showed neutral sentiment towards the issue of frankincense downstreaming at 55.20%, followed by positive at 26.03% and negative at 18.77%.

Downloads

Download data is not yet available.

References

I. Budianto and S. N. Anwar, “Analisis Sentimen Pengguna Twitter Mengenai Program Vaksinasi Covid-19 Menggunakan Algoritma Naïve Bayes,” Jurnal Teknologi Informasi, vol. 6, no. 1, 2022, doi: 10.36294/jurti.v6i1.2551.

L. Septian, T. Aljauza, and C. Juliane, “Analisis Sentimen Putusan Mahkamah Konstitusi terhadap Batas Usia Capres dan Cawapres Menggunakan IndoBERT,” The Indonesian Journal of Computer Science, vol. 12, no. 6, 2024, doi: 10.33022/ijcs.v12i6.3614.

I. Verawati and B. S. Audit, “Algoritma Naïve Bayes Classifier Untuk Analisis Sentimen Pengguna Twitter Terhadap Provider By.U,” Jurnal Media Informatika Budidarma, vol. 6, no. 3, pp. 1411–1417, 2022, doi: 10.30865/mib.v6i3.4132.

M. F. Alexandi, “Ekonomi politik kebijakan hilirisasi industri,” Institut Pertanian Bogor, Jan. 2024, [Online]. Available: https://fem.ipb.ac.id/rubrik-iqtishodia/7554/ekonomi-politik-kebijakan-hilirisasi-industri/

E. A. Sianipar, “Potensi Resin Kemenyan (Styrax benzoin) dan Senyawa Aktifnya Dalam Pengobatan Penyakit,” Pharmaceutical and Biomedical Sciences Journal (PBSJ), vol. 5, no. 1, pp. 17–22, Jun. 2023, doi: 10.15408/pbsj.v5i1.30202.

Ridwansyah, T. C. Sunarti, K. Syamsu, F. Fahma, and E. Julianti, “Kandungan Kimia Kemenyan Sumatra Utara (Styrax benzoin) dan Prospek Pengembangannya,” Agrointek: Jurnal Teknologi Industri Pertanian, vol. 19, no. 3, pp. 530–539, 2025, doi: 10.21107/agrointek.v19i3.27527.

N. Semuel and A. A. Pekuwali, “Pengenalan Pola Tulisan Tangan Resep Dokter Menggunakan Metode Naïve Bayes Classifier Pada Puskesmas Kambaniru,” Jurnal Teknologi dan Komputer, vol. 2, no. 1, pp. 55–61, 2022, doi: 10.57152/malcom.v2i1.174.

D. Darwis, N. Siskawati, and Z. Abidin, “Penerapan Algoritma Naïve Bayes Untuk Analisis Sentimen Review Data Twitter BMKG Nasional,” Jurnal Tekno Kompak, vol. 15, no. 1, pp. 131–145, 2021, doi: 10.33365/jtk.v15i1.744.

A. Wandani, Fauziah, and Andrianingsih, “Analisis Sentimen Pengguna Twitter Pada Event Flash Sale Menggunakan Algoritma K-NN, Random Forest, dan Naïve Bayes,” Jurnal Sains Komputer & Informatika (J-SAKTI), vol. 5, no. 2, pp. 651–665, 2021, doi: 10.33319/jsakti.v5i2.463.

M. B. Prakoso, I. Cholissodin, and Indriati, “Analisis Sentimen Masyarakat Terhadap Sistem Pembelajaran Online Selama Pandemi Covid-19 Berdasarkan Twitter Menggunakan Metode Naïve Bayes,” Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer, vol. 5, no. 12, pp. 5376–5383, 2021, doi: 10.30865/mib.v5i1.2580.

N. Hardi, Y. Alkahfi, P. Handayani, W. Gata, and M. R. Firdaus, “Analisis Sentimen Physical Distancing Pada Twitter Menggunakan Text Mining Dengan Algoritma Naïve Bayes Classifier,” SISTEMASI: Jurnal Sistem Informasi, vol. 10, no. 1, pp. 131–138, 2021, doi: 10.32520/stmsi.v10i1.1118.

W. Ningsih, B. Alfianda, R. Rahmaddeni, and D. Wulandari, “Perbandingan Algoritma SVM dan Naïve Bayes Dalam Analisis Sentimen Twitter Pada Penggunaan Mobil Listrik di Indonesia,” MALCOM: Indonesian Journal of Machine Learning and Computer Science, vol. 4, no. 2, pp. 556–562, 2024, doi: 10.57152/malcom.v4i2.1253.

A. H. Ruger, M. Suyanto, and M. P. Kurniawan, “Analisis Sentimen Pelanggan Shopee di Twitter Menggunakan Algoritma Naïve Bayes,” JIFOTECH (Journal of Information Technology), vol. 1, no. 2, 2021, doi: 10.33197/j-tiitar.vol8no1.298.

B. Ramadhani and R. R. Suryono, “Komparasi Algoritma Naïve Bayes dan Logistic Regression Untuk Analisis Sentimen Metaverse,” Jurnal Media Informatika Budidarma, vol. 8, no. 2, p. 714, 2024, doi: 10.30865/mib.v8i2.7458.

R. A. Fauzi, I. Cholissodin, and B. Rahayudi, “Pemanfaatan Spark Untuk Analisis Sentimen Mengenai Netralitas Berita Dalam Membahas Pemilu Presiden 2019 Menggunakan Metode Naïve Bayes Classifier,” Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer, vol. 5, no. 3, pp. 1070–1077, 2021, doi: 10.21609/jiki.v13i2.812.

R. Singh and R. Singh, “Applications Of Sentiment Analysis and Machine Learning Techniques In Disease Outbreak Prediction – A review,” Materials Today: Proceedings, vol. 81, pp. 1006–1011, 2023, doi 10.1016/j.matpr.2021.04.356.

A. Prasetiya, Ferdiansyah, Y. N. Kunang, E. S. Negara, and W. Chandra, “Analisis Sentimen Terhadap Cryptocurrency Berdasarkan Komentar dan Balasan Pada Platform Twitter,” Journal of Information Systems and Informatics, vol. 3, no. 2, 2021, doi: 10.51519/jsisfo.v3i2.195.

Y. Durachman, S. J. Putra, H. Nanang, and H. T. Sukmana, “Analysis Sentiment Of Public Opinion On Social Media Using Naïve Bayes and TF-IDF algorithms,” in Proc. 3rd Int. Conf. Creative Communication and Innovative Technology (ICCIT), IEEE, ,pp. 1–6, 2024, doi: 10.1109/ICCIT62134.2024.10701191.

S. D. Rehatta, E. Sediyono, and I. Sembiring, “Analisis Penyebaran Informasi Vaksin Covid-19 Pada Twitter Menggunakan Kolaborasi SNA dan Sentiment Analysis,” Jurnal Media Informatika Budidarma, vol. 6, no. 2, p. 1145, 2022, doi: 10.30865/mib.v6i2.3955.

A. N. Badri, N. Noviandi, F. Anastya, and M. Roland, “Analisis Sentimen Untuk Identifikasi Kepuasan Masyarakat Terhadap Kenaikan BBM Menggunakan Algoritma Naïve Bayes,” JIKO (Jurnal Informatika dan Komputer), vol. 7, no. 2, p. 287, 2023, doi: 10.26798/jiko.v7i2.873.

F. S. Utomo, “Algoritma Naïve Bayes Untuk Analisis Sentimen Review Blibli.com di Google Play Store,” SISTEMASI, vol. 13, no. 2, pp. 831–840, 2024, doi: 10.32520/stmsi.v13i2.

Salahuddin, I. Sabila, and Amirullah, “Analisis dan Implementasi Sistem Penilaian Ulasan Dengan Teknik Sentiment Analysis Berbasis Machine Learning Untuk Peningkatan Feedback Pemilik Cafe,” Jurnal Teknologi dan Komputer, vol. 2, no. 2, 2024, doi: 10.30811/jim.v9i2.5980.

W. F. Sari, R. Rahim, and F. Adrianto, “Analisis Sentimen Review Pengguna BCA Mobile Menggunakan Text Mining,” Jurnal Teknologi Informasi dan Komunikasi, vol. 6, no. 2, 2023, doi: 10.33365/jusiti.v10i4.1795.


Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Analisis Sentiment Pengguna X Terhadap Hilirisasi Kemenyan Menggunakan Algoritma Naïve Bayes

Dimensions Badge
Article History
Submitted: 2025-11-03
Published: 2025-12-11
Abstract View: 21 times
PDF Download: 28 times
How to Cite
Utama, F., & Suaidah, S. (2025). Analisis Sentiment Pengguna X Terhadap Hilirisasi Kemenyan Menggunakan Algoritma Naïve Bayes. Building of Informatics, Technology and Science (BITS), 7(3), 1743-1752. https://doi.org/10.47065/bits.v7i3.8639
Issue
Section
Articles