ML Analysis
Model Comparison & Risk Summary
230
Encounters Analyzed
123
Sepsis Flagged (53.48%)
91.57%
High-Risk Precision
0.0%
Low-Risk Flag Rate
Risk Stratification Summary
123
High Risk
53.48%7
Moderate Risk
3.04%83
Low-Moderate Risk
36.09%17
Low Risk
7.39%🔬 sklearn Model Comparison
Logistic Regression
| AUC | 0.9580 |
| F1 Score | 0.8816 |
| Precision | 0.8852 |
| Recall | 0.8780 |
| Accuracy | 0.8739 |
Random Forest
| AUC | 0.9985 |
| F1 Score | 0.9836 |
| Precision | 0.9917 |
| Recall | 0.9756 |
| Accuracy | 0.9826 |
Performance Comparison
Metrics Radar
Precision-Recall Curve
ROC Curve (AUC)
Feature Importance — Model Comparison
Logistic Regression — Feature Importance
| Feature | Score | |
|---|---|---|
sirs_score |
0.2941 |
|
organ_dysfunction_score |
0.2393 |
|
temp_severity |
0.0879 |
|
systolic_bp_min |
0.0741 |
|
lactate_mmol_l |
0.0561 |
|
resp_rate_bpm |
0.0517 |
|
lactate_severity |
0.0503 |
|
hr_severity |
0.0434 |
|
wbc_severity |
0.0396 |
|
heart_rate_bpm |
0.0326 |
|
temperature_c |
0.0113 |
|
wbc_k_ul |
0.0106 |
|
rr_severity |
0.0089 |
|
Random Forest — Feature Importance
| Feature | Score | |
|---|---|---|
sirs_score |
0.2470 |
|
lactate_severity |
0.1222 |
|
lactate_mmol_l |
0.1155 |
|
organ_dysfunction_score |
0.0884 |
|
heart_rate_bpm |
0.0676 |
|
rr_severity |
0.0598 |
|
temp_severity |
0.0571 |
|
hr_severity |
0.0553 |
|
resp_rate_bpm |
0.0516 |
|
temperature_c |
0.0419 |
|
wbc_severity |
0.0401 |
|
wbc_k_ul |
0.0321 |
|
systolic_bp_min |
0.0215 |
|
Feature Statistics
| Feature | Mean | Std Dev | Min | Max |
|---|---|---|---|---|
composite_risk |
1.2916 | 0.5396 | 0.0 | 2.52 |
sirs_score |
1.9217 | 1.0121 | 0.0 | 4.0 |
organ_dysfunction_score |
1.0565 | 0.6484 | 0.0 | 2.0 |
Feature Importance (Correlation-based Baseline)
| Feature | Importance Score | Visual |
|---|---|---|
sirs_score |
0.1546 |
|
organ_dysfunction_score |
0.1101 |
|
lactate_mmol_l |
0.1034 |
|
lactate_severity |
0.1031 |
|
temp_severity |
0.0871 |
|
hr_severity |
0.0747 |
|
heart_rate_bpm |
0.0713 |
|
resp_rate_bpm |
0.0642 |
|
rr_severity |
0.0613 |
|
temperature_c |
0.0546 |
|
wbc_severity |
0.0493 |
|
wbc_k_ul |
0.0435 |
|
systolic_bp_min |
0.0228 |
|
Risk Distribution
Top Features (Baseline)
Composite Risk Score Distribution
Sepsis Flags by Risk Category
Top 20 Highest Risk Encounters
| Rank | Encounter ID | Risk Category | Composite Risk | Sepsis Flag |
|---|---|---|---|---|
| 1 | synth-encounter-000061 |
High | 2.5200 | Yes |
| 2 | synth-encounter-000121 |
High | 2.5050 | Yes |
| 3 | synth-encounter-000213 |
High | 2.3830 | Yes |
| 4 | synth-encounter-000069 |
High | 2.3367 | Yes |
| 5 | synth-encounter-000144 |
High | 2.3250 | Yes |
| 6 | synth-encounter-000116 |
High | 2.3025 | Yes |
| 7 | synth-encounter-000072 |
High | 2.3000 | Yes |
| 8 | synth-encounter-000124 |
High | 2.2683 | Yes |
| 9 | synth-encounter-000098 |
High | 2.2650 | Yes |
| 10 | synth-encounter-000230 |
High | 2.2475 | Yes |
| 11 | synth-encounter-000050 |
High | 2.1850 | Yes |
| 12 | synth-encounter-000057 |
High | 2.1800 | Yes |
| 13 | synth-encounter-000145 |
High | 2.1738 | Yes |
| 14 | synth-encounter-000151 |
High | 2.1650 | Yes |
| 15 | synth-encounter-000037 |
High | 2.1575 | Yes |
| 16 | synth-encounter-000115 |
High | 2.1500 | Yes |
| 17 | synth-encounter-000176 |
High | 2.1450 | Yes |
| 18 | synth-encounter-000140 |
High | 2.1350 | Yes |
| 19 | synth-encounter-000088 |
High | 2.1250 | Yes |
| 20 | synth-encounter-000119 |
High | 2.0150 | Yes |