Interpretation of the Main Academic Stress Triggers in Informatics Students Using SHAP Waterfall Plots
Keywords:
Academic Stress, Psychological, Random Forest, Explainable AI, SHAP Waterfall Plot.Abstract
Final-year university students, particularly in their seventh semester, frequently experience complex psychological pressures due to the transition toward thesis writing and workforce preparation. Early detection efforts by educational institutions often rely on static historical data or demographics, which fail to accurately capture real-time psychological conditions. This study aims to classify and transparently interpret the primary triggers of academic stress using an Explainable Artificial Intelligence (XAI) approach. The dataset was gathered through primary questionnaires comprising 10 academic and psychological burden indicators from student respondents. Classification modeling was constructed using the Random Forest algorithm, while model transparency was evaluated using global SHAP (SHapley Additive exPlanations) methods. Experimental testing results demonstrate that the Random Forest model achieves an accuracy of 82% (with a macro average precision of 0.81, recall of 0.81, and F1-score of 0.81). Based on the SHAP Global Summary Plot and Feature Importance analysis, it is revealed that Cemas_Karir (career anxiety with a mean magnitude of +0.15) and Tekanan_Skripsi (thesis pressure with a value of +0.13) are the two most dominant factors driving high academic stress risks among students. These findings prove that the combination of Random Forest and global SHAP analysis can serve as a reliable, accurate, and transparent early warning system for institutions to formulate targeted advisory interventions.
References
R. Al-Shabandar, A. Jaddoa, P. Liatsis, and A. Hussain, "An explainable machine learning framework for academic stress classification among university students: a comparative multi-dataset study with ablation analysis and statistical significance testing," Frontiers in Computer Science, 2026.
L. Breiman, "Random Forests," Machine Learning, vol. 45, pp. 5-32, 2001.
S. M. Lundberg and S.-I. Lee, "A Unified Approach to Interpreting Model Predictions," in Proc. 31st Conf. Neural Inf. Process. Syst. (NIPS), Long Beach, CA, USA, 2017.
H. Khosravi, S. B. Shum, G. Chen, C. Conati, Y. S. Tsai, J. Kay, and D. Gašević, "Explainable Artificial Intelligence in education," Computers and Education: Artificial Intelligence, vol. 3, p. 100074, 2022.
R. Asif, A. Merceron, S. A. Ali, and N. G. Pathan, "Analyzing undergraduate students' performance using educational data mining," Computers & Education, vol. 113, pp. 177–194, 2017.
A. B. Shatte, D. M. Hutchinson, and S. J. Teague, "Machine learning in mental health: a scoping review of methods and applications," Psychological Medicine, vol. 49, no. 9, pp. 1426–1448, 2019.
K. J. Reddy, K. R. Menon, and A. Thattil, "Academic stress and its sources among university students," Biomedical and Pharmacology Journal, vol. 11, no. 1, pp. 531–537, 2018.
El Morr, M. Jammal, I. Bou-Hamad, S. Hijazi, D. Ayna, M. Romani, and R. Hoteit, "Predictive Machine Learning Models for Assessing Lebanese University Students' Depression, Anxiety, and Stress During COVID-19," J. Prim. Care Community Health, vol. 15, pp. 1-12, 2024.
C. Molnar, Interpretable Machine Learning: A Guide for Making Black Box Models Explainable, 2nd ed. Leanpub, 2022.
M. S. Oyaj and A. Islam, "Predicting Academic Stress Levels Among Students Using Structured Data Analysis," Department of Computer Science and Engineering, International Islamic University Chittagong, Chattogram, Bangladesh, 2026.
W. Hidayatulloh, F. Mahardika, and D. I. Junaedi, "Explainable artificial intelligence-based model for student academic performance prediction," Journal of Information System Exploration and Research, vol. 4, no. 1, pp. 31–40, 2026.
R. Cernechez, S. E. Hosseini, M. Nadeem, S. Pervez, M. Salah, and M. Shahbaz, "Explainable Machine Learning for Predicting Student Depression Risk," Bioengineering, vol. 13, no. 9, Art. no. 1083, Sep. 2026.
S. Thorat and R. B. Kulkarni, "Explainable AI for Student Performance Prediction," Recent Trends in Information Technology and its Application, vol. 9, no. 3, pp. 67–74, 2026.
Y. Rothacher and C. Strobl, "Identifying Informative Predictor Variables With Random Forests," Journal of Educational and Behavioral Statistics, vol. 49, no. 4, pp. 595–629, 2024.
C. B. Sucahyo et al., "Performance Analysis of Random Forest on Quartile Classification Journal," Applied Engineering and Technology, vol. 3, no. 1, pp. 1–17, 2024.
M. Kumar et al., "Utilizing Random Forest and XGBoost Data Mining Algorithms for Anticipating Students' Academic Performance," International Journal of Modern Education and Computer Science, vol. 16, no. 2, pp. 29–44, 2024.
A. Ernawati, Khairul, Z. Sitorus, M. Iqbal, dan D. Nasution, "Penerapan Data Mining Untuk Klasifikasi Penduduk Miskin Di Kabupaten Labuhanbatu Menggunakan Random Forest Dan K-Nearest Neighbors," Bulletin of Information Technology (BIT), vol. 6, no. 2, pp. 23-35, Jun. 2025.
A. P. U. Siahaan, A. G. Nainggolan, K. Putra, N. Nahampun, dan D. M. Sibarani, "Perbandingan Algoritma Linear Regression dan Random Forest Dalam Menganalisis Hubungan Perilaku Antara Kesehatan Mental dan Media Sosial," Jurnal Sistem Informasi TGD, vol. 4, no. 6, pp. 1376-1383, Nov. 2025.
R. Hermawan, M. Iqbal, dan M. I. Sarif, "Analisis Prediksi Kesesuaian Lulusan Dengan Dunia Kerja Menggunakan Model Ensemble Random Forest dan XGBoost Berdasarkan Data Tracer Study Universitas Royal," JUKTISI (Jurnal Komputer Teknologi Informasi Sistem Komputer), vol. 5, no. 2, pp. 1513-1522, Sep. 2026.
S. Darma, M. I. Sarif, A. J. Alfayed, A. Syahdewa, dan K. Tyas, "IT Career Navigation: Performance Evaluation of KNN and Naïve Bayes in Career Path Recommendations for Computer Science Students (Case Study: Battuta University)," Journal of Science and Social Research, vol. 9, no. 2, pp. 2838-2847, Apr. 2026.
C. Romero and S. Ventura, "Educational data mining and learning analytics: An updated survey," WIREs Data Mining and Knowledge Discovery, vol. 10, no. 3, Art. no. e1355, May 2020, doi: 10.1002/widm.1355.
A. J. Al Fayed, S. Darma, M. H. Aqsha, S. M. P. Pardede, and M. Amin, "Perbandingan kinerja algoritma machine learning dalam memprediksi tingkat stres mahasiswa berdasarkan faktor akademik dan non-akademik," Journal of Science and Social Research, vol. 9, no. 1, pp. 483–490, 2026, doi: 10.54314/jssr.v9i1.5805.
F. Pedregosa et al., "Scikit-learn: Machine learning in Python," Journal of Machine Learning Research, vol. 12, pp. 2825–2830, Oct. 2011.
R. Cernechez, S. E. Hosseini, M. Nadeem, S. Pervez, M. Salah, and M. Shahbaz, "Explainable Machine Learning for Predicting Student Depression Risk," Bioengineering, vol. 13, no. 9, Art. no. 1083, Sep. 2026, doi: 10.3390/bioengineering13091083.
S. M. Lundberg et al., "From local explanations to global understanding with explainable AI for trees," Nature Machine Intelligence, vol. 2, no. 1, pp. 56–67, Jan. 2020, doi: 10.1038/s42256-019-0138-9.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Ahmad Jihad Al Fayed; Muhammad Iqbal

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




