Sistem Prediksi Prestasi Akademik Siswa Menggunakan Algoritma K-Nearest Neighbor (KNN)
DOI:
https://doi.org/10.47065/bulletincsr.v6i4.1092Keywords:
Data Mining; Classification; K-Nearest Neighbor (K-NN); Student Academic Achievement; Confusion MatrixAbstract
This study aims to classify student achievement levels based on academic ability in mastering subject matter using the K-Nearest Neighbor (K-NN) method. This study is motivated by the limitations of the student grade data processing system which is still done manually using Microsoft Excel, where the process of adding and grouping grades into low to high categories takes a long time and makes it difficult for teachers to identify student achievement levels, such as Good, Sufficient, and Poor categories. The data used consists of 134 students with 11 subject attributes as input variables in the classification process. The results show that from 134 student data, 90 students are classified into the Good category, 20 students are classified into the Sufficient category, and 24 students are classified into the Poor category. Testing using RapidMiner shows that the K-NN method obtains an accuracy level of 89.55%, which indicates that this method is effective in grouping student achievement levels. Performance evaluation is carried out using a Confusion Matrix to compare the classification results with actual data. Testing was conducted 10 times with a total of 134 student data obtained, the K-Nearest Neighbor (KNN) algorithm produced an accuracy of 89.55% and a kappa value of 0.763. These figures indicate that the model has excellent classification performance and a high level of reliability. The resulting model was then developed into a web-based prediction system that was tested using the expert system method through the Black-box Testing approach and obtained a feasibility level of 83.44%.
Downloads
References
D. F. Firdaus, “Pengaruh Persepsi Siswa Tentang Kompetensi Profesional Guru Dan Kompetensi Sosial Guru Terhadap Prestasi Belajar Siswa Pada Mata Pelajaran Ekonomi Di Sman 1 Kuningan,” J. Sintax Idea, vol. 2, no. 3, pp. 12–17, 2020, doi: https://doi.org/10.46799/syntax-idea.v2i3.153.
P. Astuti, S, “Pengaruh Kemampuan Awal dan Minat Belajar terhadap Prestasi Belajar Fisika,” Form. J. Ilm. Pendidik. MIPA, vol. 5, no. 1, pp. 68–75, 2015, doi: http://dx.doi.org/10.30998/formatif.v5i1.167.
M. Makkawaru, “Pentingnya Pendidikan Bagi Kehidupan dan Pendidikan ,” J. Konsepsi , vol. 8, no. 3, pp. 116–119, 2019.
A. P. Albarado and V. Eminita, “Pengaruh kebiasaan belajar terhadap prestasi belajar siswa di mts khazanah kebajikan,” FIBONACCI J. Pendidik. Mat. dan Mat., vol. 6, no. 2, pp. 167–174, 2020, doi: https://doi.org/10.24853/fbc.6.2.167-174.
R. Dewi, Obert, and R. Gusmana, “Implementasi Metode K-Nearest Neighbor (KNN) dalam Pengelompokan Status Ekonomi Warga,” J. Big Data Anal. Artif. Intell., vol. 4, no. 1, pp. 1–8, 2018, [Online]. Available: https://media.neliti.com/media/publications/308845-implementasi-metode-k-nearest-neighbor-k-ef5ce754.pdf
F. Febriansyah and S. Muntari, “Penerapan Algoritma K-Means untuk Klasterisasi Penduduk Miskin pada Kota Pagar Alam,” JISKA (Jurnal Inform. Sunan Kalijaga), vol. 8, no. 1, pp. 66–77, 2023, doi: https://doi.org/10.14421/jiska.2023.8.1.66-77.
Febriansyah and Efan, “Implementasi Algoritma K-Means Untuk Klasterisasi Besarnya Penggunaan Listrik Rumah Tangga Di Pagar Alam,” J. Sist. Inf. Triguna Dharma (JURSI TGD), vol. 4, no. 3, pp. 437–445, 2025, doi: 10.53513/jursi.v4i3.10955.
T. K. Titus and M. Jajuli, “Clustering Data Kecelakaan Lalu Lintas di Kecamatan Cileungsi Menggunakan Metode K-Means,” Gener. J., vol. 6, no. 1, pp. 1–12, 2022, doi: 10.29407/gj.v6i1.16103.
C. S. Octiva, T. I. Fajri, E. B. Sulistiarini, S. Suharjo, and U. W. Nuryanto, “Penggunaan Teknik Data Mining untuk Analisis Perilaku Pengguna pada Media Sosial,” J. Minfo Polgan, vol. 13, no. 1, pp. 1074–1078, 2024, doi: 10.33395/jmp.v13i1.13936.
S. N. Bakri and L. S. Harahap, “Analisis klasifikasi Algoritma K-Nearest Neighboar (K-NN) pada struktur Daerah di Kota Medan,” J. Ilmu Komput. dan Sist. Inf., vol. 4, no. 2, pp. 182–193, 2025, doi: 10.70340/jirsi.v4i2.165.
F. A. Nazhifa, M. S. Hasibuan, and Suhardi, “Klasifikasi Jenis Tanaman Anggrek Berdasarkan Daun Menggunakan Metode Principal Component Analysis Dan K-Nearest Neighbor I,” J. Ilm. Tek. dan Ilmu Komput., vol. 5, no. Vol. 5 No. 1 (2026): Februari, pp. 1–8, 2026, doi: https://doi.org/10.55123/storage.v5i1.7086.
M. B. Billah, I. Jangcik, Sasmita, and Yuhelmi, “Penerapan Metode K- Nearest Neigbhor Klasifikasi Jenis Buah Semangka Dengan Image Processing,” Zo. J. Sist. Inf., vol. 5, no. 3, pp. 535–548, 2023, doi: https://doi.org/10.31849/zn.v5i3.16301.
I. L. Putra, “Implementasi Algoritma Particle Swarm Optimization(Pso) Dan K-Nearest Neighbor(K-Nn) Dalam Memprediksi Keberhasilan Anak Smk Mendapatkan Kerja,” Technol. J. Ilm., vol. 13, no. 4, p. 339, 2022, doi: 10.31602/tji.v13i4.8167.
R. Darajaad and D. Fitrayati, “Pengaruh Minat Belajar dan Jam Belajar Terhadap Prestasi Belajar Siswa pada Mata Pelajaran Ekonomi di Siswa Kelas XI IPS 3 SMA Negeri 1 Kesamben,” J. Pendidik. Ekon., vol. 4, no. 3, pp. 1–6, 2016, doi: https://doi.org/10.26740/jupe.v4n3.p%25p.
E. P. K. Wardany and H. A. Rigianti, “Pengaruh Kinerja Guru Terhadap Hasil Belajar Siswa di Sekolah Dasar,” Attadrib J. Pendidik. Guru Madrasah Ibtidaiyah, vol. 6, no. 2, pp. 250–261, 2023, doi: 10.54069/attadrib.v6i2.541.
A. Muhaimin, M. Amin Hariyadi, and M. I. Imamudin, “Klasifikasi Prestasi Akademik Siswa Berdasarkan Nilai Rapor dan Kedisiplinan dengan Metode K-Nearest Neighbor,” J. Ilmu Komput. dan Sist. Inf., vol. 7, no. 1, pp. 193–202, 2024, doi: 10.55338/jikomsi.v7i1.2865.
R. H. N. L. G. P. S. I. G. N. A. K. I. G. A. D. S. P. D. Novayanti, “Analisis Perbandingan Algoritma K-Nearest Neighbor Klasifikasi Data Perbankan,” J. Inform. dan Komput., vol. 19, no. 1, pp. 167–173, 2025, doi: https://doi.org/10.35959/jik.v13i01.693.
R. N. Sesilia, H. Prihastuti, and Q. Arie, “Penerapan K-Nearest Neigbhor (KNN) untuk Klasifikasi Anggrek Berdasarkan Karakter Morfologi Daun dan Bunga,” Komputasi, vol. 15, no. 1, pp. 118–125, 2018, doi: https://doi.org/10.33751/komputasi.v15i1.
T. Pricillia and Zulfachmi, “Perbandingan Metode Pengembangan Perangkat Lunak (Waterfall, Prototype, RAD),” J. Bangkit Indones., vol. 10, no. 1, pp. 6–12, 2021, doi: 10.52771/bangkitindonesia.v10i1.153.
Oon Wira Yuda, Darmawan Tuti, Lim Sheih Yee, and Susanti, “Penerapan Penerapan Data Mining Untuk Klasifikasi Kelulusan Mahasiswa Tepat Waktu Menggunakan Metode Random Forest,” SATIN - Sains dan Teknol. Inf., vol. 8, no. 2, pp. 122–131, 2022, doi: 10.33372/stn.v8i2.885.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Sistem Prediksi Prestasi Akademik Siswa Menggunakan Algoritma K-Nearest Neighbor (KNN)
ARTICLE HISTORY
How to Cite
Issue
Section
Copyright (c) 2026 Febriansyah Febriansyah, Siti Muntari

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













