Development and validation of machine learning models based on stacked generalization to predict psychosocial maladjustment in patients with acute myocardial infarction.

IF 3.4 2区 医学 Q2 PSYCHIATRY BMC Psychiatry Pub Date : 2025-02-19 DOI:10.1186/s12888-025-06549-1
Yan-Feng Wang, Xiao-Han Li, Xin-Yi Zhou, Qi-Qi Ke, Hua-Long Ma, Zi-Han Li, Yi-Shang Zhuo, Jia-Yu Liu, Xian-Liang Liu, Qiao-Hong Yang
{"title":"Development and validation of machine learning models based on stacked generalization to predict psychosocial maladjustment in patients with acute myocardial infarction.","authors":"Yan-Feng Wang, Xiao-Han Li, Xin-Yi Zhou, Qi-Qi Ke, Hua-Long Ma, Zi-Han Li, Yi-Shang Zhuo, Jia-Yu Liu, Xian-Liang Liu, Qiao-Hong Yang","doi":"10.1186/s12888-025-06549-1","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Psychosocial maladjustment threatens the recovery of patients with acute myocardial infarction (AMI), and early identification of patients with psychosocial maladjustment may facilitate provision of reference to targeted interventions. The aims of this study were to: (1) identify key factors influencing patient psychosocial maladjustment, and (2) develop a machine learning predictive model based on Stacked Generalization.</p><p><strong>Methods: </strong>Young and middle-aged patients with AMI (n = 734) were recruited from two tertiary hospitals (Center I and Center II) in Guangdong Province. Sociodemographic Characteristics, Perceived Stress Scale, Fear of Progression Questionnaire-Short Form, and Social Support Rating Scale data were collected before discharge, and psychosocial adjustment assessed one month after discharge using the Psychosocial Adjustment to Illness Scale. Six machine learning methods were trained on Center I to analyze the collected data and build a predictive model. Stacked Generalization was adopted to ensemble the models and build a final predictive model. Key factors and their contributions to the model were determined using SHapley Additive exPlanations (SHAP).</p><p><strong>Results: </strong>One month after discharge, psychosocial maladjustment incidence rates in Centers I and II were 59.2% and 58.3%, respectively. Eight key predictors of psychosocial adjustment were selected: employment status, exercise habits, diabetes, number of vascular lesions, chest tightness or chest pain, perceived stress, fear of disease progression, and social support. In the internal validation, Support Vector Classification (SVC) performed better in terms of Brier score, sensitivity, and negative predictive value; Decision Tree (DT) performed better in calibration slope, specificity, and precision; while Random Forest (RF) performed better in terms of area under the curve (AUC), Youden, and accuracy values. An LDS-R model stacked by SVC, logistic regression, DT, and RF, achieved the best comprehensive performance and generalization error, with accuracy = 0.834, AUC = 0.909, precision = 0.855, and calibration slope = 1.066 in external validation, indicating that the model is robust and the most suitable for promotion. SHAP provided insights into the model's predictions.</p><p><strong>Conclusion: </strong>The LDS-R model is a practical tool for identifying patients at high risk for psychosocial maladjustment before discharge. Our identification of significant factors influencing psychosocial maladjustment may inform future development of interventions.</p>","PeriodicalId":9029,"journal":{"name":"BMC Psychiatry","volume":"25 1","pages":"152"},"PeriodicalIF":3.4000,"publicationDate":"2025-02-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11841291/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"BMC Psychiatry","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1186/s12888-025-06549-1","RegionNum":2,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"PSYCHIATRY","Score":null,"Total":0}
引用次数: 0

Abstract

Background: Psychosocial maladjustment threatens the recovery of patients with acute myocardial infarction (AMI), and early identification of patients with psychosocial maladjustment may facilitate provision of reference to targeted interventions. The aims of this study were to: (1) identify key factors influencing patient psychosocial maladjustment, and (2) develop a machine learning predictive model based on Stacked Generalization.

Methods: Young and middle-aged patients with AMI (n = 734) were recruited from two tertiary hospitals (Center I and Center II) in Guangdong Province. Sociodemographic Characteristics, Perceived Stress Scale, Fear of Progression Questionnaire-Short Form, and Social Support Rating Scale data were collected before discharge, and psychosocial adjustment assessed one month after discharge using the Psychosocial Adjustment to Illness Scale. Six machine learning methods were trained on Center I to analyze the collected data and build a predictive model. Stacked Generalization was adopted to ensemble the models and build a final predictive model. Key factors and their contributions to the model were determined using SHapley Additive exPlanations (SHAP).

Results: One month after discharge, psychosocial maladjustment incidence rates in Centers I and II were 59.2% and 58.3%, respectively. Eight key predictors of psychosocial adjustment were selected: employment status, exercise habits, diabetes, number of vascular lesions, chest tightness or chest pain, perceived stress, fear of disease progression, and social support. In the internal validation, Support Vector Classification (SVC) performed better in terms of Brier score, sensitivity, and negative predictive value; Decision Tree (DT) performed better in calibration slope, specificity, and precision; while Random Forest (RF) performed better in terms of area under the curve (AUC), Youden, and accuracy values. An LDS-R model stacked by SVC, logistic regression, DT, and RF, achieved the best comprehensive performance and generalization error, with accuracy = 0.834, AUC = 0.909, precision = 0.855, and calibration slope = 1.066 in external validation, indicating that the model is robust and the most suitable for promotion. SHAP provided insights into the model's predictions.

Conclusion: The LDS-R model is a practical tool for identifying patients at high risk for psychosocial maladjustment before discharge. Our identification of significant factors influencing psychosocial maladjustment may inform future development of interventions.

Abstract Image

Abstract Image

Abstract Image

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于堆叠泛化预测急性心肌梗死患者心理社会适应不良的机器学习模型的开发和验证。
背景:心理社会适应不良威胁着急性心肌梗死(AMI)患者的康复,早期识别心理社会适应不良患者可能有助于提供有针对性的干预参考。本研究的目的是:(1)确定影响患者心理社会适应不良的关键因素;(2)建立基于堆叠泛化的机器学习预测模型。方法:选取广东省两所三级医院(中心一、中心二)中青年AMI患者734例。出院前收集患者的社会人口学特征、感知压力量表、恐惧进展量表和社会支持评定量表的数据,并在出院后一个月使用疾病心理社会适应量表评估患者的社会心理适应情况。在Center I上训练了六种机器学习方法来分析收集到的数据并建立预测模型。采用堆叠泛化方法对模型进行集成,建立最终的预测模型。使用SHapley加性解释(SHAP)确定了关键因素及其对模型的贡献。结果:出院1个月后,1、2中心的心理社会适应不良发生率分别为59.2%和58.3%。选择了八个关键的心理社会适应预测因素:就业状况、运动习惯、糖尿病、血管病变数量、胸闷或胸痛、感知压力、对疾病进展的恐惧和社会支持。在内部验证中,支持向量分类(SVC)在Brier评分、敏感性和阴性预测值方面表现较好;决策树(DT)在校准斜率、特异性和精度方面表现较好;随机森林(Random Forest, RF)在曲线下面积(AUC)、约登(Youden)值和精度值方面表现较好。由SVC、logistic回归、DT和RF叠加而成的LDS-R模型,在外部验证中获得了最佳的综合性能和泛化误差,精度为0.834,AUC为0.909,精度为0.855,校准斜率为1.066,表明该模型具有鲁棒性,最适合推广。SHAP为模型的预测提供了洞见。结论:LDS-R模型是鉴别出院前社会心理适应不良高危患者的实用工具。我们对影响社会心理适应不良的重要因素的识别可能为未来干预措施的发展提供信息。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
BMC Psychiatry
BMC Psychiatry 医学-精神病学
CiteScore
5.90
自引率
4.50%
发文量
716
审稿时长
3-6 weeks
期刊介绍: BMC Psychiatry is an open access, peer-reviewed journal that considers articles on all aspects of the prevention, diagnosis and management of psychiatric disorders, as well as related molecular genetics, pathophysiology, and epidemiology.
期刊最新文献
Prescribing medications for attention-deficit/hyperactivity disorder in children: a retrospective analysis of a Japanese health insurance claims database. The effect of physical activity on health outcomes in individuals with anorexia nervosa: a systematic review and meta-analysis study. The effects of exercise on obsessive-compulsive disorder and bipolar disorder: a systematic review and meta-analysis. Elevated serum calprotectin levels in major depressive disorder: no evidence of association with S100A9 rs3014866 polymorphism. Factors associated with rearrest by police among people suspected of an offence and referred for psychiatric assessment: a comparison within a post-booking diversion program in Amsterdam.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1