Skip to content

About

End-to-end data science project analyzing employee attrition using data preparation, EDA, statistical analysis, and machine learning to uncover insights and predict attrition risks. Powered by the IBM HR Analytics dataset.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

🚀 IBM-HR-Analytics-Employee-Attrition-and-Performance-Prediction

IBM HR driven

✍️ HR ANALYTICS

Leverage data-driven insights to improve workforce management by analyzing patterns behind employee attrition and performance.


📌 OBJECTIVE

Predict employee attrition and identify key factors influencing turnover, enabling proactive HR strategies.


😇 MOTIVATION

Help organizations enhance employee retention, reduce operational costs, and foster a positive workplace using advanced analytics and machine learning.


🏗 SYSTEM ARCHITECTURE

SAD-diagram


⚙️ METHODOLOGY

  • Data Loading & Cleaning
  • Exploratory Data Analysis (EDA)
  • Statistical Analysis (ANOVA, Correlation)
  • Machine Learning (Logistic Regression, XGBoost, etc.)
  • Model Evaluation & Comparison
  • Deployment via Flask Web App

📂 DATASET

A hypothetical dataset by IBM with 1470 rows × 35 columns, detailing employee demographics, job roles, satisfaction levels, and attrition status.
🔗 Dataset Link


📚 LIBRARIES USED

  • Python: Pandas, NumPy, Matplotlib, Seaborn, SciPy
  • ML: Scikit-learn, XGBoost, LightGBM, CatBoost, AdaBoost
  • Visualization: hvPlot
  • Deployment: Flask
  • Others: Warnings, Statsmodels

⚠️ PREREQUISITES

  • Python, Data Science, ML Algorithms, Statistical Analysis, Data Visualization

✨ Overall Model Comparison

Model Test Accuracy Recall (Leave) ROC-AUC
Logistic Regression ~83% ~30% ~0.75
Support Vector Machine ~84% ~30% ~0.76
Random Forest ~85% ~40% ~0.80
XGBoost 86% 45% 0.83
LightGBM ~84% ~31% ~0.80
CatBoost ~85% ~38% ~0.81
AdaBoost ~83% ~30% ~0.78

📈 COMPARING MODEL PERFORMANCE USING ROC CURVE

output_ROC


🌟 Flask Web App for HR Dashboard

I developed a Flask-based web app that:

  • Converts uploaded CSV files into dynamic Excel dashboards.
  • Highlights key HR metrics like attrition risk, job satisfaction, and overtime patterns.
  • Provides automated recommendations for HR decisions.

🔹 Web App Snapshots

Upload CSV Dashboard Preview
image image
Recommendations
image

🚀 Note: This tool empowers HR teams by turning raw data into actionable insights—no coding required!


🔑 CONCLUSION

This project demonstrates the power of data science and machine learning in addressing real-world HR challenges. From predictive analytics to dashboard automation, it bridges technical analysis with practical business solutions.


About

End-to-end data science project analyzing employee attrition using data preparation, EDA, statistical analysis, and machine learning to uncover insights and predict attrition risks. Powered by the IBM HR Analytics dataset.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages