Abstract
This research implements the K-Nearest Neighbors (KNN) algorithm to predict student learning mastery at SMK NU Hasyim Asy’ari 2 Kudus for the 2025/2026 academic year using multidimensional data. Following data preprocessing and labeling via median thresholding, the results indicate that the best performance is achieved at $K$ values of 7, 9, and 10, with an accuracy of 58.62%. While the precision of 0.69 demonstrates reasonable accuracy in predicting students who achieve mastery, the recall of 0.50 highlights the model's limitations in identifying all students who actually pass. These results are primarily influenced by the limited sample size and imbalanced class distribution. Overall, KNN serves as an effective initial approach for objective academic prediction, though further optimization through parameter tuning or feature engineering is required to enhance future accuracy.
Article Details
How to Cite
Citation FormatReferences
14 References- Ahmed, W., Wani, M. A., Plawiak, P., Meshoul, S., Mahmoud, A., & Hammad, M. (2025). Machine learning-based academic performance prediction with explainability for enhanced decision-making in educational institutions. Scientific Reports, 15(1). https://doi.org/10.1038/s41598-025-12353-4.
- Aliefa Khana Kotjek, R., Shabrina Wijaya, F., Wahyudi, M., & Surya Budiman, A. (2025a). Klasifikasi nilai ujian siswa berdasarkan kebiasaan belajar menggunakan K-Nearest Neighbor dan Support Vector Machine. Jurnal Sains Informatika Terapan (JSIT), E-ISSN (Number 2).
- Aliefa Khana Kotjek, R., Shabrina Wijaya, F., Wahyudi, M., & Surya Budiman, A. (2025b). Klasifikasi nilai ujian siswa berdasarkan kebiasaan belajar menggunakan K-Nearest Neighbor dan Support Vector Machine. Jurnal Sains Informatika Terapan (JSIT), E-ISSN (Number 2).
- Anggraini, D. (2025). Data mining pendidikan: Prediksi gaya belajar mahasiswa teknik menggunakan machine learning. 11(3), 563–572.
- Fatah, Z., & Safira Muasolli, H. (n.d.). Penerapan algoritma K-Nearest Neighbor (K-NN) untuk memprediksi kelulusan mahasiswa menggunakan RapidMiner. JAMASTIKA, 4.
- Florent Amor, A., Rizal Ihsanudin, M., Oka Yulistianto, S., & Direvisi, D. (2025). Prediksi kinerja siswa SMP berdasarkan data akademik dan perilaku menggunakan machine learning. 18(2), 67–76.
- Gunawan, M. T., Tine, J. Y., & Murwaningtyas, C. E. (2024). Model decision tree untuk prediksi prestasi akademik matematika siswa kelas VIII SMP Frater Don Bosco Manado. Jurnal Pendidikan Informatika dan Sains, 13(2), 141–153. https://doi.org/10.31571/saintek.v13i2.7696.
- Hadi, R., Luh, N., Suwirmayanti, G. P., Ngurah, G., Kusuma, A., Ayu, G., Saryanti, D., Novayanti, D., Stikom Bali, I., & Raya Puputan, J. (2024). Implementasi metode normalisasi dan seleksi fitur dalam optimasi algoritma K-Nearest Neighbor (KNN) untuk klasifikasi data bank. Jurnal Nasional Komputasi dan Teknologi Informasi (JNKTI), 7(5).
- Helmiyah, S., Pramestiawan, R., Studi Pendidikan Informatika, P., & Tinggi Keguruan dan Ilmu Pendidikan Rosalia Lampung, S. (2025). Analisis komparatif algoritma machine learning dengan metrik akurasi, presisi, recall, dan F1-score pada dataset kacang kering. 6(3), 152–159. https://doi.org/10.35960/ikomti.v6i3.2031.
- Indah Wahyuni, U., & Kurniawan, R. (2025). Algoritma K-Nearest Neighbor Classification sebagai sistem pengelompokan kemampuan akademik siswa berbasis web. Decode: Jurnal Pendidikan Teknologi Informasi, 5(2), 589–600. https://doi.org/10.51454/decode.v5i2.1246.
- Palinggik Allorerung, P., Erna, A., Bagussahrir, M., & Alam, S. (2024). Analisis performa normalisasi data untuk klasifikasi K-Nearest Neighbor pada dataset penyakit. Jurnal Informatika Sunan Kalijaga, 9(3).
- Pratiwi, A., Manurung, H., Pita Uli Sitompul, M., Informasi, S., & Kaputama, S. (2025). Implementasi metode K-Means Clustering untuk mengklasifikasi status gizi balita berdasarkan wilayah kerja Puskesmas Karang Rejo.
- Silfana, F. I., & Barata, M. A. (2024). Using K-NN algorithm for evaluating feature selection on high dimensional datasets. JURNAL TEKNIK INFORMATIKA, 17(2), 190–202. https://doi.org/10.15408/jti.v17i2.40866.
- Widianti, A., & Pratama, I. (2024). Penanganan missing values dan prediksi data timbunan sampah berbasis machine learning. Rabit: Jurnal Teknologi dan Sistem Informasi Univrab, 9(2), 242–251. https://doi.org/10.36341/rabit.v9i2.4789.
License
Copyright (c) 2026 Muhammad Syafi’ul Huda, Harminto Mulyo, Gentur Wahyu Nyipto Wibowo

This work is licensed under a Creative Commons Attribution 4.0 International License.
This is an open-access journal distributed under the Creative Commons Attribution 4.0 International License (CC BY 4.0), which permits unrestricted use, distribution, reproduction, and adaptation in any medium (even commercially), provided appropriate credit is given to the original author(s), a link to the license is provided, and any changes made are indicated. Authors retain copyright without restrictions and grant the journal the right of first publication as well as non-exclusive publishing rights for archiving, indexing, and scholarly dissemination.
Downloads
OJS UsageStats PluginMost read articles by the same author(s)
- Desain Topologi Jaringan (FTTR) Berbasis (GPON) dengan Pendekatan Algoritma Dijkstra di SMK NU Ma'arif Kudus Rizky Alhusani Gifari, Nur Aeni Widiastuti, Gentur Wahyu Nyipto Wibowo · Vol. 10 No. 3 (2026): JULY 2026
- Pemodelan Hybrid untuk Prediksi Risiko Keparahan Penyakit Tuberkulosis Menggunakan Algoritma K-Means dan Random Forest Hasan Ibrohim, Harminto Mulyo, Gentur Wahyu Nyipto Wibowo · Vol. 10 No. 3 (2026): JULY 2026
- Optimasi Kinerja Algoritma K-Nearest Neighbor melalui Metode Random Forest untuk Klasifikasi Penyakit Ginjal Achmad Hakim Qoirul Haq, Harminto Mulyo, Adi Sucipto · Vol. 10 No. 3 (2026): JULY 2026
- Analisis Kegunaan Aplikasi Sistem Manajemen Acara dan Rapat Universitas Islam Nahdlatul Ulama Jepara Berdasarkan Metode System Usability Scale Fanida Muta’aliyur Rohmah, Nadia Annisa Maori, Gentur Wahyu Nyipto Wibowo · Vol. 10 No. 3 (2026): JULY 2026
- Implementasi Blockchain Quorum Berbasis IBFT dalam Pengamanan dan Integritas Log Aktivitas Server Nugroho Adi Prasetyo, Sarwido Sarwido, Gentur Wahyu Nyipto Wibowo · Vol. 10 No. 3 (2026): JULY 2026