Analisis Sentimen Komentar YouTube Kualifikasi Piala Dunia 2026 Ronde 4 Timnas Indonesia menggunakan Naïve Bayes
Abstract
Public interest in the Indonesian National Team’s 2026 World Cup Qualifiers is evident from the diverse responses expressed in YouTube comments. The diversity of these responses indicates a range of sentiments toward the Indonesian National Team’s performance, making it necessary to cluster the comments to identify emerging sentiment trends. This study aims to analyze the sentiment of YouTube comments regarding the Indonesian National Team during Round 4 of the 2026 World Cup Qualifiers using the Multinomial Naïve Bayes algorithm. A total of 17,404 comments were collected via the YouTube Data API v3 from the Indonesian National Team and RCTI Sports channels. The data then underwent preprocessing, labeling using the InSet Lexicon verified by linguists, weighting using Term Frequency-Inverse Document Frequency (TF-IDF), and classification with the Multinomial Naïve Bayes algorithm. Testing was conducted using three data split scenarios 80:20, 75:25, and 70:30 with the metrics of accuracy, precision, recall, and F1-score. The test results showed that the 70:30 data split yielded the highest accuracy of 79.09%. In that scenario, the negative class achieved a precision of 0.81, a recall of 0.93, and an F1-score of 0.87. The negative class was also the most dominant sentiment, while the number of data points in the neutral and positive classes was lower. These results indicate that Multinomial Naïve Bayes can be used to classify YouTube comments.
References
F. Lubis, K. B. Ayuningtyas, S. Rahmadani, and Z. Purba, “Penggunaan Metode Text Mining Untuk Mengekstrak Informasi Penting,” Motiv. Pendidik. dan Bhs., vol. 1, no. 4, 2023.
S. F. Handayani, R. W. Pratiwi, and D. Intan, “Analisis Sentimen pada Data Ulasan Twitter dengan Long-Short Term Memory,” vol. 7, no. 1, pp. 39–46, 2022, doi: 10.31544/jtera.v7.i1.2022.39-46.
A. Muzaki, R. A. Ramadhani, and P. Kasih, “Analisis Sentimen Kemenangan Timnas U-23 Menggunakan Naive Bayes,” vol. 8, pp. 902–911, 2024.
E. A. Zuraida, A. R. Berto, and A. W. Utoyo, “Pemetaan Youtube sebagai Dasar Pengembangan Strategi Komunikasi Timnas U-23,” vol. 6, no. 6, pp. 2765–2774, 2024.
Y. C. A. Sanjaya, “Cetak Sejarah, Indonesia Lolos Putaran Keempat Kualifikasi Piala Dunia 2026,” Kompas.com. Accessed: Sep. 30, 2026. [Online]. Available: https://www.kompas.com/tren/read/2025/06/06/013000965/cetak-sejarah-indonesia-lolos-putaran-keempat-kualifikasi-piala-dunia-2026?page=all
A. Aliyudin, U. Siliwangi, and K. Tasikmalaya, “Analisis Sentimen Terhadap Piala Dunia U-20 Yang Batal Diselenggarakan Di Indonesia Pada Media Youtube Dengan Menggunakan Metode Naïve Bayes” vol. 8, no. 2, pp. 71–78, 2023.
B. Franko, N. Wilyanto, H. Irsyad, U. Multi, and D. Palembang, “Analisis Sentimen Terhadap Naturalisasi Pemain pada Youtube Menggunakan Decision Tree dan Naive Bayes Sentiment Analysis of Player Naturalization on Youtube Using Decision Trees and Naive Bayes,” vol. 03, no. September, pp. 8–16, 2024, doi: 10.57203/session.v3i1.2024.8-16.
V. P. Prasetyo and K. Cimahi, “Platform Mengenai Pro Kontra Terhadap Naturalisasi Indonesia,” vol. 13, no. 3.
D. F. Zhafira, B. Rahayudi, U. Brawijaya, and P. Korespondensi, “Analisis Sentimen Kebijakan Kampus Merdeka Menggunakan Naive Bayes Dan Pembobotan TF-IDF Sentiment Anlaysis Of Kampus Merdeka Policy Using Naive Bayes And TF-IDF Term Weighting Based On Youtube,” vol. 2, no. 1, pp. 55–63, 2021.
R. Hidayat, M. Fikry, F. Yanto, and E. P. Cynthia, “Penerapan Naïve Bayes Classifier dalam Klasifikasi Sentimen Publik di Twitter terhadap Puan Maharani,” vol. 6, pp. 100–108, 2024.
A. P. Widyassari, D. Salsabilla, and M. A. Amrozi, “Analisis sentimen publik di twitter terhadap pelantikan presiden Prabowo menggunakan algoritma Naïve Bayes Analysis of public sentiment on twitter towards president Prabowo ’ s inauguration using the Naïve Bayes algorithm,” vol. 10, no. 1, pp. 13–24, 2025.
R. L. Nurdiansyah and K. E. Dewi, “Pengaruh Information Gain Dan Normalisasi Kata Pada Analisis Sentimen Berbasis Aspek Komputa : Jurnal Ilmiah Komputer dan Informatika,” KOMPUTA J. Ilm. Komput. dan Inform., vol. 12, no. 2, 2023.
M. U. Albab, Y. K. P, and M. N. Fawaiq, “Optimization of the Stemming Technique on Text preprocessing President 3 Periods Topic,” vol. 20, no. 2, pp. 1–10, 2023.
B. Hakim, “Analisa Sentimen Data Text Preprocessing Pada Data Mining Dengan Menggunakan Machine Learning Data Text Pre-Processing Sentiment Analysis In Data Mining Using Machine Learning School of Computer Science and Technology , Harbin Institute of Technology,” vol. 4, no. 2, pp. 16–22, 2021.
R. R. Sani, Y. A. Pratiwi, S. Winarno, and E. D. Udayanti, “Analisis Perbandingan Algoritma Naive Bayes Classifier dan Support Vector Machine untuk Klasifikasi Hoax pada Berita Online Indonesia,” vol. 13, no. 2, pp. 85–98, 2022.
T. Ernayanti, “Penggunaan seleksi fitur chi-square dan algoritma multinomial naïve bayes untuk analisis sentimen pelangggan tokopedia 1,2,3,” vol. 11, no. 1, pp. 562–571, 2023, doi: 10.14710/j.gauss.11.4.562-571.
A. Gerliandeva, Y. H. Chrisnanto, and H. Ashaury, “Optimasi Klasifikasi Sentimen pada Komentar Online menggunakan Multinomial Naïve Bayes dan Ekstraksi Fitur TF-IDF serta N-grams Optimization of Sentiment Classification on Online Comments using Multinomial Naïve Bayes and TF-IDF Feature Extraction and N-grams,” no. X, pp. 259–272, 2024, doi: 10.56873/jpkm.v9i2.5585.
W. Mega, P. Dhuhita, F. Zone, P. S. Informatika, F. I. Komputer, and U. A. Yogyakarta, “Perbandingan Kinerja Algoritma Naïve Bayes Model Multinomial dan Bernoulli pada Pengklasifikasian Komentar Cyberbullying Performance Comparison of Naive Bayes Multinomial and Bernoulli Models in Cyberbullying Comment Classification,” vol. 12, no. 148, pp. 109–117, 2023, doi: 10.34010/komputika.v12i2.9767.
K. M. Suryaningrum, “Comparison of the TF-IDF Method with the Count Vectorizer to Classify Hate Speech,” vol. 5, no. 2, pp. 79–83, 2023, doi: 10.21512/emacsjournal.v5i2.9978.
I. Widaningrum, D. Mustikasari, R. Arifin, S. L. Tsaqila, and D. Fatmawati, “Algoritma Term Frequency – Inverse Document Frequency Clustering Untuk Menentukan Kategori Dokumen,” 2023.
R. Suryanti and P. T. Prasetyaningrum, “Perbandingan Metode TF-IDF dan Bag of Words dalam Analisis Sentimen Diet Kopi Americano di Media Sosial Twitter Menggunakan Naïve Bayes,” vol. 7, no. 1, 2025, doi: 10.47065/bits.v7i1.7244.
I. Imelda and A. R. Kurnianto, “Naïve Bayes and TF-IDF for Sentiment Analysis of the Covid-19 Booster Vaccine,” vol. 5, no. 158, pp. 1–2, 2026.
D. Muriyatmoko, A. Musthafa, and Y. Al Banna, “Sentiment Analysis of YouTube Comments on Indonesia ’ s Performance in 2026 World Cup Qualifiers Using Naive Bayes,” no. November 2025, 2026.
A. A. Baskara, N. M. Piranti, and M. F. Romdendine, “,” vol. 9, no. 3, pp. 4886–4895, 2025. Framework Data Mining: Sebuah Survei
A. H. Nurdy and A. Rahim, “Analisis Sentimen Ulasan Game Stumble Guys Pada Playstore Menggunakan Algoritma Naïve Bayes Sentiment Analysis of Stumble Guys Game Reviews on Playstore Using the Naïve Bayes Algorithm,” vol. 13, no. November, pp. 388–395, 2024, doi: 10.34148/teknika.v13i3.993.
A. Fahlevi, “Proses Data Mining KDD,” Binus University, School of Information System. Accessed: Dec. 11, 2025. [Online]. Available: https://sis.binus.ac.id/2021/09/30/proses-data-mining-kdd/
S. J. Angelina, A. Bijaksana, P. Negara, and H. Muhardi, “Analisis Pengaruh Penerapan Stopword Removal Pada Performa Klasifikasi Sentimen Tweet Bahasa Indonesia Analyzing The Impact Of Applying Stopword Removal On Indonesian Tweet Sentiment Classification,” vol. 02, no. 1, pp. 165–173, 2023, doi: 10.26418/juara.v2i1.69680.
A. Nafi, A. Tri, J. Harjanta, B. A. Herlambang, and S. Fahmi, “Analisis Sentimen Review Pelanggan Lazada dengan Sastrawi Stemmer dan SVM-PSO untuk Memahami Respon Pengguna,” no. 204, pp. 330–339, 2024.
M. Rosidin, M. F. Gustafi, and S. A. Pratiwi, “Jurnal Mantik Optimizing nazief adriani ’ s stemmer algorithm in detecting indonesian word errors using sastrawi,” vol. 7, no. 3, 2023.
R. B. Aprianto, A. Eviyanti, H. Setiawan, I. Ratna, and I. Astutik, “Dedi Mulyadi Dengan Metode Machine Learning (Studi Kasus: Kenakalan Remaja),” vol. 10, no. 2, pp. 2997–3004, 2026.
A. H. Dani, E. Y. Puspaningrum, R. Mumpuni, U. Pembangunan, N. Veteran, and J. Timur, “Studi Performa TF-IDF dan Word2Vec Pada Analisis Sentimen Cyberbullying,” no. 2, 2024.
N. A. Sivi, I. Mualim, and M. T. Kussofyan, “Penerapan Algoritma Naïve Bayes untuk Analisis Sentimen Ulasan Produk,” 2024.
T. Adrian and N. Suarna, “Implementasi Data Mining Untuk Mengklasifikasi Hasil Kelulusan Madrasah Menggunakan Algoritma Naïve Bayes,” vol. 8, no. 1, pp. 1000–1004, 2024.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Analisis Sentimen Komentar YouTube Kualifikasi Piala Dunia 2026 Ronde 4 Timnas Indonesia menggunakan Naïve Bayes
Pages: 189 - 198
Copyright (c) 2026 Rasyid Iskandar Prayogi, Azhari Ali Ridha, Ade Andri Hendriadi, Nina Sulistyowati, Taufik Ridwan

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).











