Machine Learning Based Postpartum Depression Risk Prediction: A Case Study on a Bangladeshi Dataset with Transferability Discussions for Nepal
DOI:
https://doi.org/10.67556/hq2s5x30Keywords:
Postpartum depression, machine learning, ensemble learning, digital health, maternal mental health, measurement circularity, model interpretabilityAbstract
Postpartum depression (PPD) is a common perinatal mood disorder that often goes undetected, affecting roughly 10-15 percent of mothers, with higher rates across the Middle East and Asia and about half of cases never reported. Awareness remains low in countries such as Nepal, making early detection difficult. This study used the dataset “Data for Postpartum Depression Prediction in Bangladesh” (Raisa & Kaiser, 2025) to test whether supervised machine learning can sort mothers into three EPDS-based risk categories (Low, Medium, High), and how much of that signal depends on the dataset's own depression-screening features rather than on sociodemographic and psychosocial variables. Four classifiers (Logistic Regression, Random Forest, XGBoost, and a Soft Voting Ensemble) were compared using a leakage-free pipeline, repeated stratified 5-fold cross-validation, paired McNemar and DeLong significance tests, bootstrap confidence intervals, and permutation/SHAP-based interpretability analysis. Under cross-validation, the Voting Ensemble and XGBoost were statistically indistinguishable (mean accuracy 76.5% versus 77.4%, macro-average ROC-AUC 0.91-0.92 for both), both modestly ahead of Logistic Regression and Random Forest, with no significant pairwise difference except a single class-level AUC comparison. Feature-importance and SHAP analysis showed that the antenatal PHQ-9 score dominates every model's predictions; removing all PHQ-2/PHQ-9 features cost every model 17 to 19 accuracy points (Random Forest fell from 76% to 59%), pointing to substantial redundancy between the EPDS-based target and the PHQ-based predictors, both collected in the same interview. Mutual-information feature selection showed that 10-30 of the ~87 encoded features recover most of the full model's performance, and SMOTE gave a small, consistent improvement on the minority Medium class. All models separated High- and Low-risk classes well (AUC > 0.93) but struggled with the Medium class (AUC 0.81-0.85), whose EPDS band overlaps the Low/High boundary. Gradient boosting and a soft-voting ensemble are competitive, well-calibrated screening aids under default hyperparameters, but a meaningful share of their accuracy reflects redundancy between two depression screens rather than novel signal from contextual risk factors, and transfer of these results to Nepal remains a hypothesis pending local validation.
##plugins.themes.default.displayStats.downloads##
References
Cox, J. L., Holden, J. M., & Sagovsky, R. (1987). Detection of postnatal depression: Development of the 10-item Edinburgh Postnatal Depression Scale. The British Journal of Psychiatry, 150(6), pp. 782–786. https://doi.org/10.1192/bjp.150.6.782
Gopalakrishnan, A., Venkataraman, R., Gururajan, R., Zhou, X., & Zhu, G. (2022). Predicting women with postpartum depression symptoms using machine learning techniques. Mathematics, 10(23), p. 4570. https://doi.org/10.3390/math10234570
Guintivano, J., Manuck, T., & Meltzer-Brody, S. (2018). Predictors of postpartum depression: A comprehensive review of the last decade of evidence. Clinical Obstetrics and Gynecology, 61(3), pp. 591–603. https://doi.org/10.1097/GRF.0000000000000368
Habehh, H., & Gohel, S. (2021). Machine learning in healthcare. Current Genomics, 22(4), pp. 291–300. https://doi.org/10.2174/1389202922666210705124359
Huang, X., Zhang, L., Zhang, C., Li, J., & Li, C. (2025). Postpartum depression risk prediction using explainable machine learning algorithms. Frontiers in Medicine, 12, p. 1565374. https://doi.org/10.3389/fmed.2025.1565374
Hwang, W. Y., Choi, S. Y., & An, H. J. (2022). Concept analysis of transition to motherhood. Korean Journal of Women Health Nursing, 28(1), pp. 8–17. https://pmc.ncbi.nlm.nih.gov/articles/PMC9334210/
Jordan, M. I., & Mitchell, T. M. (2015). Machine learning: Trends, perspectives, and prospects. Science, 349(6245), pp. 255–260. https://doi.org/10.1126/science.aaa8415
Natarajan, S., Prabhakar, A., Ramanan, N., Bagilone, A., Siek, K., & Connelly, K. (2017). Boosting for postpartum depression prediction. In Proceedings of the 2017 IEEE/ACM International Conference on Connected Health: Applications, Systems and Engineering Technologies (CHASE) (pp. 232–240). IEEE. https://doi.org/10.1109/CHASE.2017.82
Neupane, M., Bartaula, M., Pradhan, S., Adhikari, H. P., Shrestha, L., Sharma, P., & Devkota, N. (2024). Postpartum depression among mothers in a maternity hospital, Kathmandu, Nepal: A mixed method approach. JNMA: Journal of the Nepal Medical Association, 62(277), pp. 575–581. https://doi.org/10.31729/jnma.8746
O'Hara, M. W., & McCabe, J. E. (2013). Postpartum depression: Current status and future directions. Annual Review of Clinical Psychology, 9, pp. 379–407. https://doi.org/10.1146/annurev-clinpsy-050212-185612
Qi, W., Wang, Y., Wang, Y., et al. (2025). Prediction of postpartum depression in women: Development and validation of multiple machine learning models. Journal of Translational Medicine, 23, p. 291. https://doi.org/10.1186/s12967-025-06289-6
Raisa, J. F., & Kaiser, M. S. (2025). Data for postpartum depression prediction in Bangladesh. Mendeley Data. https://data.mendeley.com/datasets/4nznnrk8cg/2
Russell, S., & Norvig, P. (2021). Artificial Intelligence: A Modern Approach (4th ed.). Pearson.
Saqib, K., Khan, A. F., & Butt, Z. A. (2021). Machine learning methods for predicting postpartum depression: Scoping review. JMIR Mental Health, 8(11), p. e29838. https://doi.org/10.2196/29838
Shorey, S., Chee, C. Y. I., Ng, E. D., Chan, Y. H., Tam, W. W. S., & Chong, Y. S. (2018). Prevalence and incidence of postpartum depression among healthy mothers: A systematic review and meta-analysis. Journal of Psychiatric Research, 104, pp. 235–248. https://doi.org/10.1016/j.jpsychires.2018.08.001








