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

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.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-05-21
DOI
https://doi.org/10.1038/s41598-026-53273-1
Primary Topic
Potassium and Related Disorders
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

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

Shouyu Chai, Xiaotian Han, Zhimei Lv, Zhitao Zeng et al.
Scientific Reports
Potassium and Related Disorders
article

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

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

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.

Scientific Reports
Shandong Provincial Hospital (CN), Shandong First Medical University (CN)
National Natural Science Foundation of China, Natural Science Foundation of Shandong Province
Peace, Justice and strong institutions
Openalex Percentile: Top 6%
Potassium and Related Disorders
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.