Yu Qili, Fu Mingming, Hou Zhiyong, Wang Zhiqian
Department of Geriatric Orthopedics, Third Hospital of Hebei Medical University, Shijiazhuang, Hebei, 050051, China.
Department of Cardiology, The First Hospital of Qinhuangdao, Qinhuangdao, Hebei, 066000, China.
BMC Geriatr. 2025 Apr 23;25(1):268. doi: 10.1186/s12877-025-05920-x.
Acute heart failure (AHF) has become a significant challenge in older people with hip fractures. Timely identification and assessment of preoperative AHF have become key factors in reducing surgical risks and improving outcomes.
This study aims to precisely predict the risk of AHF in older people with hip fractures before surgery through machine learning techniques and SHapley Additive exPlanations (SHAP), providing a scientific basis for clinicians to optimize patient management strategies and reduce adverse events.
A retrospective study design was employed, selecting patients admitted for hip surgery in the Department of Geriatric Orthopedics at the Third Hospital of Hebei Medical University from January 2018 to December 2022 as research subjects. Data were analyzed using logistic regression, random forests, support vector machines, AdaBoost, XGBoost, and GBM machine learning methods combined with SHAP analysis to interpret relevant factors and assess the risk of AHF.
A total of 2,631 patients were included in the final cohort, with an average age of 79.3 ± 7.7. 33.7% of patients experienced AHF before surgery. A predictive model for preoperative AHF in older people hip fracture patients was established through multivariate logistics regression: Logit(P) = -2.262-0.315 × Sex + 0.673 × Age + 0.556 × Coronary heart disease + 0.908 × Pulmonary infection + 0.839 × Ventricular arrhythmia + 2.058 × Acute myocardial infarction + 0.442 × Anemia + 0.496 × Hypokalemia + 0.588 × Hypoalbuminemia, with a model nomogram established and an AUC of 0.767 (0.723-0.799). Predictive models were also established using five machine learning methods, with GBM performing optimally, achieving an AUC of 0.757 (0.721-0.792). SHAP analysis revealed the importance of all variables, identifying acute myocardial infarction as the most critical predictor and further explaining the interactions between significant variables.
This study successfully developed a predictive model based on machine learning that accurately predicts the risk of AHF in older people with hip fractures before surgery. The application of SHAP enhanced the model's interpretability, providing a powerful tool for clinicians to identify high-risk patients and take appropriate preventive and therapeutic measures in preoperative management.
急性心力衰竭(AHF)已成为老年髋部骨折患者面临的一项重大挑战。术前及时识别和评估AHF已成为降低手术风险和改善预后的关键因素。
本研究旨在通过机器学习技术和SHapley值相加解释法(SHAP)精确预测老年髋部骨折患者术前发生AHF的风险,为临床医生优化患者管理策略和减少不良事件提供科学依据。
采用回顾性研究设计,选取2018年1月至2022年12月在河北医科大学第三医院老年骨科住院接受髋部手术的患者作为研究对象。使用逻辑回归、随机森林、支持向量机、AdaBoost、XGBoost和梯度提升机(GBM)等机器学习方法结合SHAP分析对数据进行分析,以解读相关因素并评估AHF风险。
最终队列共纳入2631例患者,平均年龄为79.3±7.7岁。33.7%的患者术前发生AHF。通过多因素逻辑回归建立了老年髋部骨折患者术前AHF的预测模型:Logit(P)= -2.262 - 0.315×性别 + 0.673×年龄 + 0.556×冠心病 + 0.908×肺部感染 + 0.839×室性心律失常 + 2.058×急性心肌梗死 + 0.442×贫血 + 0.496×低钾血症 + 0.588×低蛋白血症,并建立了模型列线图,曲线下面积(AUC)为0.767(0.723 - 0.799)。还使用五种机器学习方法建立了预测模型,其中GBM表现最佳,AUC为0.757(0.721 - 0.792)。SHAP分析揭示了所有变量的重要性,确定急性心肌梗死是最关键的预测因素,并进一步解释了显著变量之间的相互作用。
本研究成功开发了一种基于机器学习的预测模型,可准确预测老年髋部骨折患者术前发生AHF的风险。SHAP的应用增强了模型的可解释性,为临床医生在术前管理中识别高危患者并采取适当的预防和治疗措施提供了有力工具。