Public Sentiment Analysis on Facebook Posts About Shin Tae-Yong's Dismissal Using the K-Nearest Neighbors Algorithm
DOI:
https://doi.org/10.59934/jaiea.v5i1.1611Keywords:
Sentiment Analysis, K-Nearest Neighbors, Shin Tae-yong, PSSI, FacebookAbstract
The sacking of Indonesian national team coach Shin Tae-yong by PSSI on January 6, 2025 sparked massive public attention on various social media platforms, one of which was Facebook. The large volume of unstructured opinions required analysis to accurately understand public perception. This study aims to classify public sentiment toward the news of Shin Tae-yong's dismissal using the K-Nearest Neighbors (K-NN) machine learning method. The data used consists of public comments from Facebook, processed through a series of text preprocessing steps and word weighting using TF-IDF. The K-NN model was tested with a value of k = 80. The results show that the classification model achieved an overall accuracy rate of 76%. While the model performed well for positive and negative sentiment classes, its performance was very weak in identifying neutral sentiment (recall 0.02). The sentiment distribution results indicate that public opinion is dominated by positive sentiment at 56.5%, followed by negative sentiment (29.3%), and neutral sentiment (14.2%). The main finding of this study, which contradicts common assumptions, is that the public response on Facebook to this policy is predominantly positive.
Downloads
References
A. Setiadarma, “Kaitan Public Opinion dan Public Relation,” Ilmu Komunikasi, vol. XXVI, no. 3, pp. 216–219, 2021.
N. M. Sania, N. Baitillah, M. H. Indriani, F. Fernanda, and T. Aditya, “Survei Kepuasan Opini Publik terhadap Kebijakan Naturalisasi Pemain PSSI : dalam Upaya Meningkatkan Prestasi Timnas Indonesia,” no. 2, pp. 1–19, 2025.
Idah Nufajriya Awwalin, Latif Syaipudin, and Ahmad Luthfi, “Analisis Respon Publik Melalui Sosial Media Facebook terhadap Wacana Kenaikan Pajak Pasca Pilpres 2024 pada Media Pemberitaan,” AKSAYA: Jurnal Rumpun Akuntansi Publik, vol. 1, no. 1, pp. 01–08, 2025.
D. Jacarria Pangestu and A. Kodar, “Implementasi Multinomial Naïve Bayes Untuk Klasifikasi Sentimen Terhadap Pelayanan Perusahaan Otobus Menggunakan Data Facebook (Studi Kasus: Grup Facebook Murni Jaya Lovers),” Jurnal Informatika: Jurnal Pengembangan IT, vol. 7, no. 3, pp. 156–160, 2022.
A. (Asrumi) Asrumi, D. (Didik) Suharijadi, A. D. (Agustina) Setiari, and D. P. (Diah) Wulanda, Analisis Sentimen dan Penggalian Opini, no. 1. Purbalingga: CV. Eureka Media Aksara, 2023. [Online]. Available: https://repository.penerbiteureka.com/publications/567221/
R. N. Handayani, “Optimasi Algoritma Support Vector Machine untuk Analisis Sentimen pada Ulasan Produk Tokopedia Menggunakan PSO,” Media Informatika, vol. 20, no. 2, pp. 97–108, 2021, doi: 10.37595/mediainfo.v20i2.59.
Y. Putra Dinata, M. Fikry, F. Yanto, and E. Pandu Cynthia, “Analisis Sentimen Terhadap Sebuah Figur Publik di Twitter Menggunakan Metode K-Nearest Neighbor,” Media Online), vol. 4, no. 6, pp. 2822–2829, 2024, doi: 10.30865/klik.v4i6.1904.
F. Rizqi Irawan, “Analisis Sentimen Terhadap Pengguna Gojek Menggunakan Metode K-Nearset Neighbors,” JIKO (Jurnal Informatika dan Komputer), vol. 5, no. 1, pp. 62–68, 2022, doi: 10.33387/jiko.v5i1.4267.
M. Furqan, S. Sriani, and S. M. Sari, “Analisis Sentimen Menggunakan K-Nearest Neighbor Terhadap New Normal Masa Covid-19 Di Indonesia,” Techno.Com, vol. 21, no. 1, pp. 51–60, 2022, doi: 10.33633/tc.v21i1.5446.
I. H. Kusuma and N. Cahyono, “Analisis Sentimen Masyarakat Terhadap Penggunaan E-Commerce Menggunakan Algoritma K-Nearest Neighbor,” Jurnal Informatika: Jurnal Pengembangan IT, vol. 8, no. 3, pp. 302–307, 2023, doi: 10.30591/jpit.v8i3.5734.
A. Rianti, N. W. A. Majid, and A. Fauzi, “CRISP-DM: Metodologi Proyek Data Science,” Prosiding Seminar Nasional Teknologi Informasi dan Bisnis (SENATIB), pp. 107–114, 2023, [Online]. Available: https://ojs.udb.ac.id/index.php/Senatib/article/view/3015
Y. A. Singgalen, “Penerapan Metode CRISP-DM dalam Klasifikasi Data Ulasan Pengunjung Destinasi Danau Toba Menggunakan Algoritma Naïve Bayes Classifier (NBC) dan Decision Tree (DT),” Jurnal Media Informatika Budidarma, vol. 7, no. 3, p. 1551, 2023, doi: 10.30865/mib.v7i3.6461.
C. Schröer, F. Kruse, and J. M. Gómez, “A systematic literature review on applying CRISP-DM process model,” Procedia Comput Sci, vol. 181, no. 2019, pp. 526–534, 2021, doi: 10.1016/j.procs.2021.01.199.
M. N. Muttaqin and I. Kharisudin, “Analisis Sentimen Pada Ulasan Aplikasi Gojek Menggunakan Metode Support Vector Machine dan K Nearest Neighbor,” UNNES Journal of Mathematics, vol. 10, no. 2, pp. 22–27, 2021, [Online]. Available: http://journal.unnes.ac.id/sju/index.php/ujm
I. P. A. E. D. Udayana, I. G. I. Sudipa, and R. Risaldi, “Sentimen Analisis Inisiatif Vaksin Nasional Menggunakan Naïve Bayes dan Laplacian Smoothing Pada Komentar Video Youtube,” Jurnal RESISTOR (Rekayasa Sistem Komputer), vol. 5, no. 2, pp. 116–126, 2022, doi: 10.31598/jurnalresistor.v5i2.1108.
R. C. Rivaldi, T. D. Wismarini, J. T. Lomba, and J. Semarang, “Analisis Sentimen Pada Ulasan Produk Dengan Metode Natural Language Processing (NLP) (Studi Kasus Zalika Store 88 Shopee),” Jurnal Ilmiah Elektronika Dan Komputer, vol. 17, no. 1, pp. 120–128, 2024.
M. Afdal and L. R. Elita, “Penerapan Text Mining Pada Aplikasi Tokopedia Menggunakan Algoritma K-Nearest Neighbor,” Jurnal Ilmiah Rekayasa dan Manajemen Sistem Informasi, vol. 8, no. 1, p. 78, 2022, doi: 10.24014/rmsi.v8i1.16595.
D. Chrisinta and J. E. Simarmata, “Eksplorasi Teknik Web Scraping pada Data Mining: Pendekatan Pencarian Data Berbasis Python,” Faktor Exacta, vol. 17, no. 1, pp. 58–68, 2024, doi: 10.30998/faktorexacta.v17i1.22393.
I. Naing, S. T. Aung, K. H. Wai, and N. Funabiki, “A Reference Paper Collection System Using Web Scraping,” Electronics (Switzerland), vol. 13, no. 14, 2024, doi: 10.3390/electronics13142700.
N. K. Kahlon and W. Singh, “Comparative Analysis of Web Scraping Tools for Low-Resource Language Text,” International Journal of Engineering Trends and Technology, vol. 72, no. 1, pp. 284–299, 2024, doi: 10.14445/22315381/IJETT-V72I1P128.
S. Khairunnisa, A. Adiwijaya, and S. Al Faraby, “Pengaruh Text Preprocessing terhadap Analisis Sentimen Komentar Masyarakat pada Media Sosial Twitter (Studi Kasus Pandemi COVID-19),” Jurnal Media Informatika Budidarma, vol. 5, no. 2, p. 406, 2021, doi: 10.30865/mib.v5i2.2835.
D. Wardhani, R. Astuti, and D. D. Saputra, “Optimasi Feature Selection Text Mining: Stemming dan Stopword,” INNOVATIVE: Journal Of Social Science Research, vol. 4, no. 1, pp. 7537–7548, 2024.
N. Silalahi and Guidio Leonarde Ginting, “Rekomendasi Berita Berkaitan dengan Menerapkan Algoritma Text Mining dan TF-IDF,” Bulletin of Computer Science Research, vol. 3, no. 4, pp. 276–282, 2023, doi: 10.47065/bulletincsr.v3i4.266.
I. S. Wibowo, A. Witanti, and I. Susilawati, “Keyword Extraction Judul Berita Online Di Indonesia Menggunakan Metode TF-IDF,” Jurnal Teknik Informatika dan Sistem Informasi, vol. 11, no. 1, pp. 99–111, 2024, [Online]. Available: http://jurnal.mdp.ac.id
Tegar Arifin Prasetyo, Buku Ajar: Data Science Dan Machine Learning Project Mindmap Untuk Kalangan Mahasiswa, Peneliti, Dan Pebisnis. Deepublish, 2023.
Heliyanti Susana, “Penerapan Model Klasifikasi Metode Naive Bayes Terhadap Penggunaan Akses Internet,” Jurnal Riset Sistem Informasi dan Teknologi Informasi (JURSISTEKNI), vol. 4, no. 1, pp. 1–8, 2022, doi: 10.52005/jursistekni.v4i1.96.
T. Harlina and E. Handayani, “Klasifikasi Motif Batik Banyuwangi Menggunakan Metode K-Nearest Neighbor (K-NN) Berbasis Android,” JIPI (Jurnal Ilmiah Penelitian dan Pembelajaran Informatika), vol. 7, no. 1, pp. 82–96, 2022, doi: 10.29100/jipi.v7i1.2411.
N. R. P. Wardoyo, J. Santoso, and E. I. Setiawan, “Klasifikasi Micro-Expression Menggunakan K-Nearest Neighbors Menggunakan Fitur CAS dan HOG,” Journal of Intelligent System and Computation, vol. 5, no. 2, pp. 96–103, 2023, doi: 10.52985/insyst.v5i2.346.
T. N. Halim, R. Martin, R. Kesia, B. Hutasoit, and S. Aisyah, “Kepuasan Pelanggan Terhadap Platform E-Commerce Metode K-NN(Tio Novian Halim) |512 Klasifikasi Kepuasan Pelanggan Terhadap Platform E-Commerce dengan Metode K-Nearest Neighbor (K-NN),” Jurnal Riset Sistem Informasi Dan Teknik Informatika (JURASIK), vol. 8, no. 2, pp. 512–523, 2023, [Online]. Available: https://tunasbangsa.ac.id/ejurnal/index.php/jurasik
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Journal of Artificial Intelligence and Engineering Applications (JAIEA)

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.







