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
Development and validation of a machine learning-based risk prediction model for hyperkalemia in patients with chronic kidney disease
Download PDF
Download PDF
  • Article
  • Open access
  • Published: 21 May 2026

Development and validation of a machine learning-based risk prediction model for hyperkalemia in patients with chronic kidney disease

  • Wei Han1 na1,
  • Bing Liu1,
  • Jie Li1,
  • Lu Gong1,
  • Meixu Jiang1,
  • Yuying Jing1,
  • Jiazhen Shang1,
  • Shouyu Chai1,
  • Zhitao Zeng1,
  • Xincong Lv1,
  • Xiaotian Han1,
  • Zhimei Lv1 &
  • …
  • Rong Wang1 

Scientific Reports (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
  • Nephrology
  • Risk factors

Abstract

To develop an optimal predictive model for hyperkalemia in patients with chronic kidney disease (CKD). Clinical data of CKD patients were collected from Shandong Provincial Hospital Affiliated to Shandong First Medical University between January 2017 and December 2023, including 343 hyperkalemia cases and 713 cases with normal potassium levels. The data were divided into training and test sets at a 7:3 ratio. Important features were screened via univariate analysis, collinearity diagnosis, and LASSO regression, identifying 20 feature variables for hyperkalemia. Five machine learning models were established: logistic regression (LR), decision tree (DT), gradient boosting machine (GBM), support vector machine (SVM), and K-nearest neighbors (KNN). Models were compared using the area under the curve (AUC), Brier score, calibration curve, decision curve analysis (DCA), and overfitting control. The LR model was identified as the optimal model, showing excellent performance in predicting hyperkalemia. The AUCs were 0.899 (training set) and 0.868 (test set), with corresponding F1 scores of 0.819 and 0.725. Calibration and DCA curves demonstrated high predictive accuracy and clinical benefit. Additionally, the nomogram based on the LR model could assist in clinical decision-making. Our findings suggest that the LR model is the optimal predictive model for the risk of hyperkalemia in CKD patients.

Acknowledgements

ZL, WH and RW designed the study. WH and BL performed the data extraction, analyzed and interpreted the data and drafted the manuscript. JL, LG and MJ assisted in clinical data collation. YJ, JS and SC assisted in analyzing the data. ZZ, XL and XH interpreted the data. ZL and RW revised the manuscript. All authors read and approved the final manuscript.

Funding

This work was funded by National Natural Science Foundation of China (No. 82370721), Shandong Provincial Natural Science Foundation (No. ZR2022LSW020, ZR2023LZY014, ZR2024MH330), and Taishan Scholars Program (No. tstp20240854).

Author information

Author notes
  1. Wei Han and Bing Liu contributed equally to this work.

Authors and Affiliations

  1. Department of Nephrology, Shandong Provincial Hospital Affiliated to Shandong First Medical University, Jinan, 250021, Shandong, China

    Wei Han, Bing Liu, Jie Li, Lu Gong, Meixu Jiang, Yuying Jing, Jiazhen Shang, Shouyu Chai, Zhitao Zeng, Xincong Lv, Xiaotian Han, Zhimei Lv & Rong Wang

Authors
  1. Wei Han
    View author publications

    Search author on:PubMed Google Scholar

  2. Bing Liu
    View author publications

    Search author on:PubMed Google Scholar

  3. Jie Li
    View author publications

    Search author on:PubMed Google Scholar

  4. Lu Gong
    View author publications

    Search author on:PubMed Google Scholar

  5. Meixu Jiang
    View author publications

    Search author on:PubMed Google Scholar

  6. Yuying Jing
    View author publications

    Search author on:PubMed Google Scholar

  7. Jiazhen Shang
    View author publications

    Search author on:PubMed Google Scholar

  8. Shouyu Chai
    View author publications

    Search author on:PubMed Google Scholar

  9. Zhitao Zeng
    View author publications

    Search author on:PubMed Google Scholar

  10. Xincong Lv
    View author publications

    Search author on:PubMed Google Scholar

  11. Xiaotian Han
    View author publications

    Search author on:PubMed Google Scholar

  12. Zhimei Lv
    View author publications

    Search author on:PubMed Google Scholar

  13. Rong Wang
    View author publications

    Search author on:PubMed Google Scholar

Corresponding authors

Correspondence to Zhimei Lv or Rong Wang.

Ethics declarations

Competing interests

The authors declare no competing interests.

Additional information

Publisher’s note

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

Electronic Supplementary Material

Below is the link to the electronic supplementary material.

Supplementary Material 1 (download DOCX )

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

Han, W., Liu, B., Li, J. et al. Development and validation of a machine learning-based risk prediction model for hyperkalemia in patients with chronic kidney disease. Sci Rep (2026). https://doi.org/10.1038/s41598-026-53273-1

Download citation

  • Received: 02 April 2026

  • Accepted: 11 May 2026

  • Published: 21 May 2026

  • DOI: https://doi.org/10.1038/s41598-026-53273-1

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

  • Chronic kidney disease
  • Hyperkalemia
  • Machine learning
  • Predictive model
  • Nomogram
Download PDF

Advertisement

Explore content

  • Research articles
  • News & Comment
  • Collections
  • Subjects
  • Follow us on Facebook
  • Follow us on X
  • 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 footer links

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