Analisis Sentimen Masyarakat Terhadap Program Gratis Pol Di TikTok Menggunakan Algoritma Naive bayes
Abstract
The Gratis Pol Program is an educational initiative in East Kalimantan that has garnered public attention and sparked a wide range of reactions on social media, particularly TikTok. The characteristic use of informal language, abbreviations, and colloquial expressions in TikTok comments poses a challenge for sentiment analysis, necessitating a method capable of systematically classifying public opinion. This study aims to analyze public sentiment toward the Gratis Pol Program based on TikTok user comments using the Naive Bayes algorithm. The research was conducted through the stages of text preprocessing, sentiment labeling using a lexicon-based approach, feature representation using TF-IDF, and the classification process using the Naive Bayes algorithm. The research data was obtained from 13 selected TikTok videos with a total of 1,528 comments, divided into 80% training data and 20% test data. The results show that positive sentiment dominates with 722 comments, followed by 496 neutral comments and 310 negative comments. The classification model achieved an accuracy of 56%, with a macro average F1-score of 0.44 and a weighted average F1-score of 0.48. This study contributes to understanding public perception of the Gratis Pol Program and demonstrates the application of the Naive Bayes algorithm in analyzing the sentiment of social media comments that possess certain characteristics.
References
A. Permana, A. Maulida, F. Husaeni, H. M. A, S. Ruhimasari, and P. P. Surya, “Definisi Kebijakan Publik: Pengertian, Unsur-unsur Dan Perkembangan,” J. Penelit. Nusant., vol. 1, no. 5, pp. 453–457, 2025, doi: https://doi.org/10.59435/menulis.v1i5.292.
A. Galluci, Irwanto, Muhlis, M. A. Rahman, A. Rachmadani, and S. Hardyanti, “PERAN DAN KEBIJAKAN OTONOMI DAERAH PEMERINTAH KALIMANTAN TIMUR DALAM PEMERATAAN AKSES PENDIDIKAN: ANALISIS HUKUM ADMINISTRASI NEGARA,” J. Ilm. PGSD STKIP Subang, vol. 12, no. 1, pp. 196–211, 2026, [Online]. Available: https://www.preventionweb.net/news/preliminary-report-february-6-2023-earthquakes-turkiye
Riskawati, Fatihanursari, Lin, and A. R. Rinaldi, “Penerapan Metode Naïve Bayes Classifier Pada Analisis Sentimen Aplikasi Gopay,” JATI (Jurnal Mhs. Tek. Inform., vol. 8, no. 1, pp. 346–353, 2024, doi: 10.36040/jati.v8i1.8699.
H. A. R. Harpizon, R. Kurniawan, I. Iskandar, R. Salambue, E. Budianita, and F. Syafira, “Analisis Sentimen Komentar Di YouTube Tentang Ceramah Ustadz Abdul Somad Menggunakan Algoritma Naïve Bayes,” JNKTI (Jurnal Nas. Komputasi dan Teknol. Informasi), vol. 5, no. 1, pp. 131–140, 2022.
R. Isnain, Auliya, H. Sulistiani, M. Hurohman, Bagus, A. Nurkholis, and Styawati, “Analisis Perbandingan Algoritma LSTM dan Naive bayes untuk Analisis Sentimen,” JEPIN (Jurnal Edukasi dan Penelit. Inform., vol. 8, no. 2, pp. 299–303, 2022.
F. A. Larasati, D. E. Ratnawati, and B. T. Hanggara, “Analisis Sentimen Ulasan Aplikasi Dana dengan Metode Random Forest,” J. Pengemb. Teknol. Inf. dan Ilmu Komput., vol. 6, no. 9, pp. 4305–4313, 2022, [Online]. Available: http://j-ptiik.ub.ac.id
A. Safira and F. N. Hasan, “ANALISIS SENTIMEN MASYARAKAT TERHADAP PAYLATER MENGGUNAKAN METODE NAIVE BAYES CLASSIFIER,” J. Sist. Inf., vol. 5, no. 1, pp. 59–70, 1978.
M. K. Insan, U. Hayati, and O. Nurdiawan, “Analisis Sentimen Aplikasi Brimo Pada Ulasan Pengguna Di Google Play Menggunakan Algoritma Naive bayes,” J. Mhs. Tek. Inform., vol. 7, no. 1, pp. 478–483, 2023.
A. I. Tanggraeni and M. N. N. Sitokdana, “Analisis Sentimen Aplikasi E-Government pada Google Play Menggunakan Algoritma Naïve Bayes,” JATISI (Jurnal Tek. Inform. dan Sist. Informasi), vol. 9, no. 2, pp. 785–795, 2022, doi: 10.35957/jatisi.v9i2.1835.
A. Karimah, G. Dwilestari, and Mulyawan, “Analisis Sentimen Komentar Video Mobil Listrik Di Platform Youtube Dengan Metode Naive bayes,” JATI (Jurnal Mhs. Tek. Inform., vol. 8, no. 1, pp. 767–773, 2024.
A. A. Ningtyas, A. Solichin, and R. Pradana, “Analisis Sentimen Komentar Youtube Tentang Prediksi Resesi Ekonomi Tahun 2023 Menggunakan Algoritme Naïve Bayes,” Bit (Fakultas Teknol. Inf. Univ. Budi Luhur), vol. 20, no. 1, pp. 9–16, 2023, doi: 10.36080/bit.v20i1.2317.
V. W. D. Thomas and F. Rumaisa, “Analisis Sentimen Ulasan Hotel Bahasa Indonesia Menggunakan Support Vector Machine dan TF-IDF,” J. Media Inform. Budidarma, vol. 6, no. 3, p. 1767, 2022, doi: 10.30865/mib.v6i3.4218.
B. Hirwono, A. Hermawan, and D. Avianto, “Implementasi Metode Naïve Bayes untuk Klasifikasi Penderita Penyakit Jantung,” J. JTIK (Jurnal Teknol. Inf. dan Komunikasi), vol. 7, no. 3, pp. 450–457, 2023, doi: 10.35870/jtik.v7i3.910.
D. Prasetia, N. Rahaningsih, R. D. Dana, and C. L. Rohmat, “ANALISIS SENTIMEN PENGGUNA APLIKASI MYBLUEBIRD DENGAN ALGORITMA NAÏVE BAYES DI PLAYSTORE,” JITET(Jurnal Inform. dan Tek. Elektro Tepian), vol. 13, no. 1, pp. 602–608, 2025, doi: doi.org/10.23960/jitet.v13i1.5687.
R. Syahri and D. Puspita, “Classification Of Outstanding Students Using Support Vector Machine (SVM),” JITE (Journal Informatics Telecommun. Eng. Available, vol. 9, no. 1, pp. 13–23, 2025, doi: 10.31289/jite.v9i1.13191.
I. Zulfahmi, “Analisis Sentimen Aplikasi PLN Mobile Menggunakan Metode Decission Tree,” J. Penelit. Rumpun Ilmu Tek., vol. 3, no. 1, pp. 11–21, 2024, doi: https://doi.org/10.55606/juprit.v3i1.3096.
J. A. Wibowo, V. C. Mawardi, and T. Sutrisno, “Visualisasi Word Cloud Hasil Analisis Sentimen Berbasis Fitur Layanan Aplikasi Gojek Dengan Support Vector Machine,” J. Serina Sains, Tek. dan Kedokt., vol. 2, no. 1, pp. 61–70, 2024, doi: 10.24912/jsstk.v2i1.32058.
A. Hanafiah et al., “Sentimen analisis terhadap customer review produk shopee berbasis wordcloud dengan algoritma naïve bayes classifier sentiment analysis of customer reviews of shopee products based on wordcloud using naïve bayes classifier algorithm,” J. Inf. Technol. Comput. Sci., vol. 6, no. 1, pp. 230–236, 2023.
Copyright (c) 2026 Nandhita Helda Widayani, Eka Arriyanti, Yulindawati

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).


.png)
.png)


