Back

Random Forest Model for Predicting Post-Lockdown Antenatal Depression Risk: A Cross-Sectional Study of Pregnant Women in China

Pan, Y.; Lin, H.; HIRONO, T.; Yang, Y.; Liu, Y.; Zhang, Y.

2026-05-26 public and global health
10.64898/2026.05.23.26353929 medRxiv
Show abstract

Background As lockdown measures was eased, pregnant women faced an elevated risk of COVID-19 infection, potentially impacting their mental health. This study aimed to investigate the prevalence of antenatal depression (AD) post-lockdown and develop predictive models for AD risk using machine learning. Methods A cross-sectional study utilizing the Edinburgh Postnatal Depression Scale was conducted in Beijing and Guizhou, China, from January to August 2023. Data was randomly split into training and test datasets (6:4 ratio), with logistic regression (LR), Support Vector Machine (SVM), K-Nearest Neighbors (KNN), Random Forest (RF), eXtreme Gradient Boosting (XGBoost), and Gradient Boosting Decision Tree (GBDT) models trained and compared. The best model underwent further examination, including SHapley Additive exPlanations (SHAP) for feature importance, calibration curve (CC) for discrimination, and decision curve analysis (DCA) for clinical benefit. Results The effective response rate was 91.07% (459/504), with 25.7% (118/459) testing positive for AD. Multivariate analysis identified "sleep disorders," "family support level," and "COVID-19 symptom severity" as independent predictors. RF model showed the highest area under the curve in both training (0.842) and testing (0.724) datasets, with SHAP emphasizing the greatest impact of "sleep disorders" on AD. The RF model's calibration (P > 0.05) and clinical utility across thresholds (8%-95% and 10%-58%) were confirmed by CC and DCA, respectively. Conclusions AD strongly correlated with "sleep disorders," "family support level," and "COVID-19 symptom severity" post-lockdown, and the EPDS-based RF model effectively predicted AD risk.

Matching journals

The top 8 journals account for 50% of the predicted probability mass.

1
PLOS ONE
4510 papers in training set
Top 12%
14.8%
2
Frontiers in Public Health
140 papers in training set
Top 0.5%
7.2%
3
Frontiers in Psychiatry
83 papers in training set
Top 0.5%
6.9%
4
Journal of Medical Internet Research
85 papers in training set
Top 0.7%
6.4%
5
Journal of Affective Disorders
81 papers in training set
Top 0.4%
6.4%
6
BMC Medicine
163 papers in training set
Top 1.0%
4.2%
7
Psychiatry Research
35 papers in training set
Top 0.4%
4.0%
8
Scientific Reports
3102 papers in training set
Top 35%
3.6%
50% of probability mass above
9
Sleep Medicine
18 papers in training set
Top 0.2%
3.6%
10
PLOS Global Public Health
293 papers in training set
Top 3%
2.9%
11
BMC Pregnancy and Childbirth
20 papers in training set
Top 0.3%
2.6%
12
Journal of Affective Disorders Reports
10 papers in training set
Top 0.1%
2.4%
13
International Journal of Environmental Research and Public Health
124 papers in training set
Top 3%
2.1%
14
JMIR Formative Research
32 papers in training set
Top 0.6%
2.1%
15
BMC Public Health
147 papers in training set
Top 3%
1.8%
16
JMIR Research Protocols
18 papers in training set
Top 0.8%
1.3%
17
BMC Psychiatry
22 papers in training set
Top 0.5%
1.2%
18
Translational Psychiatry
219 papers in training set
Top 3%
1.0%
19
Public Health
34 papers in training set
Top 1%
1.0%
20
Environmental Research
46 papers in training set
Top 1%
0.9%
21
Journal of Biomedical Informatics
45 papers in training set
Top 1%
0.8%
22
JMIR Public Health and Surveillance
45 papers in training set
Top 4%
0.8%
23
eClinicalMedicine
55 papers in training set
Top 2%
0.8%
24
Journal of Public Health
23 papers in training set
Top 1%
0.8%
25
Journal of Clinical Medicine
91 papers in training set
Top 6%
0.8%
26
BMC Medical Informatics and Decision Making
39 papers in training set
Top 3%
0.7%
27
BMJ Open
554 papers in training set
Top 13%
0.7%
28
BMC Infectious Diseases
118 papers in training set
Top 6%
0.6%
29
eLife
5422 papers in training set
Top 61%
0.6%
30
Journal of Global Health
18 papers in training set
Top 0.7%
0.6%