Related Experiment Video
Updated: Jan 11, 2026

Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
An explainable machine learning model for comorbidity risk stratification in patients with fractures admitted to the
Xuelong Liang1, Weijie Zhao2, Weigui Liufu3
1Trauma Orthopedics Department, Maoming People's Hospital, Maoming, Guangdong 525000, China; The First School of Clinical Medicine, Southern Medical University, Guangzhou, Guangdong 510515, China.
Background:
Among traumatic-fracture patients admitted to intensive care units (ICUs), those with substantial chronic comorbidities recover more slowly and die more often than their counterparts without such conditions. The age-adjusted Charlson Comorbidity Index (aCCI) quantifies this burden, yet clinicians still lack a tool that can identify-at the point of ICU admission-which fracture patients are likely to have a high aCCI. To fill this gap, we used a large electronic health-record repository to develop and externally validate an interpretable machine-learning model that predicts severe comorbidity burden in this population.
Methods:
We extracted 3 763 adult fracture cases from MIMIC-IV (2008-2019) and split them 3:1 into training and internal validation sets. High comorbidity (aCCI ≥ 7) was defined as the optimal cut-off derived from one-year survival analysis. Nine key predictors emerged from the intersection of LASSO, SVM-RFE, and random-forest importance. Eleven candidate algorithms underwent grid-search hyperparameter tuning with 10-fold cross-validation, and their performance was compared to identify the optimal model, while SHAP clarified model logic. External validation in two Chinese tertiary centres (n = 558) confirmed generalisability, and the final model was deployed as a bedside Shiny calculator.
Results:
XGBoost achieved the best internal discrimination (AUROC = 0.84; AUPRC = 0.76) and exhibited excellent calibration and net benefit across clinically relevant thresholds. In external validation, AUROC values were 0.88 (Hainan) and 0.83 (Guangdong). The interactive calculator delivers patient-specific risk explanations in real time.
Conclusions:
An XGBoost-based, SHAP-interpretable model accurately predicts high aCCI in ICU fracture patients and generalises across institutions. The readily accessible web tool can help clinicians identify high-risk individuals early, personalise management, and allocate resources more efficiently.
Related Concept Videos
Multicompartment Models: Overview
These models offer a more comprehensive representation of drug behavior in the body than one-compartment models. They accommodate the complexity of drug distribution,...
Clearance Models: Noncompartmental Models
The noncompartmental approach capitalizes on extensive sampling data, correlating the volume of distribution to systemic exposure and the administered dosage. This method enables...
Mechanistic Models: Compartment Models in Individual and Population Analysis
