Analisis Komparatif Algoritma Tuned Random Forest dan Hist Gradient Boosting untuk Prediksi Niat Pindah Kerja Berdasarkan Indikator Beban Mental Karyawan

  • yelmi Yelmi universitas amikom yogyakarta
  • kusrini kusrini universitas amikom yogyakarta
  • indra gunawan Universitas Teknologi Ronggolawe
Keywords: Machine Learning, Random Forest, Hist Gradient Boosting, SMOTE, Niat Pindah Kerja, Beban Mental Karyawan

Abstract

Poorly managed mental workload in the digital transformation era contributes significantly to the employee turnover phenomenon, which compromises organizational stability. This study aims to conduct a comparative performance analysis of predictive models for job change intention using two ensemble learning algorithms: Random Forest (RF) and Hist Gradient Boosting (Hist GB). An empirical dataset of employee mental workload was processed through a series of data mining stages, including feature engineering to construct a work-hours-to-sleep ratio and a composite total mental load. The severe class imbalance challenge where the target class proportion stands at a 78% (retain) to 22% (turnover) ratio was addressed using the Synthetic Minority Over sampling Technique (SMOTE). The models were optimized via hyperparameter tuning and validated using 5-Fold Stratified Cross-Validation. Experimental results based on real program data demonstrate that the Base scenario yields a pseudo accuracy (~69%) with a very low F1-Score (~27%). The SMOTE intervention successfully rescued the models from majority class bias, with the SMOTE-optimized Random Forest outperforming in generalization stability, achieving a Mean CV Accuracy of 74.47%. On the other hand, the Optimized Hist Gradient Boosting produced the best minority class detection performance, reaching the highest Test F1-Score of 52.60% while maintaining an AUC Score of 0.68. Feature Rank analysis identified burnout score, deadline pressure score, and stress score as the three most crucial indicators in triggering job change intention

References

Dataset:
Thalla, M. K. (2026). Mental health and burnout in tech workers 2026 [Dataset]. Kaggle. https://www.kaggle.com/datasets/mohankrishnathalla/mental-health-and-burnout-in-tech-workers-2026
Artikel Jurnal:

Abdi, F., Abolmakarem, S., Yazdi, A. K., Leger, P., Tan, Y., & Coluccio, G. (2025). Predicting patients' revisit intention based on satisfaction scores: Combination of penalized regression and neural networks. IEEE Access, 13, 2785–2800.

Ambrose, A. R. J., & Qayum, A. (2024). Enhancing worker well-being by utilising Data Analytics and Machine Learning approaches for fatigue detection (MSc research project). National College of Ireland, School of Computing.

Bahman, N., & Lysenko, E. V. (2025). Employee performance evaluation using machine learning techniques in organizations (Master's thesis). Ural Federal University, Rusia.

Bakkeli, N. Z. (2023). Predicting psychological distress during the COVID-19 pandemic: Do socioeconomic factors matter? Social Science Computer Review, 41(4), 1227–1251.

Celbiş, M. G., Wong, P.-H., Kourtit, K., & Nijkamp, P. (2023). Job satisfaction and the 'Great Resignation': An exploratory machine learning analysis. Social Indicators Research, 170, 1097–1118.

Fang, Y., Chen, M., & Shi, J. (2025). Construction of a predictive model for self realization and career satisfaction of university teachers based on text mining. Scientific Reports, 15, Artikel 43318. doi:10.1038/s41598-025-XXXXX-X (Catatan: sesuaikan nomor doi jika ada)

Guo, J., Huang, D., Wu, J., Mogouie, H., & Dicke, T. (2026). Predictive modelling of Australian school principals' turnover intentions using machine learning with random effects. Discover Computing, 29, Artikel 24.

Han, L., Xian, P., Liu, X., Liu, Y., Chang, Y., Ma, L., . . . Tang, H. (2025). AI-based precision prediction of healthcare workers' antibiotic use intentions: Multi-theoretical psychological and behavioral modeling (Research Square Preprint). doi:10.21203/rs.3.rs-6768023/v1

Indriya, S., Fazlurrahman, H., & Fitro, A. (2024). Machine learning-based prediction of the impact of mental health policies on employee productivity. Dalam Proceedings of the International Conference on Digital Business Innovation and Technology (ICONBIT), Surabaya.

Jeong, H., Seong, H. H., Yang, S.-C., Park, S.-G., Hong, I., & Kim, H. D. (2025). Predicting the risk of burnout syndrome using Korean Occupational Stress Scale (KOSS): A machine learning approach. Safety and Health at Work, 16, 462–469.

Ji, Z., Xie, X., Jiang, E., Wang, Y., Min, B., Yang, S., . . . Pons, D. (2025). Integrating DRN-RF with computer vision for detection of control room operator's mental fatigue. PLoS ONE, 20(4), Artikel e0320780.

Khalili, Y., Ahmadi, M., & Moraveji, K. M. (2025). Time-aware predictive maintenance of electrical submersible pumps using catboost ensemble learning and trend-based labeling. Journal of Petroleum Exploration and Production Technology, 15, Artikel 147.

Kwon, S., Kim, L., Won, C. W., Kim, N., Chang, J. Y., Kim, M., & Kim, G. S. (2025). Predictive model development for possible sarcopenia in community-dwelling older adults: a cross-sectional machine learning approach using the Korean frailty and aging cohort study. BMC Geriatrics, 25, Artikel 987.

Laksawut, S., & Narkbunnum, W. (2025). Calibrated turnover risk models for capacity constrained retention triage. Journal of Organizational Behavior Research, 10(4), 71–84.

Lee, D., & Swain, V. D. (2026). Understanding behind the smile of emotion workers: Detecting after-call stress in call agents (Preprint). KAIST / NYU Tandon School of Engineering.

Liu, K., Zhang, X., Jiang, Y., & Fan, L. (2025). A MLP based predictive model for risk assessment of workplace violence for emergency nurses in China. BMC Nursing, 24, Artikel 1468.

Luo, N., Xu, X., Jiang, B., Zhang, Z., Huang, J., Zhang, X., . . . Zhu, P. (2024). Explainable machine learning framework to predict the risk of work-related neck and shoulder musculoskeletal disorders among healthcare professionals. Frontiers in Public Health, 12, Artikel 1414209.

Melaku, M. S., Baykemagn, N. D., Yohannes, L., & Zegeye, A. T. (2025). Exploring explainable machine learning algorithms to model predictors of tobacco use among men in Sub Sahara Africa between 2018 and 2023. Scientific Reports, 15, Artikel 24646.

Mirhosseini, S. A., Chang, R., Omrany, H., Zou, Y., & Liu, Y. (2026). Application of machine learning technologies in predicting severity of heat-related illnesses among construction workers. Smart and Sustainable Built Environment, 15, 115–130.

Mishra, A., Jatt, V., Sefene, E. M., Salunkhe, S., Cep, R., & Nasr, E. A. (2025). Supervised machine learning and physics machine learning approach for prediction of peak temperature distribution in additive friction stir deposition of aluminium alloy. PLoS ONE, 20(5), 845–860.
Published
2026-07-01
How to Cite
Yelmi, yelmi, kusrini, kusrini, & gunawan, indra. (2026). Analisis Komparatif Algoritma Tuned Random Forest dan Hist Gradient Boosting untuk Prediksi Niat Pindah Kerja Berdasarkan Indikator Beban Mental Karyawan. JIIFKOM (Jurnal Ilmiah Informatika Dan Komputer), 5(2), 7-16. https://doi.org/https://doi.org/10.51901/jiifkom.v5i02.725
Section
Articles