Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Mar 11;15(1):44.
doi: 10.1186/s13098-023-01020-1.

Mortality prediction in patients with hyperglycaemic crisis using explainable machine learning: a prospective, multicentre study based on tertiary hospitals

Affiliations

Mortality prediction in patients with hyperglycaemic crisis using explainable machine learning: a prospective, multicentre study based on tertiary hospitals

Puguang Xie et al. Diabetol Metab Syndr. .

Abstract

Background: Experiencing a hyperglycaemic crisis is associated with a short- and long-term increased risk of mortality. We aimed to develop an explainable machine learning model for predicting 3-year mortality and providing individualized risk factor assessment of patients with hyperglycaemic crisis after admission.

Methods: Based on five representative machine learning algorithms, we trained prediction models on data from patients with hyperglycaemic crisis admitted to two tertiary hospitals between 2016 and 2020. The models were internally validated by tenfold cross-validation and externally validated using previously unseen data from two other tertiary hospitals. A SHapley Additive exPlanations algorithm was used to interpret the predictions of the best performing model, and the relative importance of the features in the model was compared with the traditional statistical test results.

Results: A total of 337 patients with hyperglycaemic crisis were enrolled in the study, 3-year mortality was 13.6% (46 patients). 257 patients were used to train the models, and 80 patients were used for model validation. The Light Gradient Boosting Machine model performed best across testing cohorts (area under the ROC curve 0.89 [95% CI 0.77-0.97]). Advanced age, higher blood glucose and blood urea nitrogen were the three most important predictors for increased mortality.

Conclusion: The developed explainable model can provide estimates of the mortality and visual contribution of the features to the prediction for an individual patient with hyperglycaemic crisis. Advanced age, metabolic disorders, and impaired renal and cardiac function were important factors that predicted non-survival.

Trial registration number: ChiCTR1800015981, 2018/05/04.

Keywords: Explainable model; Hyperglycaemic crisis; Machine learning; Mortality.

PubMed Disclaimer

Conflict of interest statement

The authors report no potential conflicts of interest relevant to this article.

Figures

Fig. 1
Fig. 1
Discrimination and calibration performance of the models. A Receiver operating characteristic curves for the LR, SVM, RF, LightGBM, and DNN models. B Calibration curve for the LightGBM model
Fig. 2
Fig. 2
The impact of the input features on predictions. Each dot represents the effect of a feature on the prediction for one patient. The redder the colour of the dots, the higher the value of the features, and the bluer the colour of the dots, the lower the value of the features. Dots to the left x-axis represent patients with values of the features decreasing mortality prediction, and dots to the right x-axis represent patients with values of the features increasing mortality prediction
Fig. 3
Fig. 3
Examples of personalized risk factors. A An example of personalized risk factor analysis for a patient in the test set (clinical outcome was death). B An example of personalized risk factor analysis for a patient in the test set (actual clinical outcome was survival)

Similar articles

Cited by

References

    1. Huang C-C, Weng S-F, Tsai K-T, Chen P-J, Lin H-J, Wang J-J, et al. Long-term mortality risk after hyperglycemic crisis episodes in geriatric patients with diabetes: a national population-based cohort study. Diabetes Care. 2015;38:746–751. doi: 10.2337/dc14-1840. - DOI - PubMed
    1. French EK, Donihi AC, Korytkowski MT. Diabetic ketoacidosis and hyperosmolar hyperglycemic syndrome: review of acute decompensated diabetes in adult patients. BMJ. 2019;365. - PubMed
    1. Bragg F, Holmes MV, Iona A, Guo Y, Du H, Chen Y, et al. Association between diabetes and cause-specific mortality in rural and urban areas of China. JAMA. 2017;317:280–289. doi: 10.1001/jama.2016.19720. - DOI - PMC - PubMed
    1. Umpierrez G, Korytkowski M. Diabetic emergencies—ketoacidosis, hyperglycaemic hyperosmolar state and hypoglycaemia. Nat Rev Endocrinol. 2016;12:222–232. doi: 10.1038/nrendo.2016.15. - DOI - PubMed
    1. Pasquel FJ, Umpierrez GE. Hyperosmolar hyperglycemic state: a historic review of the clinical presentation, diagnosis, and treatment. Diabetes Care. 2014;37:3124–3131. doi: 10.2337/dc14-0984. - DOI - PMC - PubMed

LinkOut - more resources