https://github.com/neuraladitya/attritionpredict
πAttritionPredict is a comprehensive HR analytics dashboard built with Streamlit, designed to help organizations analyze and predict employee attrition using IBM's HR dataset.
https://github.com/neuraladitya/attritionpredict
Last synced: 10 months ago
JSON representation
πAttritionPredict is a comprehensive HR analytics dashboard built with Streamlit, designed to help organizations analyze and predict employee attrition using IBM's HR dataset.
- Host: GitHub
- URL: https://github.com/neuraladitya/attritionpredict
- Owner: NeuralAditya
- License: mit
- Created: 2025-08-02T16:23:06.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-08-02T16:49:43.000Z (10 months ago)
- Last Synced: 2025-08-02T18:40:39.957Z (10 months ago)
- Language: Python
- Homepage:
- Size: 912 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
# π AttritionPredict β Advanced HR Analytics Dashboard






---
## π Overview
An interactive, feature-rich **HR Analytics Dashboard** built using **Streamlit** to explore, analyze, and predict employee attrition using IBM's HR dataset. Designed for strategic decision-makers, HR professionals, and data enthusiasts who seek **deep workforce insights** through interactive visualizations, statistical modeling, and machine learning techniques.
## πΌοΈ UI Preview

## π― Analysis Output Screenshot

## π― AI & ML Output Screenshot

---
## π Key Features
### π Executive Overview
- Interactive **KPI Gauges** (Attrition Rate, Tenure, Income, etc.)
- **3D Visual Analysis** with hover-driven storytelling
- Dynamic filtering for real-time data slicing
### π Advanced Analytics
- **Parallel Coordinates Plots** for multi-dimensional data views
- **Sunburst Charts** and **Radar Plots** for categorical pattern discovery
- **Waterfall Charts** to visualize factor-wise attrition breakdown
### π§ Machine Learning Insights
- **Principal Component Analysis (PCA)** for dimensionality reduction
- **Clustering Algorithms** (K-Means, DBSCAN) for grouping employee types
- **Predictive Models** (Logistic Regression, Decision Trees) for attrition forecasting
- **Model Evaluation** with metrics like accuracy, ROC-AUC
### π Statistical Deep-Dive
- **Correlation Matrices & Heatmaps**
- **Cohort Analysis** to understand retention by join period
- **Survival Analysis** to analyze employee tenure distributions
### π§Ύ Reporting & Exporting
- Auto-generated **Strategic Recommendations**
- Export **all visuals, dataframes, and model outputs** to CSV, PNG
---
## π Technologies Used
- **Frontend**: Streamlit
- **Data**: Pandas, NumPy
- **Visuals**: Plotly, Seaborn, Matplotlib, Altair
- **ML & Stats**: Scikit-learn, Lifelines, SciPy, Statsmodels
---
## ποΈ Project Structure
```
MoneyMind/
β
βββ π data/ # Sample and uploaded datasets
βββ π models/ # Trained machine learning models
βββ π pages/ # Streamlit multipage structure
βββ π reports/ # Exported charts and reports
βββ π app.py # Main Streamlit app
βββ π utils.py # Helper functions
βββ π requirements.txt # Project dependencies
βββ π README.md # Project documentation
```
---
## π οΈ How to Run
1. Clone the repository:
```bash
git clone https://github.com/yourusername/AttritionPredict.git
cd AttritionPredict
```
2. Create a virtual environment (optional but recommended):
```bash
python -m venv venv
.\venv\Scripts\activate
```
3. Install dependencies:
```bash
pip install -r requirements.txt
```
4. Run the app:
```bash
streamlit run app.py
```
5. If you face issues with 0.0.0.0, use:
```
streamlit run app.py --server.address=localhost --server.port=8501
```
---
## π Future Improvements
Real-time API integration with HRMS
Auth-enabled HR manager login
Time-series forecasting of attrition trends
Feedback-driven model fine-tuning
---
## π License
This project is licensed under the MIT License β see the [LICENSE](/license.txt) file for details.
---
## π Credits
Made with β€οΈ by [Aditya Arora](https://www.linkedin.com/in/NeuralAditya)
Β© 2025 Aditya Arora. All rights reserved.
---