This project aims to predict employee attrition in a company using HR analytics. It involves analyzing various factors that may contribute to employee attrition and building a predictive model to identify employees at risk of leaving the organization.
Employee attrition can have significant impacts on a company's productivity, morale, and bottom line. By understanding the factors that contribute to attrition, organizations can implement strategies to retain valuable employees and mitigate the negative effects of turnover.
The dataset used in this project contains information about employees, including demographic data, job-related factors, and attrition status. It includes features such as age, job role, education level, job satisfaction, and more.
The project involves thorough data analysis to identify patterns and trends related to employee attrition. Exploratory data analysis techniques are used to visualize the relationship between different variables and attrition status.
- Age vs Attrition: Employees in their late 20s to early 30s and younger employees (18-20) have higher attrition rates. Older employees tend to have lower attrition rates.
- DailyRate vs Attrition: Employees with daily rates between $300-600 exhibit higher attrition rates.
- DistanceFromHome vs Attrition: Longer commute distances are associated with higher attrition rates.
- MonthlyIncome vs Attrition: Employees with lower monthly incomes have higher attrition rates, indicating dissatisfaction with compensation.
- StockOptionLevel vs Attrition: Employees without stock options have higher attrition rates compared to those with stock options.
- WorkLifeBalance vs Attrition: Poor work-life balance is correlated with higher attrition rates.
- and so on
- Accuracy: 90.89%
- F1-score (Class 1): 90.57%
- Precision (Class 1): 93.91%
- Recall (Class 1): 87.45%
- AUC (Class 1): 96.12%
- OverTime_Yes: Employees who work overtime are more likely to leave the company.
- YearsAtCompany: Longer tenure at the company does not guarantee retention, and employees with more years at the company are also more likely to leave.
- NumCompaniesWorked: Employees who have worked for more companies in the past are more likely to leave, indicating a potential pattern of job hopping.
- DistanceFromHome: Employees who live farther away from the workplace are more likely to leave, possibly due to commuting issues or a desire for a better work-life balance.
- YearsSinceLastPromotion: Employees who have not received a promotion in a long time are more likely to leave, indicating a potential dissatisfaction with career advancement opportunities.
Based on the analysis, several factors are identified as significant contributors to employee attrition. These insights can inform HR policies and strategies to improve employee retention and organizational performance.
- Clone the repository.
- Install the required dependencies.
- Run the Jupyter notebooks to execute the analysis and build predictive models.
For detailed insights and analysis, you can access the following reports:
- HR Analytics Research Report: Provides in-depth analysis of the dataset and key findings.
- Project Presentation: Summarizes the project objectives, methodology, and results.
- Final Conclusion Report: Offers a comprehensive overview of the project findings, conclusions, and recommendations.
Feel free to reach out to me if you would like to view any of these reports.