XGBoost-SHAP模型的开发与验证:用于预测老年多重用药心血管患者不良结局的回顾性队列研究
Development and Validation of an XGBoost-SHAP Model for Predicting Adverse Outcomes in Elderly Cardiovascular Patients With Polypharmacy: A Retrospective Cohort Study.
Development and Validation of an XGBoost-SHAP Model for Predicting Adverse Outcomes in Elderly Cardiovascular Patients With Polypharmacy: A Retrospective Cohort Study.
本研究旨在开发并验证一种可解释的机器学习模型,采用极端梯度提升(XGBoost)结合SHapley加法解释(SHAP)分析,用于预测合并多重用药的老年心血管疾病患者的不良结局。本回顾性队列研究纳入2021年1月至2024年12月期间苏州大学附属第一医院收治的1200例年龄≥65岁、患有心血管疾病且存在多重用药(≥5种药物)的患者。数据按60%、20%、20%的比例分为训练集、验证集和测试集。主要结局为药物不良事件(ADEs);次要结局包括30天再入院、90天再入院和1年死亡率。开发XGBoost模型,并与逻辑回归、随机森林和支持向量机算法进行比较。利用SHAP值增强模型可解释性,以识别关键预测特征及其贡献。队列平均年龄为76.34±8.12岁,随访期间18.92%的患者发生ADEs。XGBoost模型对ADE预测表现出较强的区分能力(AUC 0.857,95% CI:0.790-0.910),优于逻辑回归(AUC 0.795,p < 0.001)。该模型对次要结局也表现良好:30天再入院(AUC 0.843,95% CI:0.779-0.899)、90天再入院(AUC 0.848,95% CI:0.784-0.895)和1年死亡率(AUC 0.873,95% CI:0.807-0.929),均显著优于逻辑回归(均p < 0.001)。在最佳阈值下,该模型在各结局中的敏感度为62.71%至90.24%,特异度为67.84%至87.85%。SHAP分析确定年龄(重要性:0.196)、估算肾小球滤过率(0.181)、用药数量(0.159)、血清白蛋白(0.147)和Charlson合并症指数(0.138)为最具影响力的预测因素。该模型保持了良好的校准度(Brier评分:0.156-0.164),并在各患者亚组中表现一致。SHAP阈值分析确定eGFR < 45 mL/min/1.73 m和血清白蛋白 < 3.5 g/dL为与药物不良事件风险显著升高相关的关键风险界限。XGBoost-SHAP模型可为合并多重用药的老年心血管疾病患者提供准确、可解释的不良结局预测。该方法可能有助于个性化风险评估和针对性干预,以改善这一脆弱人群的用药安全。
This study aims to develop and validate an interpretable machine learning model using Extreme Gradient Boosting (XGBoost) with SHapley Additive exPlanations (SHAP) analysis to predict adverse outcomes in elderly cardiovascular patients with polypharmacy. This retrospective cohort study included 1200 patients aged ≥ 65 years with cardiovascular disease and polypharmacy (≥ 5 medications) from The First Affiliated Hospital of Soochow University between January 2021 and December 2024. Data were split into training (60%), validation (20%), and test (20%) sets. The primary outcome was adverse drug events (ADEs); secondary outcomes included 30-day readmission, 90-day readmission, and 1-year mortality. XGBoost models were developed and compared with logistic regression, random forest, and support vector machine algorithms. Model interpretability was enhanced using SHAP values to identify key predictive features and their contributions. The cohort had a mean age of 76.34 ± 8.12 years, with 18.92% experiencing ADEs during follow-up. The XGBoost model demonstrated strong discriminative ability for ADE prediction (AUC 0.857, 95% CI: 0.790-0.910) compared to logistic regression (AUC 0.795, p < 0.001). The model also performed well for secondary outcomes: 30-day readmission (AUC 0.843, 95% CI: 0.779-0.899), 90-day readmission (AUC 0.848, 95% CI: 0.784-0.895), and 1-year mortality (AUC 0.873, 95% CI: 0.807-0.929), all significantly superior to logistic regression (all p < 0.001). At optimal thresholds, the model achieved sensitivity ranging from 62.71% to 90.24% and specificity from 67.84% to 87.85% across outcomes. SHAP analysis identified age (importance: 0.196), estimated glomerular filtration rate (0.181), medication count (0.159), serum albumin (0.147), and Charlson Comorbidity Index (0.138) as the most influential predictors. The model maintained good calibration (Brier scores: 0.156-0.164) and consistent performance across patient subgroups. SHAP threshold analysis identified eGFR < 45 mL/min/1.73 m and serum albumin < 3.5 g/dL as key risk boundaries associated with markedly elevated adverse drug event risk. The XGBoost-SHAP model provides accurate, interpretable prediction of adverse outcomes in elderly cardiovascular patients with polypharmacy. This approach may facilitate personalized risk assessment and targeted interventions to improve medication safety in this vulnerable population.
Kun Wang, Dandan Cao. Development and Validation of an XGBoost-SHAP Model for Predicting Adverse Outcomes in Elderly Cardiovascular Patients With Polypharmacy: A Retrospective Cohort Study.. Pharmacology research & perspectives. 2026; doi:10.1002/prp2.70293.
Kun Wang, Dandan Cao (2026). Development and Validation of an XGBoost-SHAP Model for Predicting Adverse Outcomes in Elderly Cardiovascular Patients With Polypharmacy: A Retrospective Cohort Study.. Pharmacology research & perspectives. https://doi.org/10.1002/prp2.70293
Kun Wang, Dandan Cao. Development and Validation of an XGBoost-SHAP Model for Predicting Adverse Outcomes in Elderly Cardiovascular Patients With Polypharmacy: A Retrospective Cohort Study.[J]. Pharmacology research & perspectives, 2026 doi:10.1002/prp2.70293.
翻译全文 · AI 文献问答 · PDF 原文下载 · 引用导出