Dymon Harris

Logo

Data Analyst

| Predictive Analytics & Process Improvement |
| Python • SQL • Data Visualization • Machine Learning |
| Turning data into decisions that reduce risk, improve performance and profitability |

View the Project on GitHub Extracted-Dee/Employee-Attrition-Prediction-Project

📉 Employee Attrition Prediction Project

🤖 Predictive Analytics & Machine Learning in HR

A data-driven project using exploratory data analysis and machine learning models to identify the key factors influencing employee attrition and predict which employees are at risk of leaving.


📌 Project Overview

Employee attrition creates significant costs for organizations, including lost productivity, rehiring expenses, and decreased morale.
This project analyzes HR employee data to uncover why employees leave and to predict attrition risk using machine learning models.

🎯 Project Objectives


🗂 Dataset Description

Dataset: HR Employee Attrition Dataset

The dataset includes employee-level attributes such as:


🛠 Tools & Technologies


🧹 Data Preparation

To prepare the data for analysis and modeling:


📊 Exploratory Data Analysis

Alt text

🔍 Key Correlations & Insights

These relationships highlight the importance of career growth, compensation, and workload balance in employee retention.


🤖 Predictive Modeling

Two complementary models were developed:

1️⃣ Logistic Regression

⚠️ Model Adjustment:
The Performance Rating variable caused overfitting due to an extremely strong correlation with attrition. It was removed to improve model generalization and reduce bias.


2️⃣ Random Forest Classifier

Alt text

Random Forest helped uncover deeper patterns across satisfaction, tenure, compensation, and overtime variables.


💡 Key Findings

Alt text

Both models demonstrated that employee attrition can be predicted with meaningful accuracy using HR data.


🚀 Business Recommendations

Organizations can reduce turnover by:


📈 Business Impact

This project demonstrates how predictive analytics can help HR teams:

✔ Move from reactive to proactive retention strategies
✔ Identify attrition risk early
✔ Support data-driven workforce planning


🏁 Conclusion

By combining exploratory data analysis with machine learning models, this project shows how employee data can be transformed into actionable insights that directly support organizational decision-making.

It highlights skills in:


📬 Explore more of my projects here.