HR Analytics With Python Final Project Report
HR Analytics With Python Final Project Report
PREPARED BY
SADIKA SULTANA SHAIK
AMEER ALI SHAIK
MOHIT SHARMA
PROJECT OVERVIEW
In today’s competitive job market, retaining top talent and enhancing employee performance
are critical challenges for organizations. High employee turnover and suboptimal performance
can significantly impact productivity and financial outcomes. Our organization recognizes the
need to leverage data-driven insights to address these challenges and ensure a more engaged
Problem Statement
The HR department is embarking on an HR analytics project to analyze existing HR data and
develop actionable insights that can enhance employee retention and performance. The
primary goal of this project is to identify key factors influencing employee turnover and
Objectives
1. Analyze historical HR data, including employee demographics, job roles, compensation,
2. Identify patterns, trends, and correlations within the HR data to gain a deep
progression plans.
Scope
1. The project will focus on data analysis and modeling, drawing insights from historical HR
data.
2. Data sources will include HR records, performance evaluations, compensation data, and
exit interviews
3. The project will encompass the analysis of several years' worth of data to identify long-
The data consists of 1470 rows and 35 columns. And there are no null and duplicate values in the
dataset.
Some numerical columns like Education, environment satisfaction, Job Involvement, Job Satisfaction,
Job Level, Performance Rating, Relationship Satisfaction and Work life balance are replaced with
categorical values.
The columns that are unnecessary for the analysis are deleted (Over18, Employee Count, Employee
Number, Standard Hours)
Dataset Description
Table 1 – Numerical features used in the user attrition analysis model
Exploratory Data Analysis (EDA) is a crucial step in the data analysis process where one examines and
visualizes the data to gain insights, detect patterns, and identify relationships. EDA helps in
understanding the underlying structure of the data, finding anomalies, and formulating hypotheses.
Overall Attrition
Distribution of Age
The company consists total 588 female employees and the Attrition count female employees
is 87 and
The total of 882 male employees and the Attrition count of male employees is 154.
Attrition by Department
The Research and Development department consists of more employees compared with
others and the Attrition count is 133.
The second highest department is Sales consists of 446 employees and the attrition count is
92.
The HR department consists of least number of employees i.e., 63 and the Attrition count is
12.
The total of 749 employees having their monthly income range between $1000 - $5000 out
of which 163 employees experienced are attrition.
The total of 440 employees having their monthly income range between $1000 - $5000 out
of which 49 employees experienced are attrition.
The total of 148 employees having their monthly income range between $1000 - $5000 out
of which 20 employees experienced are attrition.
The total of 133 employees having their monthly income range between $1000 - $5000 out
of which 5 employees experienced are attrition.
From the Output we can conclude that,As Income Increases the attrition rate decreases.
Correlation Matrix
There is a strong positive correlation (0.68) between the 'Age' of employees and their 'Total
Working Years,' indicating that, as employees age, their total number of working years tends
to increase.
'Monthly Income' and 'Total Working Years' exhibit a strong positive correlation (0.77),
indicating that employees with more total working years tend to have higher monthly
income.
There is a strong positive correlation (0.76) between 'Years at Company' and 'Years in Current
Role,' suggesting that employees who have spent more years at the company also tend to
have longer tenures in their current roles.
A strong positive correlation (0.77) is observed between 'Years at Company' and 'Years with
Current Manager,' indicating that employees who have been with the company for a longer
duration also tend to have longer associations with their current managers.
3. CONCLUSION
In conclusion, this project successfully achieves its primary goal of identifying key factors influencing
employee turnover and performance. The comprehensive analysis of the dataset has provided
valuable insights into various aspects of employee dynamics within the organization.
The dataset is unbalanced, as most employees indicate "No" for attrition. This highlights the
significance of taking a targeted strategy to identify the particular traits linked with employees that
experience turnover. The determined variables—age, gender, department, monthly income, and
work-related characteristics—help to provide a more detailed picture of the intricate interactions
affecting performance and attrition.
The company may use these data going ahead to create proactive plans that will improve worker
retention, happiness, and productivity. A more focused and successful human resource strategy may
be achieved by customizing interventions based on the criteria that were identified. Examples of
these interventions include developing department-specific retention programmes, addressing
gender-specific issues, and developing age-specific engagement programmes.
Finally, the company is in a better position to take proactive steps that promote a healthy work
environment, assist professional development, and ultimately contribute to the success and stability
of the workforce overall by knowing the nuances of employee turnover and performance. In order to
effectively and specifically address employee attrition and improve performance, strategic planning
and evidence-based decision-making are based on the project's findings.