Classifying Student Academic Achievement from Limited Categorical Institutional Records: A Comparative Study of Naive Bayes, K-Nearest Neighbor, and Decision Tree

Authors

  • Relita Buaton Information System, Faculty of Computer Science, STMIK Kaputama, Binjai, Indonesia
  • I Gusti Prahmana Information System, Faculty of Computer Science, STMIK Kaputama, Binjai, Indonesia
  • Siti Nur Azizah Information System, Faculty of Computer Science, STMIK Kaputama, Binjai, Indonesia
  • Elisiya Putri Information System, Faculty of Computer Science, STMIK Kaputama, Binjai, Indonesia
  • Windy Indah Sary Sinaga Information System, Faculty of Computer Science, STMIK Kaputama, Binjai, Indonesia

DOI:

10.33395/sinkron.v10i3.16166

Keywords:

academic achievement; educational data mining; K-Nearest Neighbor; Naive Bayes; Python

Abstract

Student academic achievement prediction is an important application in Educational Data Mining (EDM) that supports proactive academic decision-making. This study investigates a specific and underexplored condition in the literature the classification of student academic achievement when the only available predictors are categorical institutional background attributes  without behavioral, attendance, or course-level data. This condition reflects data infrastructure limitations commonly found in Indonesian private higher education institutions. Three widely used classification algorithms Naive Bayes (BernoulliNB), K-Nearest Neighbor (KNN), and Decision Tree (CART) are compared against a majority class baseline through a five-stage preprocessing pipeline encompassing label normalization, cohort feature extraction, KNN k-value sensitivity analysis, and reporting of balanced accuracy and macro F1-score for fair evaluation under mild class imbalance. Results show that Decision Tree (depth=5) achieved the highest balanced accuracy (57.77%) and macro F1-score (57.51%), while Naive Bayes demonstrated the best generalization stability based on 10-fold cross-validation (60.07% ± 6.02%). All three models substantially outperformed the majority class baseline on balanced accuracy (+5–8 percentage points) and macro F1-score (+19–21 percentage points). Feature importance analysis identified IPS prior major background (15.6%) and the 2020 cohort (14.4%) as the most discriminative features. These findings provide evidence based algorithm selection guidance for data-constrained institutions and establish a reproducible performance benchmark for the categorical attributes only classification condition.

GS Cited Analysis

Downloads

Download data is not yet available.

References

Boujmiraz, S., Darhmaoui, H., & Drissi El Maliani, A. (2026). Predicting student performance: A comprehensive review of machine learning, deep learning, and explainable AI approaches. Computers and Education: Artificial Intelligence, 10, 100548. https://doi.org/10.1016/j.caeai.2026.100548

Malik, S., Patro, S. G. K., Mahanty, C., Hegde, R., Naveed, Q. N., Lasisi, A., Buradi, A., Emma, A. F., & Kraiem, N. (2025). Advancing educational data mining for enhanced student performance prediction: A fusion of feature selection algorithms and classification techniques with dynamic feature ensemble evolution. Scientific Reports, 15, 8738. https://doi.org/10.1038/s41598-025-92324-x

Sarker, S., Paul, M. K., Thasin, S. T. H., & Hasan, M. A. M. (2024). Analyzing students' academic performance using educational data mining. Computers and Education: Artificial Intelligence, 7, 100263. https://doi.org/10.1016/j.caeai.2024.100263

Ahmed, E. (2024). Student performance prediction using machine learning algorithms. Applied Computational Intelligence and Soft Computing, 2024(1), 4067721. https://doi.org/10.1155/2024/4067721

Abougalala, R. A. (2025). Predicting student performance academic using automated machine learning (AutoML): in medical academic institutions. Journal of New Approaches in Educational Research. https://doi.org/10.1007/s44322-025-00038-9

Angeioplastis, A., Tsimpiris, A., Alipour, J., & Konstadakis, M. (2025). A data-driven approach using educational data mining techniques to predict student performance and enhance learning outcomes. Computers, 14(3), 83.

Caday, M. B., Dalaorao, G. A., & Abalorio, C. C. (2025). Academic performance analysis of diploma students using predictive analytics. Procedia Computer Science, 257, 913–920. https://doi.org/10.1016/j.procs.2025.03.117

Agyemang, E. F. (2024). Predicting students’ academic performance via machine learning classification: An empirical review and practical application.

Nayak, P. (2023). Predicting students' academic performance by mining the educational data through machine learning-based classification model. Education and Information Technologies. https://doi.org/10.1007/s10639-023-11706-8

Jannah, D. M., et al. (2025). KNN vs Naive Bayes: An innovative comparison for prediction tasks in educational data. Data Technology and Computer Science.

Dabhade, P., Agarwal, R., Alameen, K. P., Fathima, A. T., Sridharan, R., & Gopakumar, G. (2021). Educational data mining for predicting students’ academic performance using machine learning algorithms. Materials Today: Proceedings, 47(8), 5260–5267. https://doi.org/10.1016/j.matpr.2021.05.646

Alalawi, K., et al. (2025). Evaluating the student performance prediction and action framework through a learning analytics intervention study. Education and Information Technologies. https://doi.org/10.1007/s10639-024-12923-5

scikit-learn developers. (2026). Naive Bayes. scikit-learn User Guide. https://scikit-learn.org/stable/modules/naive_bayes.html

scikit-learn developers. (2026). KNeighborsClassifier. scikit-learn API Reference. https://scikit-learn.org/stable/modules/generated/sklearn.neighbors.KNeighborsClassifier.html

scikit-learn developers. (2026). MultinomialNB and BernoulliNB documentation. scikit-learn API Reference. https://scikit-learn.org/stable/api/sklearn.naive_bayes.html

Powers, D. M. W. (2020). Evaluation: From precision, recall and F-measure to ROC, informedness, markedness and correlation.

Raschka, S., Liu, Y., Mirjalili, V., & Dzhulgakov, D. (2022). Machine Learning with PyTorch and Scikit-Learn. Packt.

Nasution, R. R. A., & Buaton, R. (2024). Penerapan metode Naive Bayes dalam menentukan diagnosa kerusakan pada smartphone. Indonesian Journal of Education and Computer Science, 2(1), 24–33. https://doi.org/10.60076/indotech.v2i1.383.

Ginting, S., Buaton, R., & Khadapi, M. (2025). Implementasi algoritma K-Nearest Neighbor untuk klasifikasi tingkat bullying di kalangan siswa SMP Negeri 1 Salapian. Global Research and Innovation Journal, 1(3), 887–893.


Crossmark Updates

How to Cite

Buaton, R., Prahmana, I. G. ., Azizah, S. N. ., Putri, E. ., & Sinaga, W. I. S. . (2026). Classifying Student Academic Achievement from Limited Categorical Institutional Records: A Comparative Study of Naive Bayes, K-Nearest Neighbor, and Decision Tree. Sinkron : Jurnal Dan Penelitian Teknik Informatika, 10(3). https://doi.org/10.33395/sinkron.v10i3.16166