Application of the K-Nearest Neighbor Algorithm for Performance Classification Based on Students' Academic Performance and Lifestyle
G-Tech: Jurnal Teknologi Terapan · 10.07.2026 · 10 (3) · 1226-1234
DOI: 10.70609/g-tech.v10i3.10315 ↗Kurz gefasst
Fachartikel in der Zeitschrift G-Tech: Jurnal Teknologi Terapan, online erschienen am 10.07.2026. Verfasst von Zaehol Fatah. Die Arbeit wurde bisher 1-mal zitiert (Crossref). Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).
Abstract (Originalsprache)
Conventional student performance evaluation mechanisms often fail to detect a decline in performance in a timely manner because they overlook non-academic factors. This study aims to build a comprehensive student performance classification model by simultaneously integrating academic performance and lifestyle patterns using the k-Nearest Neighbor (k-NN) algorithm. The research method utilizes 1,000 student datasets from Kaggle, which were divided using the Stratified Split method into 80% training data and 20% test data. Simulations were run using RapidMiner Studio software with the Euclidean Distance metric and varying k values of 3, 5, and 7. Experimental results show the model achieved a peak global accuracy of 97% at the optimal k value of 5, where the model successfully classified 194 out of 200 test data samples correctly. Lifestyle attributes independently influence students’ academic performance, with the number of study hours per day being the most significant predictor (47.94%). Sensitivity analysis confirms that k=5 is the optimal value to avoid data noise at k=3 (94.50%) and oversmoothing at k=7. In conclusion, this k-NN-based model is highly suitable for application as an early warning system for schools to provide proactive and personalized pedagogical interventions.
Zitieren
APA
Fatah, Z. (2026). Application of the K-Nearest Neighbor Algorithm for Performance Classification Based on Students' Academic Performance and Lifestyle. G-Tech: Jurnal Teknologi Terapan, 10(3), 1226-1234. https://doi.org/10.70609/g-tech.v10i3.10315
Vancouver
Fatah Z. Application of the K-Nearest Neighbor Algorithm for Performance Classification Based on Students' Academic Performance and Lifestyle. G-Tech: Jurnal Teknologi Terapan. 2026;10(3):1226-1234. doi:10.70609/g-tech.v10i3.10315
BibTeX
@article{Fatah2026,
author = {Fatah, Zaehol},
title = {Application of the K-Nearest Neighbor Algorithm for Performance Classification Based on Students' Academic Performance and Lifestyle},
journal = {G-Tech: Jurnal Teknologi Terapan},
year = {2026},
volume = {10},
number = {3},
pages = {1226--1234},
doi = {10.70609/g-tech.v10i3.10315}
}
EUVIMED