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":"","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.

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
求助全文
约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.
期刊最新文献
Bioinformatics-based identification of CTSS, DOK2, and ENTPD1 as potential blood biomarkers of schizophrenia. Development and validation of machine learning models based on stacked generalization to predict psychosocial maladjustment in patients with acute myocardial infarction. Global prevalence and determinant factors of pain, depression, and anxiety among cancer patients: an umbrella review of systematic reviews and meta-analyses. Integrative diagnosis of psychiatric conditions using ChatGPT and fMRI data. Interpersonal vs. supportive group psychotherapy for depression attributed to work stress: study protocol of the multicentre, cluster-randomised, controlled IPT-Work trial.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1