Machine Learning Models for Predicting Employee Attrition: A Data Science Perspective
DOI:
https://doi.org/10.56294/dm2025669Keywords:
Machine Learning, Performance, Data ScienceAbstract
Introduction: Employee attrition poses significant challenges for organizations, impacting productivity and profitability. This study explores attrition patterns using machine learning models, integrating predictive analytics with established human resource theories to identify key drivers of workforce turnover.
Methods: The research analysed a dataset comprising demographic, job-related, and engagement factors. Logistic Regression was employed as the baseline model to interpret linear relationships, while Random Forest and Decision Trees captured non-linear interactions. Performance metrics such as accuracy, precision, recall, F1-score, and AUC-ROC were used to evaluate model effectiveness, alongside feature importance analysis for actionable insights.
Results: Results revealed that job satisfaction, tenure, departmental dynamics, and engagement levels are critical predictors of attrition. Random Forest emerged as the most effective model, achieving an accuracy of 92% and an AUC-ROC of 94%, highlighting its capability to capture complex patterns. Decision Trees provided interpretable decision rules, offering practical thresholds for HR interventions. Logistic Regression complemented these models by offering insights into direct, linear relationships between predictors and attrition.
Conclusion: The study finds that machine learning improves attrition analysis by identifying complex patterns and enabling proactive retention strategies. Predictive analytics strengthens traditional theories, providing a structured approach to reducing employee turnover. Organizations can use these insights to enhance workforce stability and performance. Future research could incorporate qualitative methods and longitudinal studies to refine strategies and assess long-term impacts.
References
1. Lee TW, Mitchell TR. Control turnover by understanding its causes. The Blackwell handbook of principles of organizational behaviour. 2017 Aug 25:93-107.
2. Mohammad AA, Shelash SI, Saber TI, Vasudevan A, Darwazeh NR, Almajali R. Internal audit governance factors and their effect on the risk-based auditing adoption of commercial banks in Jordan. Data and Metadata. 2025;4:464.
3. Sibil B, Joy C. Strategies for Harnessing the Changing Nature of Human Resources With a Special Focus on Diversity. InCritical Issues on Changing Dynamics in Employee Relations and Workforce Diversity 2021 (pp. 1-17). IGI Global Scientific Publishing.
4. Mohammad AA, Al Oraini B, Mohammad S, Masadeh M, Alshurideh MT, Almomani HM, Vasudevan A, Al-Fakeh FA, Al-Adamat AM. Analysing the Relationship Between Social Content Marketing and Digital Consumer Engagement of Cosmetic Stores. InFrontiers of Human Centricity in the Artificial Intelligence-Driven Society 5.0 2024 (pp. 97-109). Springer, Cham.
5. Bhavani A, Sundararaman B, Sridevi G. The retention revolution: A new approach to address employee attrition. International Journal of Business & Management Studies. 2023;4(4):19-26.
6. Mohammad AA, Alolayyan MN, Al-Daoud KI, Al Nammas YM, Vasudevan A, Mohammad SI. Association between social demographic factors and health literacy in Jordan. Journal of Ecohumanism. 2024 Oct 19;3(7):2351-65.
7. Wang X, Zhi J. A machine learning-based analytical framework for employee turnover prediction. Journal of Management Analytics. 2021 Jul 3;8(3):351-70.
8. Mohammad AA, Al-Qasem MM, Khodeer SM, Aldaihani FM, Alserhan AF, Haija AA, Al-Fakeh FA, Al-Hawary SI. Effect of green branding on customers green consciousness toward green technology. InEmerging Trends and Innovation in Business and Finance 2023 Oct 29 (pp. 35-48). Singapore: Springer Nature Singapore.
9. Mitsakis M, Galanakis M. An empirical examination of Herzberg’s theory in the 21st century workplace. Organizational psychology re-examined. Psychology. 2022 Feb 14;13(2):264-72.
10. Alnajim A. Impact and application of social exchange theory in employee retention. Available at SSRN 3884032. 2021 Jul 10.
11. Mohammad AA, Alshurideh MT, Mohammad AI, Alabda HE, Alkhamis FA, Al Oraini B, Mohammad SI, Vasudevan A, Kutieshat RJ. Impact of Organizational Culture on Marketing Effectiveness of Telecommunication Sector. InFrontiers of Human Centricity in the Artificial Intelligence-Driven Society 5.0 2024 (pp. 231-244). Springer, Cham.
12. Artelt A, Gregoriades A. " How to make them stay?"--Diverse Counterfactual Explanations of Employee Attrition. arXiv preprint arXiv:2303.04579. 2023 Mar 8. https://doi.org/10.48550/arxiv.2303.04579
13. Mohammad AA, Barghouth MY, Al-Husban NA, Aldaihani FM, Al-Husban DA, Lemoun AA, Dalky AF, Al-Hawary SI. Does social media marketing affect marketing performance. InEmerging Trends and Innovation in Business and Finance 2023 Oct 29 (pp. 21-34). Singapore: Springer Nature Singapore.
14. Pandey D, Vishwakarma Z, Dwivedi M. Attrition Analytics: Unveiling the Best Model for Predicting Employee Retention. International Journal of Innovative Research in Computer and Communication Engineering. 2024;12: 30. https://doi.org/10.15680/ijircce.2024.1203505
15. Mohammad AA, Khanfar IA, Al Oraini B, Vasudevan A, Mohammad SI, Fei Z. Predictive analytics on artificial intelligence in supply chain optimization. Data and Metadata. 2024 Jul 1;3:395-.
16. Lu SC, Swisher CL, Chung C, Jaffray D, Sidey-Gibbons C. On the importance of interpretable machine learning predictions to inform clinical decision making in oncology. Frontiers in oncology. 2023 Feb 28;13:1129380.
17. Mohammad AA, Masadeh M, Vasudevan A, Barhoom FN, Mohammad SI, Abusalma A, Mohammad DI, Alrfai MM. The Impact of the Green Supply Chain Management Practices on the Social Performance of Pharmaceutical Industries. InFrontiers of Human Centricity in the Artificial Intelligence-Driven Society 5.0 2024 (pp. 325-339). Springer, Cham.
18. Kondoh M, Kawatsu K, Osada Y, Ushio M. A data-driven approach to complex ecological systems. Theoretical Ecology. 2020 May 14:116-33.
19. Mohammad AA, Mohammad SI, Vasudevan A, Al-Momani AA, Masadeh M, Kutieshat RJ, Mohammad AI, Aldaihani FM, Mohammad AI. Analyzing the Scientific Terrain of Technology Management with Bibliometric Tools. InFrontiers of Human Centricity in the Artificial Intelligence-Driven Society 5.0 2024 (pp. 489-502). Springer, Cham.
20. Shlash Mohammad AA, Al- Daoud KI, Al Oraini B, Shelash Mohammad SI, Vasudevan A, Zhang J, Ahmmad Hunitie MF. (2024). Using Digital Twin Technology to Conduct Dynamic Simulation of Industry-Education Integration. Data and Metadata. 2024 3: 422. http://dx.doi.org/10.56294/dm2024422
21. Jain A K, Meti NG. A Study on Impact of Employee Attrition Towards Organisational Performance At Advance Cable Technologies Private Limited in Doddaballapur. In Interantional Journal of Scientific Research in Engineering and Management. 2023;7(11): 1. https://doi.org/10.55041/ijsrem26696
22. Shlash Mohammad AA, Shelash Al-Hawary SI, Hindieh A, Vasudevan A, Mohd Al-Shorman H, Al-Adwan AS. Intelligent Data-Driven Task Offloading Framework for Internet of Vehicles Using Edge Computing and Reinforcement Learning. Data and Metadata.2025; 4. https://doi.org/10.56294/dm2025521
23. Pandita D, Ray S. Talent management and employee engagement–a meta-analysis of their impact on talent retention. Industrial and commercial training. 2018 May 10;50(4):185-99.
24. Choudhury P, Allen R, Endres MG. A machine learning methods framework for management research: Application to exploratory pattern detection. In SSRN Electronic Journal. RELX Group (Netherlands). https://doi.org/10.2139/ssrn.3518780
25. Aswale N, Mukul K. Role of data analytics in human resource management for prediction of attrition using job satisfaction. InData Management, Analytics and Innovation: Proceedings of ICDMAI 2019, Volume 1 2020 (pp. 57-67). Springer Singapore.
26. Dutta SK, Ray A, Chinya M, Ghatak S, Mukherjee A, Bhattacharjee K, Das A. Predictive HR Analytics to Optimize Decision-Making Processes and Enhance Workforce Performance. In International Journal Of Recent Trends In Multidisciplinary Research. 2024:79. https://doi.org/10.59256/ijrtmr.20240402014
27. Nagpal P, Pawar A. Predicting Employee Attrition through HR Analytics: A Machine Learning Approach. In2024 4th International Conference on Innovative Practices in Technology and Management (ICIPTM) 2024 Feb 21 (pp. 1-4). IEEE.
28. Karimi M, Viliyani KS. Employee turnover analysis using machine learning algorithms. arXiv preprint arXiv:2402.03905. 2024 Feb 6. https://doi.org/10.48550/arxiv.2402.03905
29. Guerranti F, Dimitri GM. A comparison of machine learning approaches for predicting employee attrition. Applied Sciences. 2022 Dec 26;13(1):267.
30. Yousuf M, Saqib M. Impact of job satisfaction on employee turnover intention at bank Al-Habib. Journal of Entrepreneurship, Management, and Innovation. 2021 Jan 15;3(1):1-26.
31. Susanto PC, Rony ZT. Analysis of employee retention programs and talent engagement to prevent employee turnover in organizations (Systematic literature review). Asian Journal of Community Services (AJCS). 2023 Jun;2(6).
32. Khan U. Effect of employee retention on organizational performance. Journal of Entrepreneurship, Management, and Innovation. 2020;2(1):52-66.
33. Almaaitah MF, Harada Y, Sakdan MF, Almaaitah AM. Integrating Herzberg and social exchange theories to underpinned human resource practices, leadership style and employee retention in health sector. World Journal of Business and Management. 2017 Apr 15;3(1):16-34. https://doi.org/10.5296/wjbm.v3i1.10880
34. Lyons ST, Schweitzer L, Ng ES. How have careers changed? An investigation of changing career patterns across four generations. Journal of Managerial Psychology. 2015 Feb 9;30(1):8-21.
35. Dabak S, Piplani T, Chakrabarti S. Redesigning Gen Y and Z career growth through developmental cycles. NHRD Network Journal. 2022 Apr;15(2):208-18.
36. Asfahani AM, Eskandarany A, Dahlan DA, Ullah Z, Khan H, Naheed R. Empowering Women in Saudi Workforce: HR, Job Satisfaction, and Policies for Work–Life Balance. Sustainability. 2024 Oct 12;16(20):8826.
37. Varshavskaya EY, Podverbnykh US. Impact of job mismatches on job satisfaction and turnover intention: Case of Russia. Российский журнал менеджмента. 2023(1):115-32.
38. Farooq H, Janjua UI, Madni TM, Waheed A, Zareei M, Alanazi F. Identification and analysis of factors influencing turnover intention of Pakistan IT professionals: An empirical study. IEEE Access. 2022 Jun 9;10:64234-56.
39. Ok C, Park J. Change in newcomers' job satisfaction: Met-expectations effect as a moderator. Social Behavior and Personality: an international journal. 2018 Sep 7;46(9):1513-21.
40. Mohamed MS, Yassin KE. Aligning employees’ objectives with the organizational goals. University Of Khartoum Engineering Journal. 2019 Sep 16;9(1).
41. Reddy AS, Rudraraju V, Chandramouli S. Empowering Generation Z Employees: The Importance of Career Aspirations in Driving Workplace Performance. South Eastern European Journal of Public Health. 2024: 2082. https://doi.org/10.70135/seejph.vi.2339
42. Maango H. The Effect of Compensation and Work Culture on Employee Performance (Study at one of the conventional banks in West Java). West Science Interdisciplinary Studies. 2023;1(07):411-8.
43. Alsheref FK, Fattoh IE, M. Ead W. Automated prediction of employee attrition using ensemble model based on machine learning algorithms. Computational Intelligence and Neuroscience. 2022;2022(1):7728668.
44. Suriati S, Ibrahim MB, Irawan A, Akbar MA, Yendra Y. Effective Strategies for Retaining and Nurturing employees in Organizations. Advances: Jurnal Ekonomi & Bisnis. 2024 May 31;2(3):151-62.
45. Gupta O. Role of Motivation in Employee Engagement and Retention: A Cross-Sectional Study. Journal of Cardiovascular Disease Research. 2023;12(5): 3068-3077. https://doi.org/10.48047/jcdr.2021.12.05.320
46. Mwangi JW, Kombo HK. Selected Human Resource Management Practices and Employee Retention: A Case of Deposit Taking Microfinance Institutions in Nairobi, Kenya. African Journal of Empirical Research. 2023 Sep 15;4(2):326-38.
47. Carter KM, Harman DM, Walter SL, Gruca TS. Relationship of immediate workspace and environmental workplace with organizational citizenship behaviors. Journal of managerial psychology. 2021 Apr 27;36(4):310-26.
48. Shuck B, Herd AM. Employee engagement and leadership: Exploring the convergence of two frameworks and implications for leadership development in HRD. Human resource development review. 2012 Jun;11(2):156-81.
49. Silva AJ, Rodrigues R. Affective mechanisms linking role ambiguity to employee turnover. International Journal of Organizational Analysis. 2024 Feb 6;32(11):1-8.
50. Matz SC, Bukow CS, Peters H, Deacons C, Dinu A, Stachl C. Using machine learning to predict student retention from socio-demographic characteristics and app-based engagement metrics. Scientific Reports. 2023 Apr 7;13(1):5705.
51. El-Rayes N, Fang M, Smith M, Taylor SM. Predicting employee attrition using tree-based models. International Journal of Organizational Analysis. 2020 Oct 19;28(6):1273-91.
52. Irabor IE, Okolie UC. A review of employees’ job satisfaction and its affect on their retention. Annals of Spiru Haret University. Economic Series. 2019 Jun 28;19(2):93-114.
53. Coats SF, Roemer EC, Kent KB, Zhang Y, Davis MF, Goetzel RZ. Scoping Review of Workplace Mental Health and Well-being Programs in Higher Education Institutions. Journal of occupational and environmental medicine. 2023 Feb 14:10-97.
54. Farkas AH, Bonifacino E, Turner R, Tilstra SA, Corbelli JA. Mentorship of women in academic medicine: a systematic review. Journal of general internal medicine. 2019 Jul 15;34:1322-9.
55. Mobley WH. Some unanswered questions in turnover and withdrawal research. Academy of management review. 1982 Jan 1;7(1):111-6.
56. Blount JB. Betting on talent: Examining the relationship between employee retention and onboarding programs. Engaged Management Review. 2022;5(3):1.
57. Ramachandran A, Prasad DC. Factors associated with employee retention. International Journal of Research in Human Resource Management. 2022;4(2):21-4.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Anber Abraheem Shlash Mohammad, Zeyad Alkhazali, Suleiman Ibrahim Shelash Mohammad, Badrea Al Oraini, Asokan Vasudevan, Menahi Mosallam Alqahtani, Muhammad Turki Alshurideh (Author)

This work is licensed under a Creative Commons Attribution 4.0 International License.
The article is distributed under the Creative Commons Attribution 4.0 License. Unless otherwise stated, associated published material is distributed under the same licence.