EUVIMEDEUVIMED entdecken
Open Access · CC BY-NC 4.0

A COMPARATIVE STUDY OF DISTANCE METRICS AND NEIGHBOR SELECTION IN K-NEAREST NEIGHBOR FOR VOCATIONAL STUDENT PERFORMANCE CLASSIFICATION

Muhammad Aris Ganiardi, Ida Wahyuningrum, Nita Novita, Denny Alfian

Jurnal Riset Informatika · 16.06.2026 · 8 (3) · 358-368

DOI: 10.34288/jri.v8i3.520 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Jurnal Riset Informatika, online erschienen am 16.06.2026. Verfasst von Muhammad Aris Ganiardi und 3 weiteren Autor:innen. Die Arbeit nennt 19 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY-NC 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

This study aims to evaluate parameter sensitivity in the K-Nearest Neighbor (KNN) algorithm, particularly the selection of distance metrics and k-values, for classifying academic performance in vocational education with heterogeneous and imbalanced data characteristics. The dataset consists of 750 first-year students from the Informatics Management program, including academic attributes (GPA, attendance, and core course grades) and demographic attributes (age, gender, educational background, and economic status). Data preprocessing involves data cleaning, one-hot encoding, Z-score normalization, and handling class imbalance using SMOTE. Model evaluation is conducted using K-Fold Cross Validation with accuracy, precision, recall, and macro-average F1-score as performance metrics. The results show that KNN performance is highly influenced by the combination of distance metrics and k-values. All metrics achieve accuracy above 84%, but differ in handling class imbalance. The Chebyshev metric (k = 10) provides the best balance with an F1-score of 0.6468, while the Minkowski metric (p = 3) achieves the highest recall of 0.7334. The Euclidean metric attains the highest accuracy of 0.8504 (k = 11), but tends to be biased toward the majority class. These findings indicate that optimizing KNN parameters should not rely solely on accuracy, but also consider balanced performance across classes. This study provides a practical evaluation framework for selecting KNN parameters to support more robust and fair academic prediction systems in vocational education data.

Zitieren

APA

Ganiardi, M. A., Wahyuningrum, I., Novita, N., & Alfian, D. (2026). A COMPARATIVE STUDY OF DISTANCE METRICS AND NEIGHBOR SELECTION IN K-NEAREST NEIGHBOR FOR VOCATIONAL STUDENT PERFORMANCE CLASSIFICATION. Jurnal Riset Informatika, 8(3), 358-368. https://doi.org/10.34288/jri.v8i3.520

Vancouver

Ganiardi MA, Wahyuningrum I, Novita N, Alfian D. A COMPARATIVE STUDY OF DISTANCE METRICS AND NEIGHBOR SELECTION IN K-NEAREST NEIGHBOR FOR VOCATIONAL STUDENT PERFORMANCE CLASSIFICATION. Jurnal Riset Informatika. 2026;8(3):358-368. doi:10.34288/jri.v8i3.520

BibTeX
@article{Ganiardi2026,
  author = {Ganiardi, Muhammad Aris and Wahyuningrum, Ida and Novita, Nita and Alfian, Denny},
  title = {A COMPARATIVE STUDY OF DISTANCE METRICS AND NEIGHBOR SELECTION IN K-NEAREST NEIGHBOR FOR VOCATIONAL STUDENT PERFORMANCE CLASSIFICATION},
  journal = {Jurnal Riset Informatika},
  year = {2026},
  volume = {8},
  number = {3},
  pages = {358--368},
  doi = {10.34288/jri.v8i3.520}
}
Kostenlos starten →