华中科技大学学报(医学版) ›› 2026, Vol. 55 ›› Issue (5): 698-708.doi: 10.3870/j.issn.1672-0741.26.03.008

• 临床研究 • 上一篇    下一篇

基于机器学习的急性缺血性卒中后早期认知障碍预测模型的构建与验证*

郑兴永沛1, 孙勇2, 顾欣如1, 王娜1, 王鑫宇3, 董子一1, 周芯羽1,3,4△   

  1. 徐州医科大学附属连云港医院 1神经内科 2神经外科,连云港 222000;
    3南京医科大学连云港临床医学院,连云港 222000;
    4南京医科大学康达学院第一附属医院神经内科,连云港 222000
  • 收稿日期:2026-02-27 发布日期:2026-10-30
  • 通讯作者: △E-mail:zhouxy0712@126.com
  • 作者简介:郑兴永沛,女,2000年生,硕士研究生,E-mail: zxyongpei1203@163.com
  • 基金资助:
    *连云港市重点研发计划(社会发展)(No. SF2426); 江苏海洋大学海洋医药产业学院科研基金面上项目(No. JOUMIRF005); 中大医院-连云港市第一人民医院联合基金面上项目(No. zdlyg13)

Development and Validation of a Machine Learning-Based Model for Early Prediction of Cognitive Impairment Following Acute Ischemic Stroke

Zheng Xingyongpei1, Sun Yong2, Gu Xinru1 et al   

  1. 1Department of Neurology, 2Department of Neurosurgery,The Affiliated Lianyungang Hospital of Xuzhou Medical University, Lianyungang 222000, China
  • Received:2026-02-27 Published:2026-10-30
  • Contact: △E-mail:zhouxy0712@126.com

摘要: 目的 构建并验证卒中后认知障碍(post-stroke cognitive impairment, PSCI)早期预测模型,并识别关键预测因素。方法 回顾性纳入2020年1月至2023年8月在徐州医科大学附属连云港医院神经内科就诊的1070例急性缺血性卒中患者资料,按7∶3比例随机划分为训练集(n=749)和验证集(n=321)。采用最小绝对收缩和选择算子(Least Absolute Shrinkage And Selection Operator,LASSO)回归进行特征筛选,构建7种机器学习模型:逻辑回归(Logistic Regression, LR)、决策树(Decision Tree, DT)、随机森林(Random Forest, RF)、支持向量机(Support Vector Machine, SVM)、极端梯度提升(eXtreme Gradient Boosting, XGBoost)、轻量级梯度提升机(Light Gradient Boosting Machine, LightGBM)及K最近邻(K-Nearest Neighbors, KNN)。通过受试者工作特征(receiver operating characteristic, ROC)曲线下面积(area under the curve, AUC)、校准曲线、临床决策曲线分析(decision curve analysis, DCA)等多维度指标评估模型性能。采用SHAP(SHapley Additive exPlanations)方法对最优模型进行可解释性分析。结果 LASSO回归筛选出11个核心预测变量:心房颤动、言语清晰度问题、抑郁、TOAST分型、内侧颞叶萎缩、脑白质高信号、多发病灶、教育年限、年龄、美国国立卫生研究院卒中量表(National Institutes of Health Stroke Scale, NIHSS)评分和梗死体积。XGBoost模型表现出最优且稳定的预测性能,训练集AUC为0.863,验证集AUC为0.854,两者差异仅为0.009。校准曲线显示XGBoost模型Brier评分在训练集和验证集分别为0.141和0.155。DCA结果表明XGBoost模型在20%~70%阈值概率范围内具有较高的临床净获益。SHAP分析显示梗死体积、抑郁、多发病灶、年龄和NIHSS评分是PSCI最重要的预测因素,教育年限则表现出保护作用。结论 基于XGBoost算法构建的PSCI预测模型具有良好的区分度、校准性能和临床实用性,可为PSCI的早期风险分层和临床决策提供数据驱动的支持工具。

关键词: 卒中后认知障碍, 机器学习, 极端梯度提升, 预测模型, 可解释性

Abstract: Objective To develop and validate a machine learning prediction model for post-stroke cognitive impairment (PSCI) and to identify key predictive factors. Methods We retrospectively enrolled 1070 patients with acute ischemic stroke admitted to the Department of Neurology at the Affiliated Lianyungang Hospital of Xuzhou Medical University from January 2020 to August 2023, and randomly divided them into a training set (n=749) and a validation set (n=321) in a 7∶3 ratio. LASSO regression was used for feature selection. Based on selected variables, seven machine learning models were built: Logistic Regression (LR), Decision Tree (DT), Random Forest (RF), Support Vector Machine (SVM), eXtreme Gradient Boosting (XGBoost), Light Gradient Boosting Machine (LightGBM), and K-Nearest Neighbors (KNN). Model performance was evaluated using the area under the receiver operating characteristic curve (AUC), calibration curves, and decision curve analysis (DCA). The SHapley Additive exPlanations (SHAP) method was applied for interpretability of the optimal model. Results LASSO regression identified 11 core predictive variables: atrial fibrillation, speech clarity impairment, depression, TOAST classification, medial temporal lobe atrophy, white matter hyperintensities, multiple lesions, years of education, age, the National Institutes of Health Stroke Scale (NIHSS) score, and infarct volume. The XGBoost model demonstrated optimal and stable predictive performance, with an AUC of 0.863 in the training set and 0.854 in the validation set, differing by only 0.009. Calibration curves yielded Brier scores of 0.141 and 0.155 for the training and validation sets, respectively. DCA showed that the XGBoost model provided a higher clinical net benefit within the threshold probability range of 20%-70%. SHAP analysis revealed that infarct volume, depression, multiple lesions, age, and NIHSS score were the top predictors of PSCI, while years of education had a protective effect. Conclusion The XGBoost-based PSCI prediction model demonstrates good discrimination, calibration, and clinical utility, providing a data-driven decision-support tool for early risk stratification and clinical management of PSCI.

Key words: post-stroke cognitive impairment, machine learning, eXtreme Gradient Boosting, prediction model, interpretability

中图分类号: