Clinical Patient Profile
Live parameter inputs for real-time model scoringMulti-Class Risk Assessment
Real-time XGBoost soft-probability inference
Estimated HbA1c Equivalent:
≥ 7.6% (Diabetic Range)
Clinical Action Recommendation:
Diagnostic HbA1c + OGTT Panel
Key Local Risk Contributors (TreeSHAP)
View Full Waterfall →
Model Consensus Agreement
| Model Architecture | P(No-DM) | P(Pre-DM) | P(DM) | Decision Stratum |
|---|---|---|---|---|
| Multi-Class XGBoost | 8.2% | 4.6% | 87.2% | Diabetes (Class 2) |
| Random Forest (200 Trees) | 11.4% | 3.8% | 84.8% | Diabetes (Class 2) |
| Logistic Regression (Balanced) | 6.5% | 14.2% | 79.3% | Diabetes (Class 2) |
Patient TreeSHAP Waterfall Attribution
Exact Shapley value impact on Diabetes log-odds for active profileGlobal Clinical Risk Drivers
Mean Absolute TreeSHAP importance across 253,680 CDC BRFSS recordsUnsupervised Patient Phenotype Discovery (K-Means, K=3)
Cluster profiling across 21 clinical, metabolic, and lifestyle dimensionsPhenotype 0: Low-Risk Normoglycemic Baseline
Cohort Size:52.4%
Mean BMI:25.8
Hypertension (%):18.2%
High Cholesterol (%):22.4%
Diabetes Rate:4.8%
Normative metabolic health, normal/mild BMI, low comorbidity burden, high physical activity adherence.
Phenotype 1: Moderate Metabolic Syndrome & Aging Cohort
Cohort Size:31.8%
Mean BMI:29.4
Hypertension (%):58.7%
High Cholesterol (%):54.1%
Diabetes Rate:16.3%
Elevated cardiovascular risk factors, overweight BMI tier, emerging hypertension and dyslipidemia.
Phenotype 2: High-Risk Multimorbid Comorbid Phenotype
Cohort Size:15.8%
Mean BMI:33.6
Hypertension (%):82.4%
High Cholesterol (%):76.8%
Diabetes Rate:38.9%
High-grade obesity, severe chronic disease clustering (hypertension, CAD, stroke), restricted physical mobility.
Held-Out Test Partition Benchmark (50,736 Patients)
Stratified multi-class evaluation comparing Macro-F1 and per-class detection sensitivity| Model Architecture | Accuracy | Macro-F1 | Weighted-F1 | No-DM Recall (0) | Pre-DM Recall (1) | DM Recall (2) | Clinical Trade-Off |
|---|---|---|---|---|---|---|---|
| Multi-Class XGBoost | 84.7% | 0.458 | 81.4% | 96.2% | 1.4% | 42.1% | Highest Macro-F1 & precision; excels at healthy vs confirmed diabetic separation. |
| Random Forest (200 Trees) | 84.1% | 0.442 | 80.8% | 95.4% | 1.1% | 38.6% | Strong non-linear boundaries; robust ensemble averaging across 200 estimators. |
| Logistic Regression (Balanced) | 73.2% | 0.419 | 75.8% | 74.1% | 28.5% | 68.2% | Highest sensitivity for minority Prediabetes detection (28.5% recall) via balanced loss weighting. |
The Class 1 (Prediabetes) Detection Challenge
Class 1 represents only 1.83% of the epidemiological cohort (4,631 records). Unweighted models optimize global accuracy by predicting majority classes (0 and 2). Balanced weighting dramatically lifts Class 1 sensitivity from 1.4% to 28.5%.
Clinical Utility of Gradient Boosting
Multi-Class XGBoost with softprob loss partitions the non-linear interaction between self-rated general health, BMI, and hypertension with higher fidelity than linear baselines.