Predicting Stress Levels in Special Needs School Teachers Using DASS-21 and Gradient Boosting Machine
Downloads
The stress experienced by teachers in Special Needs Schools presents considerable threats to both mental health and job performance, making the need for precise and scalable detection techniques essential. This research presents a multimodal framework for stress classification that combines physiological signals from a wearable IoT device with psychological assessment using the DASS-21. Data were gathered from 48 educators, including heart rate (BPM) and body temperature (°C) as physiological indicators and DASS-21 stress subscale scores as psychological indicators. The target variable was categorized as a binary class (stressed vs. non-stressed) utilizing standardized DASS-21 cut-off scores, with physiological thresholds to improve label dependability. The class distribution was examined to reduce class imbalance bias. The dataset was subjected to preprocessing, which involved normalization and feature selection, and was then divided into a 60:40 train-test split. The evaluation of model generalizability was conducted through 5-fold cross-validation. GBM model was utilized to identify non-linear relationships and interactions between features. Performance assessment involved accuracy, precision, recall, F1-score, specificity, and AUC. The suggested model reached accuracy of 94.12%, 87.5%, and 85.71% for the elementary, junior high, and high school groups, respectively, demonstrating consistently high precision and AUC metrics, reflecting strong discriminative ability. These findings indicate that a clearly defined labeling approach, harmonious feature integration, and strict validation procedure facilitate dependable and consistent stress detection. The suggested framework offers a scalable solution for real-time monitoring of mental health in educational environments. Furthermore, the results explicitly confirm that integrating IoT-based wearable systems with the DASS-21 and the GBM algorithm provides a reliable and scalable approach for stress detection among teachers. This study highlights the practical significance of implementing real-time monitoring systems in educational environments, enabling early identification and intervention for stress management. Such a framework not only improves teachers’ mental well-being but also supports institutional decision-making in developing preventive strategies and sustainable mental health programs.
[1] S. De Vries, F. van Oost, H. Smaling, N. de Knegt, P. Cluitmans, R. Smits, dan E. Meinders, “Real-time stress detection based on artificial intelligence for people with an intellectual disability,” Assist. Technol., vol. 36, no. 3, pp. 232–240, May 2024, doi: 10.1080/10400435.2023.2261045.
[2] R. P. Auerbach et al., “WHO World Mental Health Surveys International College Student Project: Prevalence and distribution of mental disorders,” J. Abnorm. Psychol., vol. 129, no. 1, pp. 1–15, 2020, doi: 10.1037/abn0000475.
[3] S. Kusumadewi and H. Wahyuningsih, “Decision support system model for the assessment of depression, anxiety, and stress disorders based on DASS-42,” J. Technol. Inf. and Computer Science, 2020, doi: 10.25126/jtiik.202071052
[4] J. Purwaningrum and F. Efendi, “Burnout and Psychological Well-being in Special School Teachers,” J. Psychol. Education and Counseling, vol. 8, no. 2, pp. 110–122, 2022, doi: 10.26858/jpkk.v8i2.XXXX.
[5] R. Miftahujjannah et al., “Wearable detection system for early symptoms of tantrums in children based on IoT,” dalam Proc. 2024 IEEE 14th Symp. Computer Applications & Industrial Electronics (ISCAIE), 2024, pp. 137–142, doi: 10.1109/ISCAIE61308.2024.10576296.
[6] G. Fretes, C. Llurba, dan R. Palau, “Influence of teaching activities, environmental conditions and class schedules on teacher stress measured with a smartwatch: A pilot study,” J. Technol. Sci. Educ. (JOTSE), vol. 13, no. 3, pp. 775–787, 2023, doi: 10.3926/jotse.2043.
[7] A. Khairah, M. Melinda, I. Hasanuddin, D. Asmadi, R. Arifin, dan R. Miftahujjannah, “University students stress detection during final report subject by using NASA TLX method and logistic regression,” J. RESTI, vol. 9, no. 3, pp. 465–476, 2025, doi: 10.29207/resti.v9i3.6401
[8] E. Kakemam, E. Navvabi, A. H. Albelbeisi, et al., “Psychometric properties of the Persian version of Depression Anxiety Stress Scale-21 Items (DASS-21) in a sample of health professionals: a cross-sectional study,” BMC Health Serv. Res., vol. 22, p. 111, 2022, doi: 10.1186/s12913-022-07514-4.
[9] J. Koh, “Gradient boosting with extreme-value theory for wildfire prediction,” Extremes, vol. 26, pp. 273–299, 2023, doi: 10.1007/s10687-022-00454-6.
[10] S. Aristizabal et al., “The Feasibility of Wearable and Self Report Stress Detection Measures in a Semi-Controlled Lab Environment,” IEEE Access, vol. 9, pp. 102053–102068, 2021, doi: 10.1109/ACCESS.2021.3097038.
[11] R. Navea, P. Buenvenida, and C. Cruz, “Stress Detection using Galvanic Skin Response: An Android Application,” J. Phys. Conf. Ser., vol. 1372, p. 12001, Nov. 2019, doi: 10.1088/1742 6596/1372/1/012001.
[12] E. Scheme, A. Fougner, Stavdahl, and ADC Chan, “Examining the Adverse Effects of Limb Position on Pattern Recognition Based Myoelectric Control,” in 32nd Annual International Conference of the IEEE EMBS , 2010, pp. 6337–6340.
[13] S. Uday, C. Jyotsna, dan J. Amudha, “Detection of stress using wearable sensors in IoT platform,” dalam Proc. 2nd Int. Conf. Inventive Communication and Computational Technologies, 2018, pp. 492–498. IEEE.
[14] S. Immanuel, M. N. Teferra, M. Baumert, and N. Bidargaddi, “Heart Rate Variability for Evaluating Psychological Stress Changes in Healthy Adults: A Scoping Review.,” Neuropsychobiology, vol. 82, no. 4, pp. 187–202, 2023, doi: 10.1159/000530376.
[15] D. Ichwana, R. Z. Ikhlas, and S. Ekariani, “Heart Rate Monitoring System During Physical Exercise for Fatigue Warning Using Non-invasive Wearable Sensor,” in 2018 International Conference on Information Technology Systems and Innovation (ICITSI), 2018, pp. 497–502. doi: 10.1109/ICITSI.2018.8696039.
[16] T. Sollu, A. Alamsyah, and E. Setijadi, “Heartbeat and Body Temperature Monitoring System Based on Artificial Neural Networks,” J. Ecotipe (Electronic, Control. Telecommun. Information, Power Eng., vol. 9, no. 2 SE-Articles, Oct. 2022, doi: 10.33019/jurnalecotipe.v9i2.2896.
[17] M. A. Hakim dan N. V. Aristawati, “Measuring depression, anxiety, and stress in early adults in Indonesia: Construct validity and reliability test of DASS-21,” Jurnal Psikologi Ulayat, vol. 10, no. 2, pp. 232–250, 2023, doi: 10.24854/jpu553.
[18] S. H. Lovibond and P. F. Lovibond, “Depression Anxiety Stress Scales (DASS-21, DASS-42) [Database record],” APA PsycTests, 1995, doi: 10.1037/t01004-000.
[19] Cao, CH., Liao, XL., Jiang, XY. et al. Psychometric evaluation of the depression, anxiety, and stress scale-21 (DASS-21) among Chinese primary and middle school teachers. BMC Psychol 11, 209 (2023). https://doi.org/10.1186/s40359-023-01242-y
[20] Medvedev, O.N. (2023). Depression Anxiety Stress Scales (DASS-21) in International Contexts. In: Krägeloh, C.U., Alyami, M., Medvedev, O.N. (eds) International Handbook of Behavioral Health Assessment. Springer, Cham. https://doi.org/10.1007/978-3-030-89738-3_15-1
[21] Zanon, C., Zhao, N., Topkaya, N., Şahin, E., Vogel, D. L., Ertl, M. M., … Nasvytienė, D. (2025). Psychometric properties of the Depression, Anxiety, and Stress Scale–21 (DASS-21) across nine countries/regions. International Journal of Testing, 25(2), 178–193. https://doi.org/10.1080/15305058.2025.2489359
[22] A. V. Konstantinov dan L. V. Utkin, “Interpretable machine learning with an ensemble of gradient boosting machines,” Knowl.-Based Syst., vol. 222, 106993, 2021, doi: 10.1016/j.knosys.2021.106993.
[23] T. Chen dan C. Guestrin, “XGBoost: A scalable tree boosting system,” dalam Proc. 22nd ACM SIGKDD Int. Conf. Knowledge Discovery and Data Mining, 2016, pp. 785–794, doi: 10.1145/2939672.2939785.
[24] Arif Ali, Z., H. Abduljabbar, Z., A. Taher, H., Bibo Sallow, A., & M. Almufti, S. (2023). Exploring the Power of eXtreme Gradient Boosting Algorithm in Machine Learning: a Review. Academic Journal of Nawroz University (AJNU), 12(2). Retrieved from https://journals.nawroz.edu.krd/index.php/files/article/view/401
[25] M. M. Sakanti, V. Siniaev, A. Amaris, W. -J. Luo, Suhartono and C. B. D. Kuncoro, "Psychological Stress Classification Using Extreme Gradient Boosting Algorithm," 2024 15th International Conference on Information and Communication Technology Convergence (ICTC), Jeju Island, Korea, Republic of, 2024, pp. 946-950, doi: 10.1109/ICTC62082.2024.10827020.
[26] K. Takahashi, K. Yamamoto, A. Kuchiba, and T. Koyama, “Confidence interval for micro-averaged F1 and macro averaged F1 scores,” Appl. Intell., vol. 52, no. 5, pp. 4961 4972, 2022, doi: 10.1007/s10489-021-02635-5.
[27] D. M. W. Powers, “Evaluation: From Precision, Recall and F Factor to ROC, Informedness, Markedness & Correlation,” J. Mach. Learn. Technol., vol. 2, pp. 37–63, Jan. 2020, doi: https://doi.org/10.48550/arXiv.2010.16061.
[28] P. Siirtola and J. Röning, “Comparison of Random FOrest and Classification Models for User-Independent and Personal Stress Detection.,” Sensors (Basel, Switzerland), vol. 20, no. 16. Switzerland, p. 4402, Aug. 2020. doi: 10.3390/s20164402.
[29] A. Othmani, B. Brahem, Y. Haddou and Mustaqeem, "Machine-Learning-Based Approaches for Post-Traumatic Stress Disorder Diagnosis Using Video and EEG Sensors: A Review," in IEEE Sensors Journal, vol. 23, no. 20, pp. 24135-24151, 15 Oct.15, 2023, doi: 10.1109/JSEN.2023.3312172
[30] Angkurawaranon, S., Sanorsieng, N., Unsrisong, K. et al. A comparison of performance between a deep learning model with residents for localization and classification of intracranial hemorrhage. Sci Rep 13, 9975 (2023). https://doi.org/10.1038/s41598-023-37114-z
Copyright (c) 2026 Alfita Khairah, melinda melinda, Iskandar Hasanuddin, Rizka Miftahujjannah, Rosminazuin Ab Rahim , Siti Rusdiana (Author)

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-ShareAlikel 4.0 International (CC BY-SA 4.0) that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).






