A Stacking Ensemble Model for Predicting Student High School Graduation Outcomes

Fitriyani Fitriyani, Ari Amir Alkodri, Fajar Aswin

Abstract


This study develops and evaluates machine learning models to predict high school graduation outcomes and identify at-risk students for early intervention. Using a quantitative approach, data from 1,017 students across three public high schools were analyzed, encompassing academic performance (average yearly scores), behavioral factors (attendance rates and extracurricular participation), and socio-economic background (proxied by parental occupation). A comparative modeling strategy was applied, beginning with a Decision Tree baseline and advancing to a Stacking Ensemble model that integrated three heterogeneous base learners—Support Vector Machine (SVM), k-Nearest Neighbors (k-NN), and Decision Tree—combined through a Logistic Regression meta-model. Both models were optimized using GridSearchCV and adjusted for class imbalance between graduates (93.4%) and at-risk students (6.6%). The results showed that academic variables, particularly third-year average scores (mean = 82.6, SD = 6.4) and attendance rate (mean = 94.3%), were the strongest predictors of graduation, while socio-economic indicators had minimal impact. The Stacking Ensemble achieved a notable improvement over the Decision Tree, reaching an accuracy of 99.6%, precision of 0.909, recall of 1.000, F1-score of 0.952, and AUC of 1.000, compared to the baseline accuracy of 94.9% (F1-score = 0.519, AUC = 0.83). These findings indicate the superior predictive capability of the ensemble model in identifying students at risk of non-graduation. The study’s novelty lies in combining interpretable and high-performance models to construct a practical early-warning framework that can guide educators and policymakers in targeted academic interventions. However, the near-perfect metrics also suggest potential overfitting, emphasizing the need for validation using external datasets before broader application. Overall, this research contributes a robust, data-driven methodology for improving student retention through predictive analytics in educational settings.

Keywords


Student Performance Prediction; Educational Data Mining; Early-Warning System; Stacking Ensemble; Decision Tree; Logistic Regression

Full Text:

PDF

References


J. M. Aiken, R. de Bin, M. Hjorth-Jensen, and M. D. Caballero, “Predicting time to graduation at a large enrollment American university,” PLoS One, vol. 15, no. 11 November, Nov. 2020

L. Huang, L. R. Roche, E. Kennedy, and M. B. Brocato, “Using an Integrated Persistence Model to Predict College Graduation,” International Journal of Higher Education, vol. 6, no. 3, p. 40, May 2017

V. Zhang, B. Jeffries, and I. Koprinska, “A Machine Learning Approach for Predicting Student Progress in Online Programming Education,” Int J Artif Intell Educ, 2025

E. Kalita et al., “Educational data mining: a 10-year review,” Dec. 01, 2025, Springer Science and Business Media B.V.

A. Almalawi, B. Soh, A. Li, and H. Samra, “Predictive Models for Educational Purposes: A Systematic Review,” Dec. 01, 2024, Multidisciplinary Digital Publishing Institute (MDPI).

G. Akçapınar, M. N. Hasnine, R. Majumdar, B. Flanagan, and H. Ogata, “Developing an early-warning system for spotting at-risk students by using eBook interaction logs,” Smart Learning Environments, vol. 6, no. 1, Dec. 2019

G. Akçapınar, A. Altun, and P. Aşkar, “Using learning analytics to develop early-warning system for at-risk students,” International Journal of Educational Technology in Higher Education, vol. 16, no. 1, Dec. 2019

M. Kurniawan and S. Muhamad Isa, “Application of Data Mining for Prediction of High School Student Graduation Rates,” Jurnal Indonesia Sosial Teknologi, vol. 5, no. 11, p. 5480, 2024

F. Aprilia, R. A. Anggraini, and Y. D. Putri, “Prediksi Kelulusan Siswa dengan Algoritma Pembelajaran Mesin: Aplikasi Regresi Linear dan Logistik pada Faktor-Faktor Pendidikan,” ROUTERS: Jurnal Sistem dan Teknologi Informasi, pp. 55–64, Feb. 2025

S. Bum, I. B. Iorliam, E. O. Okube, and A. Iorliam, “Prediction of Student’s Academic Performance Using Linear Regression,” NIGERIAN ANNALS OF PURE AND APPLIED SCIENCES, vol. 1, pp. 259–264, Dec. 2019

Muhammad Hadiza Baffa, Muhammad Abubakar Miyim, and Abdullahi Sani Dauda, “Machine Learning for Predicting Students’ Employability,” UMYU Scientifica, vol. 2, no. 1, pp. 001–009, Feb. 2023

S. O. Oppong, “Predicting Students’ Performance Using Machine Learning Algorithms: A Review,” Asian Journal of Research in Computer Science, vol. 16, no. 3, pp. 128–148, 2023

W. Ahmed, M. A. Wani, P. Plawiak, S. Meshoul, A. Mahmoud, and M. Hammad, “Machine learning-based academic performance prediction with explainability for enhanced decision-making in educational institutions,” Sci Rep, vol. 15, no. 1, Dec. 2025

T. S. Tamir et al., “Traffic Congestion Prediction using Decision Tree, Logistic Regression and Neural Networks,” IFAC-PapersOnLine, vol. 53, no. 5, pp. 512–517, Jan. 2020

M. Pandey and V. K. Sharma, “A Decision Tree Algorithm Pertaining to the Student Performance Analysis and Prediction General Terms Data mining,” 2013.

T. Swiderski, S. C. Fuller, and K. C. Bastian, “Student-Level Attendance Patterns Across Three Post-Pandemic Years,” Educ Eval Policy Anal, 2025

D. Khairy, N. Alharbi, M. A. Amasha, M. F. Areed, S. Alkhalaf, and R. A. Abougalala, “Prediction of student exam performance using data mining classification algorithms,” Educ Inf Technol (Dordr), vol. 29, no. 16, pp. 21621–21645, Nov. 2024

W. Ha, L. Ma, Y. Cao, Q. Feng, and S. Bu, “The effects of class attendance on academic performance: Evidence from synchronous courses during Covid-19 at a Chinese research university,” Int J Educ Dev, vol. 104, Jan. 2024

O. Ojajuni et al., “Predicting Student Academic Performance Using Machine Learning,” in Computational Science and Its Applications – ICCSA 2021, Springer Science and Business Media Deutschland GmbH, 2021, pp. 481–491.

G. Keppens, “School absenteeism and academic achievement: Does the timing of the absence matter?,” Learn Instr, vol. 86, p. 101769, Aug. 2023

M. I. Martínez-Serna, J. S. Baixauli-Soler, M. Belda-Ruiz, and J. Yagüe, “The effect of online class attendance on academic performance in finance education,” The International Journal of Management Education, vol. 22, no. 3, p. 101023, Nov. 2024

A. M. Rabelo and L. E. Zárate, “A model for predicting dropout of higher education students,” Data Science and Management, vol. 8, no. 1, pp. 72–85, Mar. 2025

M. Vaarma and H. Li, “Predicting student dropouts with machine learning: An empirical study in Finnish higher education,” Technol Soc, vol. 76, p. 102474, Mar. 2024

S. Mustofa, Y. R. Emon, S. Bin Mamun, S. A. Akhy, and M. T. Ahad, “A novel AI-driven model for student dropout risk analysis with explainable AI insights,” Computers and Education: Artificial Intelligence, vol. 8, p. 100352, Jun. 2025

V. Zhang, B. Jeffries, and I. Koprinska, “A Machine Learning Approach for Predicting Student Progress in Online Programming Education,” Int J Artif Intell Educ, 2025

A. Villar and C. R. V. de Andrade, “Supervised machine learning algorithms for predicting student dropout and academic success: a comparative study,” Discover Artificial Intelligence, vol. 4, no. 1, Dec. 2024




DOI: https://doi.org/10.47738/jads.v7i1.1067

Refbacks

  • There are currently no refbacks.



Barcode

Journal of Applied Data Sciences

ISSN:2723-6471 (Online)
Publisher:Bright Publisher
Website:http://bright-journal.org/JADS
Email:taqwa@amikompurwokerto.ac.id (principal contact)
  support@bright-journal.org (technical issues)

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