Skip to main content

Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

Advertisement

Scientific Reports
  • View all journals
  • Search
  • My Account Login
  • Content Explore content
  • About the journal
  • Publish with us
  • Sign up for alerts
  • RSS feed
  1. nature
  2. scientific reports
  3. articles
  4. article
‌Application of XGBoost and logistic regression in predicting 90 days mortality for elderly severe acute renal failure patients
Download PDF
Download PDF
  • Article
  • Open access
  • Published: 03 February 2026

‌Application of XGBoost and logistic regression in predicting 90 days mortality for elderly severe acute renal failure patients

  • Jinping Zeng1,
  • Yiying Zhu1,
  • Feng Ye1,
  • Qin Song2,
  • Haiyan Ma1,
  • Jun Yang3 &
  • …
  • Yinyin Wu1 

Scientific Reports , Article number:  (2026) Cite this article

We are providing an unedited version of this manuscript to give early access to its findings. Before final publication, the manuscript will undergo further editing. Please note there may be errors present which affect the content, and all legal disclaimers apply.

Subjects

  • Computational biology and bioinformatics
  • Diseases
  • Health care
  • Medical research
  • Risk factors

Abstract

Acute renal failure (ARF) is one of the most common conditions encountered in the intensive care unit (ICU). ARF has a complex pathogenesis and due to the progressive weakening of the structure and function of the kidney, the incidence of ARF increases significantly in the aging group. Therefore, the development of reliable predictive model is of great importance to identify those patients in high risk for ARF, in order to provide timely and effective interventions to improve their prognosis. Extreme gradient boosting (XGBoost) is an efficient integrated learning algorithm with advantages over traditional logistic regression (LR) methods. The purpose of this study was to compare the performance of the two models in predicting 90-day mortality in elderly patients with ARF. Data of elderly patients (> 60years) with ARF in ICU were extracted from MIMIC IV with 90-day mortality as end-point. The performance of the two predictive models was tested and compared by receiver operating characteristic curve and decision curve analysis (DCA). Cumulative residual distribution plot and residual box-plot were then used to determine the fit of the model. Finally, the model with better overall diagnostic value was selected and a breakdown plot was drawn. Data of 7,500 elderly ARF patients were analyzed, of whom 1,150 died within 90 days. Both models showed good discriminatory ability, but the XGBoost model had a larger area under the curve value. DCA results revealed that the net benefit of the XGBoost model had a greater range than the LR model. Moreover, the XGBoost model had the smallest sample residuals and root-mean-square residuals, indicating a better fitting of the XGBoost algorithm. Finally, a breakdown plot based on the XGBoost model was created as an individualized tool for prognosis prediction in elderly patients with ARF. Our study find that the XGBoost algorithm model was a better model for predicting 90-day mortality in elderly ICU patients with ARF compared to the LR model. The model may have clinical applications for elderly patients with ARF and may help healthcare professionals to develop detailed treatment plans as well as provide accurate care.

Data availability

The data that support the findings of this study are openly available on the MIMIC-IV website at https://physionet.org/content/mimiciv/1.0/. The datasets used and/or analyzed during the current study are available from the corresponding author on reasonable request.

Abbreviations

ARF:

acute renal failure

ICU:

intensive care unit

XGBoost:

extreme gradient boosting

LR:

logistic regression

DCA:

decision curve analysis

ML:

machine learning

MIMIC-IV:

medical information mart for intensive care-IV

SOFA:

sequential organ failure assessment

APSIII:

acute physiology score-III

LODS:

logistic organ dysfunction system

OASIS:

Oxford acute severity of illness score

SPASII:

simplified acute physiology score-II

SIRS:

systemic inflammatory response syndrome

WBC:

white blood cells

PT:

prothrombin time

PTT:

partial thromboplastin time

AG:

anion gap

SBP:

systolic blood pressure

DBP:

diastolic blood pressure

SpO2:

pulse oxygen saturation

ROC:

receiver operating characteristic curve

AUC:

area under the curve

CCU:

coronary care unit

SICU:

surgical intensive care unit

MICU:

medical intensive care unit

CVICU:

cardiac vascular intensive care unit

CRRT:

continuous renal replacement therapy

BUN:

blood urea nitrogen

Max:

maximum

Min:

minimum

OR:

odds ratio

References

  1. Levey, A. S. & James, M. T. Acute kidney injury. Ann. Intern. Med. 167 (9), ITC66–ITC80 (2017).

    Google Scholar 

  2. Li, Q., Zhao, M., Du, J. & Wang, X. Outcomes of renal function in elderly patients with acute kidney injury. Clin. Interv Aging. 12, 153–160 (2017).

    Google Scholar 

  3. Koza, Y. Acute kidney injury: current concepts and new insights. J. Inj Violence Res. 8 (1), 58–62 (2016).

    Google Scholar 

  4. Chang-Panesso, M. Acute kidney injury and aging. Pediatr. Nephrol. 36 (10), 2997–3006 (2021).

    Google Scholar 

  5. Weidner, D. A. & Yoo, M. J. A review of acute kidney injury. J. Spec. Oper. Med. 22 (3), 70–74 (2022).

    Google Scholar 

  6. Al-Jaghbeer, M., Dealmeida, D., Bilderback, A., Ambrosino, R. & Kellum, J. A. Clinical decision support for in-Hospital AKI. J. Am. Soc. Nephrol. 29 (2), 654–660 (2018).

    Google Scholar 

  7. Hoste, E. A. et al. Epidemiology of acute kidney injury in critically ill patients: the multinational AKI-EPI study. Intensive Care Med. 41 (8), 1411–1423 (2015).

    Google Scholar 

  8. Holmes, J. et al. Understanding electronic AKI alerts: characterization by definitional rules. Kidney Int. Rep. 2 (3), 342–349 (2016).

    Google Scholar 

  9. Wang, J. L. & Yan, Y. C. Research progress of acute kidney injury in elderly patients. Chin. J. Integr. Traditional Western Nephrop. 13 (3), 272–275 (2012).

    Google Scholar 

  10. Lu, R. H. et al. Analysis of incidence and risk factors of acute kidney injury in inpatients. Chin. J. Crit. Care Emerg. Med. 23 (7), 413–417 (2011).

    Google Scholar 

  11. Yang, Y. J. & Cai, G. Y. Diagnosis and treatment of acute kidney injury in elderly patients. Chin. J. Clin. Healthc. 23 (1), 15–19 (2020).

    Google Scholar 

  12. Hoste, E. A. J. et al. Global epidemiology and outcomes of acute kidney injury. Nat. Rev. Nephrol. 14 (10), 607–625 (2018).

    Google Scholar 

  13. Lee, H. C. et al. Prediction of acute kidney injury after liver transplantation: machine learning approaches vs logistic regression model. J. Clin. Med. 7 (11), 428 (2018).

    Google Scholar 

  14. Hsu, C. N., Liu, C. L., Tain, Y. L., Kuo, C. Y. & Lin, Y. C. Machine learning model for risk prediction of Community-Acquired acute kidney injury hospitalization from electronic health records: development and validation study. J. Med. Internet Res. 22 (8), e16903 (2020).

    Google Scholar 

  15. Yuan, K. C. et al. The development an artificial intelligence algorithm for early sepsis diagnosis in the intensive care unit. Int. J. Med. Inf. 141, 104176 (2020).

    Google Scholar 

  16. Qi, Q. N. et al. Research progress of machine learning XGBoost algorithm in medical field. J. Mol. Imaging. 44 (5), 856–862 (2019).

    Google Scholar 

  17. Huang, Y. C., Li, S. J., Chen, M., Lee, T. S. & Chien, Y. N. Machine-Learning techniques for feature selection and prediction of mortality in elderly CABG patients. Healthc. (Basel). 9 (5), 547 (2021).

    Google Scholar 

  18. Schober, P. & Vetter, T. R. Logistic regression in medical research. Anesth. Analg. 132 (2), 365–366 (2021).

    Google Scholar 

  19. Yan, Z. et al. XGBoost algorithm and logistic regression to predict the postoperative 5-year outcome in patients with glioma. Ann. Transl Med. 10 (16), 860 (2022).

    Google Scholar 

  20. Hou, N. et al. Predicting 30-days mortality for MIMIC-III patients with sepsis-3: a machine learning approach using XGboost. J. Transl Med. 18 (1), 462 (2020).

    Google Scholar 

  21. Xu, Y. et al. Predicting ICU mortality in rheumatic heart disease: comparison of XGBoost and logistic regression. Front. Cardiovasc. Med. 9, 847206 (2022).

    Google Scholar 

  22. Foersch, S., Glasner, C. & Woerl, A. Multistain deep learning for prediction of prognosis and therapy response in colorectal cancer. Nat. Med. 30 (3), 430–439 (2023).

    Google Scholar 

  23. Tutsoy, O. & Koç, G. G. Deep self-supervised machine learning algorithms with a novel feature elimination and selection approaches for blood test-based multi-dimensional health risks classification. BMC Bioinform. 25 (1) (2024).

  24. Rabold, K. et al. Reprogramming of myeloid cells and their progenitors in patients with non-medullary thyroid carcinoma. Nat. Commun. 13 (1) (2022).

  25. Ulrich, H. et al. Hands on the Medical Informatics Initiative Core Data Set-Lessons Learned from Converting the MIMIC-IV. Stud. Health Technol. Inf. 283:119–126. (2021).

  26. Collins, G. S., Reitsma, J. B., Altman, D. G. & Moons, K. G. Transparent reporting of a multi-variable prediction model for individual prognosis or diagnosis (TRIPOD): the TRIPOD statement. Ann. Intern. Med. 162 (1), 55–63 (2015).

    Google Scholar 

  27. Van Calster, B. et al. Reporting and interpreting decision curve analysis: A guide for investigators. Eur. Urol. 74 (6), 796–804 (2018).

    Google Scholar 

  28. Pan, X., Jin, X., Wang, J., Hu, Q. & Dai, B. Placenta inflammation is closely associated with gestational diabetes mellitus. Am. J. Transl Res. 13 (5), 4068–4079 (2021).

    Google Scholar 

  29. Wei, C., Zhang, L., Feng, Y., Ma, A. & Kang, Y. Machine learning model for predicting acute kidney injury progression in critically ill patients. BMC Med. Inf. Decis. Mak. 22 (1), 17 (2022).

    Google Scholar 

  30. Zhao, X. et al. 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. 44 (1), 1326–1337 (2022).

    Google Scholar 

  31. Liu, F., Chen, J., Li, Z. & Meng, X. Recent advances in epigenetics of Age-Related kidney diseases. Genes (Basel). 13 (5), 796 (2022).

    Google Scholar 

  32. Doyle, J. F. & Forni, L. G. Acute kidney injury: short-term and long-term effects. Crit. Care. 20 (1), 188 (2016).

    Google Scholar 

  33. Mohamadlou, H. et al. Prediction of acute kidney injury with a machine learning algorithm using electronic health record data. Can. J. Kidney Health Disease. 5, 1–9 (2018).

    Google Scholar 

  34. Lei, V. J. et al. Risk stratification for postoperative acute kidney injury in major noncardiac surgery using preoperative and intraoperative data. JAMA Netw. Open. 2 (12), e1916921 (2019).

    Google Scholar 

  35. Koyner, J. L., Carey, K. A., Edelson, D. P. & Churpek, M. M. The development of a machine learning inpatient acute kidney injury prediction model. Crit. Care Med. 46 (7), 1070–1077 (2018).

    Google Scholar 

  36. Kristovic, D. et al. Cardiac surgery-associated acute kidney injury: risk factors analysis and comparison of prediction models. Interact. Cardiovasc. Thorac. Surg. 21 (3), 366–373 (2015).

    Google Scholar 

  37. An, S. et al. An acute kidney injury prediction nomogram based on neurosurgical intensive care unit profiles. Ann. Transl Med. 8 (5), 194 (2020).

    Google Scholar 

  38. Xiao, J. et al. Comparison and development of machine learning tools in the prediction of chronic kidney disease progression. J. Transl Med. 17 (1), 119 (2019).

    Google Scholar 

  39. Li, Y. M. et al. A LASSO-derived risk model for long-term mortality in Chinese patients with acute coronary syndrome. J. Transl Med. 18 (1), 157 (2020).

    Google Scholar 

  40. Yue, S. et al. Machine learning for the prediction of acute kidney injury in patients with sepsis. J. Transl Med. 20 (1), 215 (2022).

    Google Scholar 

  41. Song, X., Liu, X., Liu, F. & Wang, C. Comparison of machine learning and logistic regression models in predicting acute kidney injury: a systematic review and meta-analysis. Int. J. Med. Inf. 151, 104484 (2021).

    Google Scholar 

  42. Rahmatinejad, Z. et al. A comparative study of explainable ensemble learning and logistic regression for predicting in-hospital mortality in the emergency department. Sci. Rep. 14 (1), 3406 (2024).

    Google Scholar 

  43. Rahmatinejad, Z. et al. Comparing In-Hospital mortality prediction by senior emergency resident’s judgment and prognostic models in the emergency department. Biomed. Res. Int. 2023, 6042762 (2023).

    Google Scholar 

  44. Schmidt, J. B. Conformal Prediction and Venn-ABERS Calibration for Reliable Machine Learning-Based Prediction of Bacterial Infection Focus. bioRxiv. (2025).

  45. Mercado, M. G., Smith, D. K. & Guard, E. L. Acute kidney injury: diagnosis and management. Am. Fam Physician. 100 (11), 687–694 (2019).

    Google Scholar 

  46. Rahman, M., Shad, F. & Smith, M. C. Acute kidney injury: a guide to diagnosis and management. Am. Fam Physician. 86 (7), 631–639 (2012).

    Google Scholar 

  47. Kellum, J. A., Lameire, N. & KDIGO AKI Guideline Work Group. Diagnosis, evaluation and management of acute kidney injury: a KDIGO summary (Part1). Crit. Care. 17 (1), 204 (2013).

    Google Scholar 

  48. Xu, L. B., Zhu, L. G., Liu, G. P. & Yu, L. A single-center retrospective study on the epidemiology of acute kidney injury in elderly patients in inner Mongolia. Chin. J. Integr. Nephrop. 21 (10), 871–874 (2020).

    Google Scholar 

  49. Lin, D. X. & Du, B. Fluid management of acute kidney injury. J. Cardiopulm. Vascular Dis. 38 (11), 1188–1191 (2019).

    Google Scholar 

  50. Grangeon-Chapon, C., Dodoi, M., Esnault, V. L. & Favre, G. Osmotic stress and mortality in elderly patients with kidney failure: a retrospective study. Clin. Interv Aging. 14, 225–229 (2019).

    Google Scholar 

  51. Sato, R., Luthe, S. K. & Nasu, M. Blood pressure and acute kidney injury. Crit. Care. 21 (1), 28 (2017).

    Google Scholar 

  52. Rosner, M. H. & Perazella, M. A. Acute kidney injury in the patient with cancer. Kidney Res. Clin. Pract. 38 (3), 295–308 (2019).

    Google Scholar 

  53. Collins, G. S., Reitsma, J. B., Altman, D. G. & Moons, K. G. A step-by-step guide to developing and validating clinical prediction models. J. Clin. Epidemiol. 150, 105–120 (2024).

    Google Scholar 

Download references

Funding

This study was supported in part by grants from the National Natural Science Foundation of China (No. 32270186) and the Huadong Medicine Joint Funds of the Zhejiang Provincial Natural Science Foundation (No. LHDMZ24H040001).

Author information

Authors and Affiliations

  1. Department of Epidemiology and Health Statistics, School of Public Health and Nursing, Hangzhou Normal University, Hangzhou, China

    Jinping Zeng, Yiying Zhu, Feng Ye, Haiyan Ma & Yinyin Wu

  2. Department of Occupational and Environmental Health, School of Public Health and Nursing, Hangzhou Normal University, Hangzhou, China

    Qin Song

  3. Department of Nutrition and Toxicology, School of Public Health and Nursing, Hangzhou Normal University, Hangzhou, China

    Jun Yang

Authors
  1. Jinping Zeng
    View author publications

    Search author on:PubMed Google Scholar

  2. Yiying Zhu
    View author publications

    Search author on:PubMed Google Scholar

  3. Feng Ye
    View author publications

    Search author on:PubMed Google Scholar

  4. Qin Song
    View author publications

    Search author on:PubMed Google Scholar

  5. Haiyan Ma
    View author publications

    Search author on:PubMed Google Scholar

  6. Jun Yang
    View author publications

    Search author on:PubMed Google Scholar

  7. Yinyin Wu
    View author publications

    Search author on:PubMed Google Scholar

Contributions

JZ created the study protocol, performed the statistical analyses and wrote the first manuscript draft. YZ and FY assisted with data collection. QS assisted with data interpretation. HM and JY assisted with manuscript revision. YW conceived the study and critically revised the manuscript. All authors read and approved the final manuscript.

Corresponding authors

Correspondence to Jun Yang or Yinyin Wu.

Ethics declarations

Competing interests

The authors declare no competing interests.

Ethics approval and consent to participate

This study was conducted in accordance with the Declaration of Helsinki. Institutional review board approval and informed consent were not required in current study because MIMIC-IV data is publicly available and all patient data are de-identified. Informed consent of all subjects and/or their legal guardians was obtained when MIMIC-IV was established.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Zeng, J., Zhu, Y., Ye, F. et al. ‌Application of XGBoost and logistic regression in predicting 90 days mortality for elderly severe acute renal failure patients. Sci Rep (2026). https://doi.org/10.1038/s41598-026-37828-w

Download citation

  • Received: 25 November 2025

  • Accepted: 27 January 2026

  • Published: 03 February 2026

  • DOI: https://doi.org/10.1038/s41598-026-37828-w

Share this article

Anyone you share the following link with will be able to read this content:

Sorry, a shareable link is not currently available for this article.

Provided by the Springer Nature SharedIt content-sharing initiative

Keywords

  • Acute renal failure
  • 90-day mortality
  • XGBoost
  • Logistic regression
  • The elderly
Download PDF

Advertisement

Explore content

  • Research articles
  • News & Comment
  • Collections
  • Subjects
  • Follow us on Facebook
  • Follow us on Twitter
  • Sign up for alerts
  • RSS feed

About the journal

  • About Scientific Reports
  • Contact
  • Journal policies
  • Guide to referees
  • Calls for Papers
  • Editor's Choice
  • Journal highlights
  • Open Access Fees and Funding

Publish with us

  • For authors
  • Language editing services
  • Open access funding
  • Submit manuscript

Search

Advanced search

Quick links

  • Explore articles by subject
  • Find a job
  • Guide to authors
  • Editorial policies

Scientific Reports (Sci Rep)

ISSN 2045-2322 (online)

nature.com sitemap

About Nature Portfolio

  • About us
  • Press releases
  • Press office
  • Contact us

Discover content

  • Journals A-Z
  • Articles by subject
  • protocols.io
  • Nature Index

Publishing policies

  • Nature portfolio policies
  • Open access

Author & Researcher services

  • Reprints & permissions
  • Research data
  • Language editing
  • Scientific editing
  • Nature Masterclasses
  • Research Solutions

Libraries & institutions

  • Librarian service & tools
  • Librarian portal
  • Open research
  • Recommend to library

Advertising & partnerships

  • Advertising
  • Partnerships & Services
  • Media kits
  • Branded content

Professional development

  • Nature Awards
  • Nature Careers
  • Nature Conferences

Regional websites

  • Nature Africa
  • Nature China
  • Nature India
  • Nature Japan
  • Nature Middle East
  • Privacy Policy
  • Use of cookies
  • Legal notice
  • Accessibility statement
  • Terms & Conditions
  • Your US state privacy rights
Springer Nature

© 2026 Springer Nature Limited

Nature Briefing

Sign up for the Nature Briefing newsletter — what matters in science, free to your inbox daily.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing