How mostafaelsonny/student-success-analytics works
This repository implements a student-success analytics system: OULAD data is loaded into a SQL Server warehouse, analyzed in Power BI, and used for Day-28 early-risk prediction. The main path runs from source data through ETL and the star-schema warehouse to dashboards and prediction outputs; the ML branch prepares leakage-controlled features, trains and evaluates models, and exports predictions for warehouse use. The README documents the end-to-end architecture; source excerpts confirm key ML and prediction-ingestion behavior, while SSIS package internals and the Power BI model were not sampled.
Main entry points: DDL Star-schema warehouse · feature_engineering.py Leakage-safe feature engineering · Dashboard_v0.1.pbix Power BI dashboard · export_predictions_to_sql.py Prediction SQL export
Components 18
Data ingestion
- SSIS ETL
02_ETL_SSIS/Packages/StudentSuccess_ETL/Master_ETL_Orchestrator.dtsx - Python ETL fallback
02_ETL_SSIS/ETL_Python_Fallback - Staging tables
02_ETL_SSIS/Staging
Analytics warehouse
- Star-schema warehouse
01_DataWarehouse_SQL/DDL - Analytical views
01_DataWarehouse_SQL/Views - Prediction ingestion
01_DataWarehouse_SQL/ETL_SQL/ingest_ml_predictions.py
Early warning ML
- Day-28 dataset preparation
04_Machine_Learning/src/prepare_day28_dataset.py - Leakage-safe feature engineering
04_Machine_Learning/src/feature_engineering.py - Baseline modeling
04_Machine_Learning/src/baseline_model.py - Model comparison
04_Machine_Learning/src/model_evaluation.py - Final model selection
04_Machine_Learning/src/train.py - Risk scoring and SHAP
04_Machine_Learning/src/inference.py - Prediction SQL export
04_Machine_Learning/src/export_predictions_to_sql.py - Model quality audit
04_Machine_Learning/src/audit_model.py
Business intelligence
- Power BI dashboard
03_PowerBI_Dashboard/Dashboard_v0.1.pbix - Core DAX measures
03_PowerBI_Dashboard/DAX_Measures/01_core_measures.dax
Other components
- OULAD source data
data/raw - Analyst / educator
Connections 21
- OULAD source data → SSIS ETL: loads from
README.md - SSIS ETL → Staging tables: stages data
README.md - Staging tables → Star-schema warehouse: loads warehouse
README.md - OULAD source data → Python ETL fallback: fallback loads
- Star-schema warehouse → Analytical views: serves queries
- Star-schema warehouse → Power BI dashboard: feeds analytics
README.md - Analytical views → Power BI dashboard: supports reporting
- Core DAX measures → Power BI dashboard: defines measures
- Analyst / educator → Power BI dashboard: reviews insights
- OULAD source data → Day-28 dataset preparation: provides source tables
04_Machine_Learning/src/prepare_day28_dataset.py - Day-28 dataset preparation → Leakage-safe feature engineering: calls feature extraction
04_Machine_Learning/src/prepare_day28_dataset.py - Leakage-safe feature engineering → Baseline modeling: provides features
04_Machine_Learning/src/baseline_model.py - Leakage-safe feature engineering → Model comparison: provides features
04_Machine_Learning/src/model_evaluation.py - Leakage-safe feature engineering → Final model selection: provides features
04_Machine_Learning/src/train.py - Final model selection → Risk scoring and SHAP: produces model
- Prediction SQL export → Risk scoring and SHAP: uses scoring
04_Machine_Learning/src/export_predictions_to_sql.py - Prediction SQL export → Star-schema warehouse: reads features
04_Machine_Learning/src/export_predictions_to_sql.py - Prediction SQL export → Prediction ingestion: exports predictions
- Prediction ingestion → Star-schema warehouse: merges predictions
01_DataWarehouse_SQL/ETL_SQL/ingest_ml_predictions.py - Model quality audit → Final model selection: audits model quality
- Star-schema warehouse → Risk scoring and SHAP: supplies prediction features