Development and validation of an interpretable machine learning model and online web-based calculator based on social-ecosystem theory for early prediction of postpartum depression: a longitudinal study
Shusen Lin, Peng Wang, Chongyu Yue, Guofang Kuang, Xuefei Han, Yanxia Zhang, Xiaojing Wang, Min Wang,
Qingdao University
Key points
From the paper's conclusion- We strictly adhered to the Transparent Reporting of a Multivariable Prediction Model for Individual Prognosis or Diagnosis (TRIPOD) checklist, used 10 machine learning (ML) algorithms to construct and validate the prediction model, and employed the Shapley additive explanation (SHAP) algorithm to explain the model.
Abstract
Background: Postpartum depression (PPD) has emerged as a global public health issue that can cause significant harm to mothers and their families. Currently, there is an urgent need for a robust early risk prediction model to enable accurate predictions of postpartum depression in hospitals. Methods: This was a longitudinal study. Using social ecosystem theory, we collected multi-dimensional and multi-angle risk factors for early postpartum depression from delivery to discharge, and conducted 42-day postpartum follow-ups using the Edinburgh Postnatal Depression Scale (EPDS). We strictly adhered to the Transparent Reporting of a Multivariable Prediction Model for Individual Prognosis or Diagnosis (TRIPOD) checklist, used 10 machine learning (ML) algorithms to construct and validate the prediction model, and employed the Shapley additive explanation (SHAP) algorithm to explain the model. Risk stratification was performed through K-Means clustering analysis, ultimately resulting in an clinical screening tool for early PPD risk prediction. Results: The results showed that by comparing the performance of prediction models constructed by the 10 ML algorithms, the model constructed using the random forest algorithm was selected as the best, with an area under the receiver operating characteristic curve (AUC) of 0.91 (95% CI: 0.85-0.96) and 0.77 (95% CI: 0.70-0.85) in internal and external validation. Low risk probability (0, 0.26], medium risk probability (0.26, 0.63), and high risk probability (0.63, 1) were obtained through K-Means clustering analysis, and the SHAP value of the model was interpreted. Finally, we developed an online risk prediction calculator. Conclusion: This study developed an interpretable risk prediction model for early PPD, which may help healthcare providers to identify and implement intervention measures early, preventing the occurrence of PPD.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Development and external validation of an explainable XGBoost model with a web-based calculator for risk prediction of postpartum depressive symptoms.Frontiers in psychiatry · 2026
- Building a Machine Learning Prediction Model for Postpartum Depression Based on Ensemble Learning Strategies.British journal of hospital medicine (London, England : 2005) · 2026
- Predicting late-pregnancy depression using machine learning: A longitudinal study with external validation.International journal of medical informatics · 2026
- Limits of Sociodemographic Data for Predicting Postpartum Readmission: Conventional, Ensemble and Automated Machine Learning Compared at Equal Workload, With a Decision-Economic AnalysismedRxiv · 2026
- An uncertainty-aware ensemble of support vector machine and Gaussian process models for maternal mental health risk prediction using psychosocial and clinical risk factorsDiscover Artificial Intelligence · 2026
- Beyond Linear Risk: A Machine Learning Approach to Understanding Perinatal Depression in ContextMultivariate Behavioral Research · 2026