Machine learning-based risk prediction model for cognitive dysfunction in elderly individuals

L Lei Zhang X Xuan Xiang W Wei Chen H Haijun Miao T Ting Zou R Ruikai Wu X Xiaohui Zhou (State Key Laboratory and Institute of Elemento-Organic Chemistry, College of Chemistry, Frontiers Science Center for New Organic Matter, Nankai University, 94 Weijin Road, Tianjin 300071, China)

Abstract

Background With the advancement of globalization, the prevalence of cognitive dysfunction in the elderly population has risen significantly. Early intervention may dramatically alleviate the disease burden and reduce economic costs associated with cognitive impairment. This study aims to construct a risk prediction model for cognitive dysfunction based on machine learning (ML) algorithms, providing healthcare professionals and patients with a more accurate and effective tool for risk assessment. Methods This study included 1,325 elderly participants who completed cognitive assessments and comprehensive laboratory blood tests. Risk factors for cognitive dysfunction were identified through univariate analysis, multivariate logistic regression, LASSO regression, and the Boruta algorithm. Nine ML methods—Random Forest (RF), Light Gradient Boosting Machine (LightGBM), Extreme Gradient Boosting (XGBoost), Logistic Regression, K-Nearest Neighbor (KNN), Support Vector Machine (SVM), Artificial Neural Network (ANN), Decision Tree, and Elastic Net—were employed to construct the prediction models. The Shapley Additive Explanations (SHAP) algorithm was utilized to interpret the final model. Results The Random Forest model exhibited the highest predictive performance, with an AUC value exceeding those of other models. SHAP analysis identified age, race, education level, diabetes, and depression as the primary predictors of cognitive dysfunction in the elderly. The calibration curve indicated a strong alignment between the model’s predictions and actual outcomes, while the decision curve confirmed the model’s clinical applicability. Conclusion Age, race, education level, diabetes, and depression are significant influencing factors of cognitive dysfunction in the elderly. Among the ML algorithms evaluated, the Random Forest model exhibited the best predictive performance.

Article Details

Journal PLoS ONE
Volume / Issue Vol. 20, Issue 12
Published December 19, 2025
Pages e0336058
ISSN 1932-6203
Publisher Public Library of Science

Journal Info

PLoS ONE

Public Library of Science

ISSN: 1932-6203 Open Access Health Sciences

Authors (7)

L

Lei Zhang

X

Xuan Xiang

W

Wei Chen

H

Haijun Miao

T

Ting Zou

R

Ruikai Wu

X

Xiaohui Zhou

State Key Laboratory and Institute of Elemento-Organic Chemistry, College of Chemistry, Frontiers Science Center for New Organic Matter, Nankai University, 94 Weijin Road, Tianjin 300071, China