Add README
Browse files
README.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- healthcare
|
| 5 |
+
- hospital-readmission
|
| 6 |
+
- fairness-evaluation
|
| 7 |
+
- bias-detection
|
| 8 |
+
- ai-ethics
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# Hospital Readmission Risk - Phase 5: Fairness Evaluation Results
|
| 12 |
+
|
| 13 |
+
This repository contains the results from Phase 5: Fairness Evaluation & Deployment Readiness.
|
| 14 |
+
|
| 15 |
+
## Contents
|
| 16 |
+
|
| 17 |
+
### Outputs
|
| 18 |
+
- `outputs/fairness_report.json`: Comprehensive fairness evaluation report
|
| 19 |
+
- `outputs/group_metrics_*.csv`: Performance metrics by demographic group (race, gender, age)
|
| 20 |
+
- `outputs/statistical_tests.json`: Statistical significance tests for bias detection
|
| 21 |
+
- `outputs/risk_categories_*.csv`: Risk category distribution by demographic group
|
| 22 |
+
|
| 23 |
+
## Fairness Metrics Evaluated
|
| 24 |
+
|
| 25 |
+
### Demographic Parity
|
| 26 |
+
Measures if intervention rate is similar across demographic groups (±5% tolerance).
|
| 27 |
+
|
| 28 |
+
### Equalized Odds
|
| 29 |
+
Measures if True Positive Rate (TPR) and False Positive Rate (FPR) are similar across groups (±5% tolerance).
|
| 30 |
+
|
| 31 |
+
### Equal Opportunity
|
| 32 |
+
Measures if True Positive Rate (TPR) is similar across groups (±5% tolerance).
|
| 33 |
+
|
| 34 |
+
## Statistical Tests
|
| 35 |
+
|
| 36 |
+
- **Chi-square test**: Tests independence of intervention rate and demographic group
|
| 37 |
+
- **Two-proportion z-test**: Tests TPR/FPR differences between groups
|
| 38 |
+
|
| 39 |
+
## Model Information
|
| 40 |
+
|
| 41 |
+
- **Model**: Gradient Boosting (LightGBM) with Platt Calibration
|
| 42 |
+
- **Optimal Threshold**: From Phase 4 ROI analysis
|
| 43 |
+
- **Test Set**: 15,265 patients
|
| 44 |
+
- **Demographics**: Race (6 categories), Gender (3 categories), Age (10 ranges)
|
| 45 |
+
|
| 46 |
+
## Usage
|
| 47 |
+
|
| 48 |
+
These results can be used for:
|
| 49 |
+
- Assessing model fairness before deployment
|
| 50 |
+
- Identifying potential bias in predictions
|
| 51 |
+
- Determining if bias mitigation is needed
|
| 52 |
+
- Creating model cards with fairness documentation
|
| 53 |
+
- Meeting regulatory requirements for AI fairness
|
| 54 |
+
|
| 55 |
+
## Deployment Readiness
|
| 56 |
+
|
| 57 |
+
Review the fairness report to determine if the model is ready for deployment or if bias mitigation strategies are needed.
|
| 58 |
+
|
| 59 |
+
## Citation
|
| 60 |
+
|
| 61 |
+
If you use these results, please cite the hospital readmission risk prediction project.
|