ML-powered Kenya unemployment rate predictor with Power BI dashboard
# π°πͺ Kenya Labour Market Intelligence Dashboard
> End-to-end Machine Learning project predicting Kenya's
> unemployment rate using World Bank economic indicators (1991β2024),
> with an interactive Power BI dashboard.
---
## Dashboard Preview
### Page 1 β Economic Overview
### Page 2 β ML Model Results
### Page 3 β What Drives Unemployment
---
## Machine Learning Results
| Metric | Score |
|--------|-------|
| Algorithm | Linear Regression |
| RΒ² Score | 0.994 |
| MAE | 0.059 percentage points |
| Training years | 1991 β 2024 (33 data points) |
| Best vs | Outperformed Random Forest & Gradient Boosting |
---
## Key Findings
- **Labour Force Participation** is the strongest predictor
of Kenya's unemployment rate (importance score: 0.64)
- **Youth Unemployment** acts as an early warning signal
for total unemployment (importance score: 0.33)
- **COVID-19 (2020)** caused the largest single-year spike β
unemployment jumped from 2.8% to 5.7%
- **Linear Regression outperformed** complex models β
with only 33 data points, simpler models generalise better
---
## Project Structure
```
βββ data/ # World Bank raw CSVs
βββ output/ # ML model exports for Power BI
β βββ kenya_unemployment_predictions.csv
β βββ kenya_feature_importance.csv
βββ screenshots/ # Power BI dashboard pages
βββ kenya_labour_market.ipynb # Full Colab notebook
βββ Kenya_Labour_Market_Dashboard.pbix # Power BI file
βββ README.md
```
---
## Tools & Technologies
| Category | Tools |
|----------|-------|
| Language | Python 3 |
| Data wrangling | Pandas, NumPy |
| Machine Learning | Scikit-learn |
| Visualisation | Matplotlib, Seaborn |
| Dashboard | Microsoft Power BI |
| Environment | Google Colab |
| Data source | World Bank Open Data |
---
## ML Pipeline
1. **Data Collection** β 8 World Bank indicators for Kenya
2. **Data Cleaning** β Forward fill missing values, filter 1991β2024
3. **Feature Engineering** β L β¦