Implementation of Naïve Bayes Algorithm for Sentiment Classification of Public Youtube Opinions Related to Nickel Mining Issues in Raja Ampat
DOI:
https://doi.org/10.59934/jaiea.v5i3.2379Keywords:
Naïve Bayes; Nickel Mining; Raja Ampat; Sentiment Analysis; YouTubeAbstract
Indonesia currently holds the world’s largest nickel reserves. However, extractive activities in the Raja Ampat conservation area pose significant ecological threats and trigger social polarization on social media. The massive volume of opinion data creates challenges for policymakers in mapping public perception quickly and objectively. This study aims to classify public sentiment regarding nickel mining activities in Raja Ampat using the Naïve Bayes algorithm with TF-IDF feature weighting. The methodology employed in this research is CRISP-DM, which consists of Business Understanding, Data Understanding, Data Preparation, Modeling, Evaluation, and Deployment stages. The dataset consists of 10,903 YouTube comments collected from the Ferry Irwandi and Kompas.com channels. The results indicate that negative sentiment dominates public discourse at 46.4%, followed by neutral sentiment at 31%, and positive sentiment at 22.6%. The classification model achieved an accuracy rate of 71.59%. Furthermore, a Streamlit-based visualization dashboard was developed to assist stakeholders in monitoring public opinion trends systematically.
Downloads
References
T. Agustiranti, A. Khalfani Izzati Kurdiana, B. Al Ghiffari, E. Dwi Juniar, and D. Gita Purnama, “Penerapan Naive Bayes Terhadap Sentimen Analisis Media Sosial Twitter Pengguna Kereta Cepat Jakarta-Bandung (Whoosh),” Jurnal Ilmu Komputer dan Sistem Informasi (JIKOMSI, vol. 7, no. 1, pp. 297–305, 2024.
N. Suarna and W. Prihartono, “PENERAPAN NLP (NATURAL LANGUAGE PROCESSING) DALAM ANALISIS SENTIMEN PENGGUNA TELEGRAM DI PLAYSTORE,” 2024.
N. Modami, E. Eleazar Reva Manopo, D. Rafi Enditama, and A. Trista Ayunda, “Analisis Sentimen Komentar YouTube terhadap Rumor Peluncuran iPhone 17 Menggunakan Web Scraping dan Studi Komparatif Algoritma Klasifikasi,” Journal Of Information Systems And Informatics Engineering), vol. 9, no. 2, pp. 403–411, 2025, doi: 10.35145/joisie.v9i2.5684.
Nurian and B. Nurina Sari, “ANALISIS SENTIMEN ULASAN PENGGUNA APLIKASI GOOGLE PLAY MENGGUNAKAN NAÏVE BAYES,” Jurnal Informatika dan Teknik Elektro Terapan, vol. 11, no. 3, pp. 2830–7062, Sep. 2023, doi: 10.23960/jitet.v11i3%20s1.3348.
M. Shimaoka, R. C. Ferreira, and A. Goldman, “Leveraging XP and CRISP-DM for Agile Data Science Projects,” May 2025, doi: 10.24018/ejece.2025.9.4.739.
S. Do Park, “Policy Discourse Among the Chinese Public on Initiatives for Cultural and Creative Industries: Text Mining Analysis,” Sage Open, vol. 12, no. 1, Mar. 2022, doi: 10.1177/21582440221079927.
S. Melina Salsabila, A. Alim Murtopo, and N. Fadhilah, “Analisis Sentimen Pelanggan Tokopedia Menggunakan Metode Naïve Bayes Classifier,” Jurnal Minfo Polgan, vol. 02, pp. 30–35, Sep. 2022, [Online]. Available: www.tokopedia.com
Pannadhitthana Candra, “Analisis Data Menggunakan Python: Memperkenalkan Pandas dan NumPy,” vol. 3, no. 1, pp. 11–16, 2025.
H. Rachman, R. Megasari, and E. P. Nugroho, “Implementasi Penerapan Metode Scraping pada Pembuatan Curiculum Vitae,” 2021. [Online]. Available: https://ejournal.upi.edu/index.php/JATIKOM
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.








