Sistem Rekomendasi Bidang Program Studi Menggunakan Algoritma K-Nearest Neighbor Berbasis Web
DOI:
https://doi.org/10.55606/teknik.v6i2.12201Keywords:
KNN, klasifikasi, sistem rekomendasi, nilai akademik, aplikasi webAbstract
Selecting a suitable study field is a recurring challenge for final-year senior high school students because the choice affects their academic path and career orientation. At SMA Negeri 5 Tangerang Selatan, counseling activities require a data-supported instrument that can provide an initial view of students’ possible study-field tendencies. This research designed a web application that applies the K-Nearest Neighbor approach to compare student academic scores with alumni records that already contain known study-field labels. The application was built through the Waterfall development stages using Python, Flask, SQLite, HTML, CSS, and JavaScript. The research data comprised 450 alumni records with four academic attributes: Mathematics, Indonesian Language, English, and Science/Social Studies. Classification was performed through data preparation, Min-Max scaling, distance measurement with Euclidean Distance, selection of nearest neighbors, and majority voting. The algorithm was tested using 10-fold cross validation and a confusion matrix for K values of 1, 3, 5, 7, 9, 11, 13, and 15. The highest result appeared at K=11, with 25.11% accuracy, 25.21% precision, 24.65% recall, and 24.68% F1-score. These findings indicate that the application is more appropriate as supporting information for counseling discussions than as a sole basis for determining study choices.
References
Alkhussayid, M. D., & Ferdiansyah, F. (2022). Implementasi Algoritma K-Nearest Neighbors Pada Penentuan Jurusan Siswa. Jurnal Sistem Komputer Dan Informatika (JSON), 4(1), 25. https://doi.org/10.30865/json.v4i1.4759
Alwanda, A. yulistia, Ema Utami, & Ainul Yaqin. (2024). Analisis Klasifikasi Konsentrasi Mahasiswa Menggunakan Algoritma K-Nearest Neighbor. Infotek: Jurnal Informatika Dan Teknologi, 7(2), 618–628. https://doi.org/10.29408/jit.v7i2.27084
Lukmana, H. H., Alhusaini, M., & Purwayoga, V. (2023). PERANCANGAN SISTEM INFORMASI PERPUSTAKAAN DIGITAL BERBASIS WEBSITE MENGGUNAKAN METODE WATERFALL DI JURUSAN INFORMATIKA UNIVERSITAS SILIWANGI. METHOMIKA Jurnal Manajemen Informatika Dan Komputerisasi Akuntansi, 7(2), 340–346. https://doi.org/10.46880/jmika.Vol7No2.pp340-346
Mustofa, K., & Kurniawan, D. (2024). KESESUAIAN PEMILIHAN JURUSAN SISWA MENGGUNAKAN ALGORITMA NAIVE BAYES DAN K-NEAREST NEIGHBOR PADA SMK PLUS AL MUSYARROFAH (Vol. 06).
Purnomo, A., & Sururi, A. (2022). Prediksi Kemampuan Siswa Dalam Bersaing di Dunia Kerja Menggunakan Perbandingan Algoritma Naïve Bayes Dan K-Nearest Neighbor.
Rahayu, R. R., & Lidiawati, L. (2021). Implementasi Algoritma K-Nearest Neighbor Untuk Memprediksi Program Studi Bagi Calon Mahasiswa Baru. Infotek: Jurnal Informatika Dan Teknologi, 4(2), 131–141. https://doi.org/10.29408/jit.v4i2.3546
Riyanto, A., & Oktaviani, I. (2025). IMPLEMENTASI ALGORITMA K-NEAREST NEIGHBOR UNTUK OPTIMASI PEMBERIAN REWARD SISWA SMA. JSiI | Jurnal Sistem Informasi, 12(2), 114–119.
Riyanto, T., Juni Yanris, G., Nirmala Sari Hasibuan, M., Informatika, M., Sains dan Teknologi, F., & Labuhanbatu, U. (2024). Implementation of KNN Method to Determine Prospective Student Interests Penerapan Metode KNN untuk Menentukan Minat Calon Mahasiswa.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Jurnal Teknik Mesin, Elektro dan Ilmu Komputer

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






