Sentiment analysis of privacy issues in the digital era using the naïve bayes method
DOI:
https://doi.org/10.35335/mandiri.v14i2.450Kata Kunci:
Analysis, Data Privacy, Naïve Bayes, Sentiment, Social Media, TF-IDAbstrak
The development of information technology has triggered public concern about data privacy issues, especially on social media such as X (formerly Twitter). The rampant leaks of personal data have driven the need for a deeper understanding of public opinion. This study aims to analyze public sentiment towards data privacy issues by applying the Naïve Bayes algorithm. The formulation of the problem includes how the public perceives data privacy, how the algorithm performs in classifying sentiment, and how the evaluation results of the model used are. This study uses a quantitative method with a text mining and machine learning approach. Data were taken through crawling techniques on 1,500 tweets related to data privacy. The pre-processing stages were carried out through cleaning, tokenizing, normalization, stopword removal, and stemming. Furthermore, the data was labeled using the InsetLexicon dictionary and weighted using the TF-IDF method. The classification model was built using the Naïve Bayes algorithm and evaluated using accuracy, precision, recall, and f1-score metrics. The results showed that the majority of public opinion on data privacy issues was negative, reflecting concerns over the weak protection of personal data. The Naïve Bayes model performed quite well in sentiment classification. This research is useful in providing insight to the government and digital service providers in developing data protection policies that are more responsive to public opinion.
Referensi
Alfarezy, R., Ermatita, E., & Wadu, R. M. B. (2023). Implementasi Algoritma Naïve Bayes Untuk Analisis Klasifikasi Survei Kesehatan Mental (Studi Kasus: Open Sourcing Mental Illness). Informatik : Jurnal Ilmu Komputer, 19(1), 1–10. https://doi.org/10.52958/iftk.v19i1.4696
Anugerah, S. M., Wijaya, R., & Bijaksana, M. A. (2024). Sentimen Analysis Social Media for Disaster using Naïve Bayes and IndoBERT. INTEK: Jurnal Penelitian, 11(1), 51–58. https://doi.org/10.31963/intek.v11i1.4771
Arya, D., & Zufria, I. (2024). Analisis Sentimen Terhadap Program Kampanye Desak Anies Di X Menggunakan Naïve Bayes. 5(1), 104–115. https://doi.org/10.30865/klik.v5i1.2085
Asfi, M., & Fitrianingsih, N. (2020). InfoTekJar : Jurnal Nasional Informatika dan Implementasi Algoritma Naive Bayes Classifier sebagai Sistem Rekomendasi Pembimbing Skripsi. InfoTekJar, 5.
Azizah, N., Goejantoro, R., & Sifriyani. (2019). Metode Naive Bayes Dengan PendekatanDistribusi Gauss Untuk Klasifikasi PeminatanPeserta Didik. Prosiding Seminar Nasional Matematika Dan Statistika, 1, 1–7. https://jurnal.fmipa.unmul.ac.id/index.php/SNMSA/article/view/520/217
Christopher, B. (2025). Analisi Komparasi Metode K-Nearest Neighbor dan Naïve Bayes Classifier Berbasis Optimasi Randomized Search Dalam Klasifikasi Berita Hoaks. JATISI (Jurnal Teknik Informatika Dan Sistem Informasi), 12(2), 272–283. https://doi.org/10.35957/jatisi.v12i2.11371
Diana Dwi Rahayu, Muhammad Fatchan, & Alfonsus Ligouri. (2024). Analisis Sentimen Twitter Terpilihnya Prabowo - Gibran Menggunakan Metode Neural Network. Tematik, 11(1), 85–91. https://doi.org/10.38204/tematik.v11i1.1943
Firdaus, A. A., Yudhana, A., & Riadi, I. (2023). Sentiment Analysis on 2024 Presidential Election Projection using Support Vector Machine Method. Decode: Jurnal Pendidikan Teknologi Informasi, 3(2), 236–245.
Fuad Amirullah, Syariful Alam, & M.Imam Sulistyo S. (2023). Analisis Sentimen Terhadap Kinerja KPU Menjelang Pemilu 2024 Berdasarkan Opini Twitter Menggunakan Naïve Bayes. STORAGE: Jurnal Ilmiah Teknik Dan Ilmu Komputer, 2(3), 69–76. https://doi.org/10.55123/storage.v2i3.2293
Hairunnisa, H., & Syaka, W. A. (2022). Analisis Komunikasi Politik Dalam Percepatan Pembangunan Ibu Kota Nusantara (IKN) Menuju Kota Berkelanjutan. Journal of Government and Politics (JGOP), 4(1), 1. https://doi.org/10.31764/jgop.v4i1.8193
Ihsan, T., Ariwibowo, M. F., Indra, A. M., & ... (2024). Analisis Deskripsi Pemilihan Tema Konten untuk Pemasaran Sosial Media Instagram dalam peningkatan personal Branding. MDP Student …, 924–929.
Khotimah, K., & Ula, D. M. (2023). Triwikrama: Jurnal Ilmu Sosial. Triwikrama: Jurnal Ilmu Sosial, 01(11), 40–50.
Kosasih, R., & Alberto, A. (2021). Sentiment analysis of game product on shopee using the TF-IDF method and naive bayes classifier. ILKOM Jurnal Ilmiah, 13(2), 101–109. https://doi.org/10.33096/ilkom.v13i2.721.101-109
Maharani, A. P., & Triayudi, A. (2022). Sentiment Analysis of Indonesian Digital Payment Customer Satisfaction Towards GOPAY, DANA, and ShopeePay Using Naïve Bayes and K-Nearest Neighbour Methods. Jurnal Media Informatika Budidarma, 6(1), 672. https://doi.org/10.30865/mib.v6i1.3545
Permana, A. A., Taufiq, R., Destriana, R., & Nur’aini, A. (2024). Implementasi Algortima Naïve Bayes Untuk Prediksi Kelulusan Mahasiswa. Jurnal Teknik, 13(1), 65–70. https://jurnal.umt.ac.id/index.php/jt/article/view/10996
Puad, S., Garno, G., & Susilo Yuda Irawan, A. (2023). Analisis Sentimen Masyarakat Pada Twitter Terhadap Pemilihan Umum 2024 Menggunakan Algoritma Naïve Bayes. JATI (Jurnal Mahasiswa Teknik Informatika), 7(3), 1560–1566. https://doi.org/10.36040/jati.v7i3.6920
Putro, H. F., Vulandari, R. T., & Saptomo, W. L. Y. (2020). Penerapan Metode Naive Bayes Untuk Klasifikasi Pelanggan. Jurnal Teknologi Informasi Dan Komunikasi (TIKomSiN), 8(2). https://doi.org/10.30646/tikomsin.v8i2.500
Rachman, R., & Handayani, R. N. (2021). Klasifikasi Algoritma Naive Bayes Dalam Memprediksi Tingkat Kelancaran Pembayaran Sewa Teras UMKM. Jurnal Informatika, 8(2), 111–122. https://doi.org/10.31294/ji.v8i2.10494
Ramdan, A. S., Fadzilah, A. F., Haleel, A., & Misbah, E. (2023). Analisis Perbandingan Komunikasi Politik Ganjar Pranowo, Prabowo Subianto, Anies Baswedan Melalui Video “3 Bacapres Bicara Gagasan” di Channel YouTube Najwa Shihab. Prosiding Seminar Nasional, 780–791.
Setiawan, I. B., Maulindar, J., & Nurchim, N. (2024). Penerapan Algoritma Naive Bayes untuk Analisis Sentimen Pada Aplikasi Kesehatan Digital. G-Tech: Jurnal Teknologi Terapan, 8(4), 2301–2312. https://doi.org/10.70609/gtech.v8i4.5020
Syarli, & Muin, A. A. (2020). Metode Naive Bayes Untuk Prediksi Kelulusan. Jurnal Ilmiah Ilmu Komputer, 2(1), 22–26. https://media.neliti.com/media/publications/283828-metode-naive-bayes-untuk-prediksi-kelulu-139fcfea.pdf
Titimeidara, M. Y., & Hadikurniawati, W. (2021). Implementasi Metode Naïve Bayes Classifier Untuk Klasifikasi Status Gizi Stunting Pada Balita. Jurnal Ilmiah Informatika, 9(01), 54–59. https://doi.org/10.33884/jif.v9i01.3741
Wibawa, A. P., Kurniawan, A. C., Murti, D. M. P., Adiperkasa, R. P., Putra, S. M., Kurniawan, S. A., & Nugraha, Y. R. (2019). Naïve Bayes Classifier for Journal Quartile Classification. International Journal of Recent Contributions from Engineering, Science & IT (IJES), 7(2), 91. https://doi.org/10.3991/ijes.v7i2.10659
Wulan Sari, D., Sari Putri, M., & Nurlaili, N. (2023). Relevansi Pendidikan Islam Di Era Digital Dalam Menavigasi Tantangan Modern. Science and Education Journal (SICEDU), 2(2), 372–380. https://doi.org/10.31004/sicedu.v2i2.129
Zufria, I., Lubis, A. H., Febiyaula, S. S., Islam, U., & Sumatera, N. (2024). Kepolisian Republik Indonesia Menggunakan. 4307(August), 1266–1272.
Unduhan
Diterbitkan
Cara Mengutip
Terbitan
Bagian
Lisensi
Hak Cipta (c) 2025 Rio Fadli Ramadhan, Rakhmat Kurniawan

Artikel ini berlisensi Creative Commons Attribution-NonCommercial 4.0 International License.




