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
. 2025 Jan 21;15(1):2633.
doi: 10.1038/s41598-025-85357-9.

Machine learning based prediction models for the prognosis of COVID-19 patients with DKA

Affiliations

Machine learning based prediction models for the prognosis of COVID-19 patients with DKA

Zhongyuan Xiang et al. Sci Rep. .

Abstract

Patients with Diabetic ketoacidosis (DKA) have increased critical illness and mortality during coronavirus diseases 2019 (COVID-19). The aim of our study was to develop a predictive model for the occurrence of critical illness and mortality in COVID-19 patients with DKA utilizing machine learning. Blood samples and clinical data from 242 COVID-19 patients with DKA collected from December 2022 to January 2023 at Second Xiangya Hospital. Patients were categorized into non-death (n = 202) and death (n = 38) groups, and non-severe (n = 146) and severe (n = 96) groups. We developed five machine learning-based prediction models-Extreme Gradient Boosting (XGB), Logistic Regression (LR), Random Forest (RF), Support Vector Machine (SVM), and Multilayer Perceptron (MLP)-to evaluate the prognosis of COVID-19 patients with DKA. We employed 5-fold cross-validation for model evaluation and used the Shapley Additive Explanations (SHAP) algorithm for result interpretation to ensure reliability. The LR model demonstrated the highest accuracy (AUC = 0.933) in predicting mortality. Additionally, the LR model excelled (AUC = 0.898) in predicting progression to severe disease. This study developed a machine learning-based predictive model for the progression to severe disease or death in COVID-19 patients with DKA, which can serve as a valuable tool to guide clinical treatment decisions.

Keywords: COVID-19; Diabetes; Ketoacidosis; Machine learning; Prediction.

PubMed Disclaimer

Conflict of interest statement

Declarations. Competing interests: The authors declare no competing interests.

Figures

Fig. 1
Fig. 1
Process flowchart for handling sample data information.
Fig. 2
Fig. 2
Evaluation of the five machine learning algorithms based on the AUC of the ROC curve. (a) The AUC about the death group versus the non-death group; (b) The AUC about the severe group versus the non-severe group.
Fig. 3
Fig. 3
Shapley Additive Explanations (SHAP) summary plot in the LR model. (a) SHAP beeswarm plot showed the distribution of SHAP values of each feature to predict mortality in patients with DKA. Red represents higher feature values, and blue represents lower feature values. (b) SHAP beeswarm plot showed the distribution of SHAP values of each feature to predict the severe illness. Red represents higher feature values, and blue represents lower feature values.

References

    1. Sun, H. et al. IDF Diabetes Atlas: Global, regional and country-level diabetes prevalence estimates for 2021 and projections for 2045. Diabetes Res. Clin. Pract.183, 109119. 10.1016/j.diabres.2021.109119 (2022). - PMC - PubMed
    1. Nyenwe, E. A. & Kitabchi, A. E. The evolution of diabetic ketoacidosis: an update of its etiology, pathogenesis and management. Metabolism65, 507–521. 10.1016/j.metabol.2015.12.007 (2016). - PubMed
    1. Weng, J. et al. Incidence of type 1 diabetes in China, 2010-13: population based study. BMJ360, j5295. 10.1136/bmj.j5295 (2018). - PMC - PubMed
    1. Petroulia, V. D., Kurmann, C., Haenggi, M., Wagner, F. & Hakim, A. Reversible global hypoperfusion in an adult patient with a mixed diabetic ketoacidosis/hyperglycemic hyperosmolar coma: a case report. Clin. Case Rep.10, e05576. 10.1002/ccr3.5576 (2022). - PMC - PubMed
    1. Birkebaek, N. H. et al. Impact of the COVID-19 pandemic on long-term trends in the prevalence of diabetic ketoacidosis at diagnosis of paediatric type 1 diabetes: an international multicentre study based on data from 13 national diabetes registries. Lancet Diabetes Endocrinol.10, 786–794. 10.1016/S2213-8587(22)00246-7 (2022). - PMC - PubMed

Publication types

LinkOut - more resources