Development and validation of a machine learning algorithm for predicting the risk of postpartum depression among pregnant women

Yiye Zhang,Shuojia Wang,Alison Hermann,Rochelle Joly,Jyotishman Pathak
DOI: https://doi.org/10.1016/j.jad.2020.09.113
IF: 6.533
2021-01-01
Journal of Affective Disorders
Abstract:Objective: There is a scarcity in tools to predict postpartum depression (PPD). We propose a machine learning framework for PPD risk prediction using data extracted from electronic health records (EHRs). Methods: Two EHR datasets containing data on 15,197 women from 2015 to 2018 at a single site, and 53,972 women from 2004 to 2017 at multiple sites were used as development and validation sets, respectively, to construct the PPD risk prediction model. The primary outcome was a diagnosis of PPD within 1 year following childbirth. A framework of data extraction, processing, and machine learning was implemented to select a minimal list of features from the EHR datasets to ensure model performance and to enable future point-of-care risk prediction. Results: The best-performing model uses from clinical features related to mental health history, medical co morbidity, obstetric complications, medication prescription orders, and patient demographic characteristics. The model performances as measured by area under the receiver operating characteristic curve (AUC) are 0.937 (95% CI 0.912 - 0.962) and 0.886 (95% CI 0.879-0.893) in the development and validation datasets, respectively. The model performances were consistent when tested using data ending at multiple time periods during pregnancy and at childbirth. Limitations: The prevalence of PPD in the study data represented a treatment prevalence and is likely lower than the illness prevalence. Conclusions: EHRs and machine learning offer the ability to identify women at risk for PPD early in their pregnancy. This may facilitate scalable and timely prevention and intervention, reducing negative outcomes and the associated burden.
What problem does this paper attempt to address?