| Model | Data | Accuracy | Precision | Recall | F1 | ROC-AUC |
|---|---|---|---|---|---|---|
| Random Forest | With Protected Classes | 0.928218 | 0.936082 | 0.983209 | 0.959067 | 0.793219 |
| Random Forest | Without Protected Classes | 0.925563 | 0.939756 | 0.975503 | 0.957296 | 0.802960 |
Appendix H — Ensemble Code
H.1 Data and Module Imports
H.2 Random Forests
H.2.1 Random Forest Fit/Predict
H.2.2 Random Forest Model Metrics
H.2.3 Random Forest Confusion Matrices

H.3 XGBoost
H.3.1 XGBoost Fit/Preict
H.3.2 XGBoost Model Metrics
| Model | Data | Accuracy | Precision | Recall | F1 | ROC-AUC |
|---|---|---|---|---|---|---|
| XGBoost | With Protected Classes | 0.933653 | 0.939455 | 0.985969 | 0.962150 | 0.805219 |
| XGBoost | Without Protected Classes | 0.932645 | 0.939074 | 0.985164 | 0.961567 | 0.803712 |
H.3.3 XGBoost Confusion Matrices
