可解释的机器学习模型对脑卒中患者神经功能康复结局的预测效能OA
Prediction of neurological function rehabilitation outcome for stroke patients using interpretable machine learn-ing models
目的 开发一种基于机器学习(ML)的脑卒中患者神经功能康复结局的预测模型. 方法 选取2022年10月至2024年10月抚州市第一人民医院收治的420例脑卒中患者作为训练集,根据出院后3个月改良Rankin量表(mRS)评分分为预后良好组(n=289)和预后不良组(n=131).另选取2024年11月至2025年4月抚州市第一人民医院收治的180例脑卒中患者作为验证集.通过单因素分析、最小绝对收缩和选择算子回归和多因素Logistic回归,确定患者神经功能康复预后的独立影响因素.以筛选出的独立影响因素为特征变量,训练逻辑回归、线性判别分析、朴素的贝叶斯、支持向量机、随机森林和极限梯度提升(XGBoost)6种ML模型.采用受试者工作特征曲线下面积(AUC)、混淆矩阵指标(准确率、精确率、召回率、F1分数)、校准曲线和决策曲线分析评估模型的预测效能、校准度和临床净获益,并在验证集中验证.采用沙普利可加解释(SHAP)框架对最佳性能模型进行可解释性分析,采用条形图可视化模型的特征重要性. 结果 年龄、美国国立卫生研究院卒中量表(NIHSS)评分、侧支循环分级、空腹血糖(FPG)、淋巴细胞百分比(LYMPH%)和同型半胱氨酸(Hcy)是患者神经功能康复预后不良的独立影响因素(P<0.05).XGBoost模型在训练集和验证集的AUC分别为0.963(95%CI 0.947~0.979)和0.825(95%CI 0.764~0.885),准确率分别为88.81%和77.22%,精确率分别为92.86%和68.42%,召回率分别为69.47%和47.27%,F1分数分别为79.48%和55.91%,校准度和临床净获益均表现最佳.各特征对XGBoost模型预测的重要性从高到低依次为NIHSS评分、年龄、侧支循环分级、FPG、Hcy和LYMPH%. 结论 基于可解释的XGBoost ML模型在预测脑卒中患者神经功能康复结局方面展现出优越的预测效能和良好的临床适用性.
Objective To develop a machine learning(ML)-based prediction model for neurological rehabilitation outcomes of stroke patients. Methods A total of 420 stroke patients admitted to the Fuzhou First People's Hospital from October,2022 to October,2024 were enrolled as the training set.According to the modified Rankin Scale(mRS)scores three months after discharge,the patients were divided into prognosis group(n=289)and poor prognosis group(n=131).An addi-tional 180 stroke patients hospitalized in the same hospital from November,2024 to April,2025 were selected as the validation set.Univariate analysis,least absolute shrinkage and selection operator regression,and multivariate logistic regression were performed to identify independent influencing factors for the prognosis of neurological function recovery.Using the screened independent influencing factors as feature variables,six ML models were established,including logistic regression,linear discriminant analysis,naive Bayes,support vector machine,ran-dom forest and extreme gradient boosting(XGBoost).The area under the receiver operating characteristic curve(AUC),confusion matrix indicators(accuracy,precision,recall and F1-score),calibration curve and decision curve analysis were adopted to evaluate the predictive efficacy,calibration degree and clinical net benefit of each model,with external validation conducted in the validation set.The SHapley Additive exPlanations framework was used to interpret the optimal model,and bar charts were applied to visualize the feature importance of the best model. Results Age,National Institutes of Health Stroke Scale(NIHSS)score,collateral circulation grading,fasting plasma glu-cose(FPG),lymphocyte percentage(LYMPH%),and homocysteine(Hcy)were independent risk factors for poor neurological rehabilitation prognosis(P<0.05).For the XGBoost model,the AUC of the training and validation sets were 0.963(95%CI 0.947 to 0.979)and 0.825(95%CI 0.764 to 0.885),respectively,while the accuracy was 88.81%and 77.22%,the precision was 92.86%and 68.42%,the recall was 69.47%and 47.27%,and the F1-score was 79.48%and 55.91%,optimal in both calibration and clinical net benefit.The feature importance ranking for the XGBoost model from high to low was NIHSS score,age,collateral circulation grading,FPG,Hcy and LYMPH%. Conclusion The interpretable XGBoost ML model exhibits excellent predictive efficacy and favorable clinical applica-bility in predicting neurological rehabilitation outcomes for stroke patients.
桂舜;张见飞;黄慧芝
江西省抚州市第一人民医院,江西 抚州市 344100江西省抚州市第一人民医院,江西 抚州市 344100江西省抚州市第一人民医院,江西 抚州市 344100
医药卫生
脑卒中神经功能康复结局机器学习预测模型
strokeneurological functionrehabilitationoutcomemachine learningpredictive model
《中国康复理论与实践》 2026 (4)
463-472,10
江西省卫生健康委科技计划项目(No.202141018) Supported by Jiangxi Provincial Health Commission Science and Technology Plan(No.202141018)
评论