Predicting the risk factors of diabetic ketoacidosis-associated acute kidney injury: A machine learning approach using XGBoost
- PMID: 37089510
- PMCID: PMC10117643
- DOI: 10.3389/fpubh.2023.1087297
Predicting the risk factors of diabetic ketoacidosis-associated acute kidney injury: A machine learning approach using XGBoost
Abstract
Objective: The purpose of this study was to develop and validate a predictive model based on a machine learning (ML) approach to identify patients with DKA at increased risk of AKI within 1 week of hospitalization in the intensive care unit (ICU).
Methods: Patients diagnosed with DKA from the Medical Information Mart for Intensive Care IV (MIMIC-IV) database according to the International Classification of Diseases (ICD)-9/10 code were included. The patient's medical history is extracted, along with data on their demographics, vital signs, clinical characteristics, laboratory results, and therapeutic measures. The best-performing model is chosen by contrasting the 8 Ml models. The area under the receiver operating characteristic curve (AUC), sensitivity, accuracy, and specificity were calculated to select the best-performing ML model.
Results: The final study enrolled 1,322 patients with DKA in total, randomly split into training (1,124, 85%) and validation sets (198, 15%). 497 (37.5%) of them experienced AKI within a week of being admitted to the ICU. The eXtreme Gradient Boosting (XGBoost) model performed best of the 8 Ml models, and the AUC of the training and validation sets were 0.835 and 0.800, respectively. According to the result of feature importance, the top 5 main features contributing to the XGBoost model were blood urea nitrogen (BUN), urine output, weight, age, and platelet count (PLT).
Conclusion: An ML-based individual prediction model for DKA-associated AKI (DKA-AKI) was developed and validated. The model performs robustly, identifies high-risk patients early, can assist in clinical decision-making, and can improve the prognosis of DKA patients to some extent.
Keywords: XGBoost; acute kidney injury; diabetic ketosis; machine learning; outcome.
Copyright © 2023 Fan, Wang, Li, Kang, Wang and Zhang.
Conflict of interest statement
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Figures





Similar articles
-
Machine learning prediction models and nomogram to predict the risk of in-hospital death for severe DKA: A clinical study based on MIMIC-IV, eICU databases, and a college hospital ICU.Int J Med Inform. 2023 Jun;174:105049. doi: 10.1016/j.ijmedinf.2023.105049. Epub 2023 Mar 27. Int J Med Inform. 2023. PMID: 37001474
-
Nomogram to predict the risk of acute kidney injury in patients with diabetic ketoacidosis: an analysis of the MIMIC-III database.BMC Endocr Disord. 2021 Mar 4;21(1):37. doi: 10.1186/s12902-021-00696-8. BMC Endocr Disord. 2021. PMID: 33663489 Free PMC article.
-
[Construction of a predictive model for early acute kidney injury risk in intensive care unit septic shock patients based on machine learning].Zhonghua Wei Zhong Bing Ji Jiu Yi Xue. 2022 Mar;34(3):255-259. doi: 10.3760/cma.j.cn121430-20211126-01790. Zhonghua Wei Zhong Bing Ji Jiu Yi Xue. 2022. PMID: 35574741 Chinese.
-
Predicting renal function recovery and short-term reversibility among acute kidney injury patients in the ICU: comparison of machine learning methods and conventional regression.Ren Fail. 2022 Dec;44(1):1326-1337. doi: 10.1080/0886022X.2022.2107542. Ren Fail. 2022. PMID: 35930309 Free PMC article. Review.
-
Development and Comparative Analysis of an Early Prediction Model for Acute Kidney Injury within 72-Hours Post-ICU Admission Using Evidence from the MIMIC-III Database.Discov Med. 2023 Aug;35(177):623-631. doi: 10.24976/Discov.Med.202335177.61. Discov Med. 2023. PMID: 37553314
Cited by
-
Association between blood urea nitrogen to serum albumin ratio and in-hospital mortality in critical patients with diabetic ketoacidosis: a retrospective analysis of the eICU database.Front Endocrinol (Lausanne). 2024 Jun 27;15:1411891. doi: 10.3389/fendo.2024.1411891. eCollection 2024. Front Endocrinol (Lausanne). 2024. PMID: 38994011 Free PMC article.
-
Machine-learning-derived online prediction models of outcomes for patients with cholelithiasis-induced acute cholangitis: development and validation in two retrospective cohorts.EClinicalMedicine. 2024 Sep 5;76:102820. doi: 10.1016/j.eclinm.2024.102820. eCollection 2024 Oct. EClinicalMedicine. 2024. PMID: 39290635 Free PMC article.
-
A prediction study on the occurrence risk of heart disease in older hypertensive patients based on machine learning.BMC Geriatr. 2025 Jan 11;25(1):27. doi: 10.1186/s12877-025-05679-1. BMC Geriatr. 2025. PMID: 39799333 Free PMC article.
-
Risk prediction and effect evaluation of complicated appendicitis based on XGBoost modeling.BMC Gastroenterol. 2025 Apr 24;25(1):295. doi: 10.1186/s12876-025-03847-6. BMC Gastroenterol. 2025. PMID: 40275206 Free PMC article.
-
Predictive modeling of perioperative blood transfusion in lumbar posterior interbody fusion using machine learning.Front Physiol. 2023 Dec 22;14:1306453. doi: 10.3389/fphys.2023.1306453. eCollection 2023. Front Physiol. 2023. PMID: 38187137 Free PMC article.
References
Publication types
MeSH terms
LinkOut - more resources
Full Text Sources
Medical