TY - JOUR
T1 - Development and validation of machine learning models based on stacked generalization to predict psychosocial maladjustment in patients with acute myocardial infarction
AU - Wang, Yan Feng
AU - Li, Xiao Han
AU - Zhou, Xin Yi
AU - Ke, Qi Qi
AU - Ma, Hua Long
AU - Li, Zi Han
AU - Zhuo, Yi Shang
AU - Liu, Jia Yu
AU - Liu, Xian Liang
AU - Yang, Qiao Hong
N1 - Publisher Copyright:
© The Author(s) 2025.
PY - 2025/12
Y1 - 2025/12
N2 - 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.
AB - 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.
KW - Young and middle-aged people;Acute myocardial infarction; Psychosocial maladjustment; Psychosocial maladjustment; Machine learning; Stacked generalization
UR - http://www.scopus.com/inward/record.url?scp=85218499184&partnerID=8YFLogxK
U2 - 10.1186/s12888-025-06549-1
DO - 10.1186/s12888-025-06549-1
M3 - Article
C2 - 39972470
AN - SCOPUS:85218499184
VL - 25
JO - BMC Psychiatry
JF - BMC Psychiatry
IS - 1
M1 - 152
ER -