Vitamin D3 for Life. Live Enlightened.

Research libraryVitamin D3 For Life
Study design and methods

Secondary relevance to vitamin D This paper mainly addresses another topic and also reports a vitamin D analysis, result or scientific synthesis.

This paper mainly addresses another topic and also reports a vitamin D analysis, result or scientific synthesis.

Why this paper is included

Supporting source evidence:

Vitamin D (nmol/L) | 23.9 (17.3‐31.3) | 22.9 (16.1‐29.8) | .011 | Wilcoxon

Source: Results table. View original paper

Relevance classification does not establish study quality, causation or editorial approval.

Study design Study design awaiting verification.

Study design awaiting verification

The available source does not establish a sufficiently clear study design.

Meta-analysis unclear · Blinding unclear / not reported · Human research reported

How this paper was classified

Automatic source-based classification; awaiting editorial verification. This is not a quality score.

Participants were divided into training (1358/2055, 66.1%) and validation (697/2055, 33.9%) sets by random sampling.

Source: Abstract.

View supporting evidence in the original paper

What the study types mean
Systematic review
Uses explicit methods to identify, assess and summarise research on a defined question.
Scoping review
Maps the extent and characteristics of research on a topic.
Narrative review
Discusses existing research; systematic-review methods have not been established by this classification.
Review / evidence synthesis
Reviews existing research; the exact review methods need further assessment.
Randomised controlled trial
Assigns participants or groups to comparison interventions by chance.
Non-randomised intervention study
Examines an intervention without random allocation.
Cohort study
Examines exposures and outcomes over time within a defined group.
Case-control study
Compares people with an outcome against people without it, examining exposures.
Cross-sectional study
Examines a population at a particular point in time.
Observational study
Observes exposures and outcomes without assigning the exposure; the subtype is not established here.
Case report
Describes an individual case.
Case series
Describes a group of individual cases.
Secondary analysis
Analyses existing study data; this paper is not automatically another independent trial.
Laboratory study
Investigates biological processes in a laboratory setting.
Qualitative study
Examines experiences or meanings using qualitative methods.
Genetic instrumental-variable study
Uses genetic variation as an instrument to investigate relationships; this is not a randomised treatment trial.
Study protocol
Describes planned methods and is not evidence that the planned study has reported results.
Multiple reported designs
More than one design is explicitly reported; examine the supporting methods.
Study design awaiting verification
The available source does not establish a sufficiently clear study design.

Meta-analysis combines numerical results from studies. Blinding describes who was unaware of treatment allocation. Neither is a separate quality grade. Study design, vitamin D relevance and document format are independent filters.

Full studies

Interpretable Machine Learning Model for Predicting Postpartum Depression: Retrospective Study

Study design awaiting verification · JMIR Medical Informatics · 2025

Original publication title

Interpretable Machine Learning Model for Predicting Postpartum Depression: Retrospective Study

Ren Zhang; Yi Liu; Zhiwei Zhang; Rui Luo; Bin Lv

Copyright © Ren Zhang, Yi Liu, Zhiwei Zhang, Rui Luo, Bin Lv. Originally published in JMIR Medical Informatics (https://medinform.jmir.org)

Original publication · Publisher record · CC BY 4.0

Source wording retained. Formatting, section navigation and display-title punctuation adapted for this research record.

At a glance

Abstract: What objectives does the paper state?

This study aimed to comprehensively collect variables from multiple aspects, develop and validate machine learning models to achieve precise prediction of PPD, and interpret the model to reveal clinical implications.

Source: Objective

Study methods

What methods does the paper describe?

Participants

Pregnant women who underwent perinatal examinations and delivered at West China Second University Hospital, Sichuan University, from January 2017 to December 2020 were invited to participate in this study. The study cohort was divided into training and validation sets by random sampling. Participants were screened for eligibility. The inclusion criteria were as follows: (1) participants who completed regular examinations and delivered at our institution, (2) participants with a gestational age of ≥28 weeks, and (3) participants who gave consent to participation and be followed up.

The exclusion criteria were (1) participants with a psychiatric history in the 6 months before conception and (2) participants with missing data.

Outcome

Participants were assessed for PPD 3 months post partum with the Edinburgh Postnatal Depression Scale [18]. The Edinburgh Postnatal Depression Scale has 10 items concerning depressive symptoms, and each item is evaluated using scores ranging from 0 to 3, constituting a total score of 30. Participants who scored 13 or more were regarded as having PPD [18]. The diagnosis of PPD was confirmed by 2 experienced senior psychiatrists using the Structured Clinical Interview for Diagnostic and Statistical Manual of Mental Disorders, Fifth Edition (DSM-5) [19] and the Chinese Classification and Diagnostic Criteria of Mental Disorders, Third Edition (CCMD-3) [20].

Variable Screening

Demographic variables were collected from the electronic medical record system of our institution. Clinical variables were assessed and documented by qualified clinicians. Relevant laboratory indicators were collected at 28 weeks of gestation from the medical laboratory system of the institution.

Participants were assessed for antepartum depression before delivery with the Zung Self-Rating Depression Scale [21]. The Self-Rating Depression Scale is a self-reported scale with 20 items concerning depressive symptoms, and each item is evaluated with scores ranging from 0 to 4, according to the severity of symptoms. All participants with more than 53 points were regarded as having antepartum depression [22].

Social variables, including education, income, exposure to suspected adverse factors, and family and social relations, were collected using scales and self-administered questionnaires. Income level was assessed using the local minimum income standard. Suspected adverse factors included alcohol consumption and smoking. Family and social relations comprised spouses in good health, only child, planned pregnancy, social support, family satisfaction, adverse marital status, and family history of mental illness. The level of social support was measured using the Social Support Rating Scale, which is widely used to assess social support with great reliability [23].

Scores higher than 35 are considered normal; scores of 35 or lower indicate low levels of social support [24]. Family satisfaction was assessed using the Family Adaptation, Partnership, Growth, Affection, Resolve index [25]. The Family Adaptation, Partnership, Growth, Affection, Resolve index consists of 5 items, each with a score ranging from 0 to 2. It systematically evaluates the level of family care a pregnant woman receives. A total score of 0‐3 represents a low level of family satisfaction, and a score higher than 4 represents a normal level.

To avoid the potential bias of multicollinearity and overfitting, least absolute shrinkage and selection operator (LASSO) regression was performed to select and filter the variables in the training set. LASSO is a regression-based methodology that can reduce model complexity; multicollinearity and overfitting are avoided by constructing a penalty function [26]. LASSO regression is applied to filter a large number of variables and remove those that are insignificant [2728]. The 5-fold cross-validation method was used to calculate the optimal λ values, and variables with nonzero coefficients were selected as the final predictive factors.

After LASSO regression, the variance inflation factor (VIF) was calculated among the included variables to assess multicollinearity. The VIF was introduced to understand the impact of collinearity in regression models and has since been widely applied in various fields, including medical research [29-31]. VIF helps ensure that machine learning models or statistical models are not adversely affected by collinear predictors [32]. Typically, a VIF value greater than 10 is considered indicative of high multicollinearity, which may necessitate removing or adjusting variables to improve model stability [2933].

Model Development

We used the following 3 machine learning algorithms to develop the PPD prediction model: extreme gradient boosting (XGBoost), random forest (RF), and gradient boosting machine (GBM). XGBoost is a powerful and efficient machine learning algorithm known for its exceptional performance in regression, classification, and ranking problems. It is an extension of the traditional gradient boosting method that combines multiple weak classifiers to create a strong classifier that minimizes the loss function [34]. RF is an ensemble machine learning algorithm based on decision trees.

It creates multiple decision trees, each based on a randomly sampled subset of the training data to create a more accurate and robust output [35]. GBM is a popular machine learning algorithm that combines the principles of boosting and gradient descent to create a powerful predictive model [36]. Additionally, logistic regression, a traditional method, was implemented to predict PPD as a control.

Machine learning models were developed in the training set. To mitigate overfitting and achieve ideal model performance, hyperparameters for each machine learning model were tuned by grid search. In each session of hyperparameter tuning, 3-fold cross-validation was implemented, and the area under the receiver operating characteristic curve (AUC) was the criterion to assess model performance [37]. The combination of hyperparameters with the largest AUC value was further evaluated in the validation set.

Model Evaluation

Predictive models were evaluated with the receiver operating characteristic curve (ROC) and decision curve analysis (DCA) in the validation set. ROC reflects the ability of a model to discriminate PPD [38]. DCA is used to evaluate and compare the clinical utility of different diagnostic or predictive models. It provides a framework for assessing the net benefit of a model by taking into account the potential harms and benefits associated with different decision thresholds [39]. Additionally, accuracy, sensitivity, specificity, positive predictive value (PPV), and negative predictive value (NPV) of each model were calculated for comprehensive evaluation.

Based on ROC, the predictive model with the greatest AUC value was considered as the optimal model, which would be further explored for interpretation.

Model Interpretation

We performed variable importance, partial dependence plot (PDP), and Shapley Additive Explanation (SHAP) to interpret the optimal predictive model. Variable importance assesses the contribution of each input variable by calculating the decrease in error when split by a variable [40]. PDPs calculate the partial dependence of a variable by fixing the values of other variables and observing the variation in the outcome [41]. It helps to explain how the outcome changes with changes in input variables.

SHAP measures the contribution of variables in each individual sample [42]. The SHAP values show how much each variable contributes, either positively or negatively, to the outcome.

Statistical Software

All statistical analyses were performed with R software (version 4.3.1; R Foundation for Statistical Computing). LASSO regression was performed using the R package glmnet. Logistic regression model was implemented using the R package glm. XGBoost, RF, and GBM models were developed and assessed with R package mlr3. Model interpretation was performed with R packages fastshap and pdp. Other involved packages include xgboost, randomForest, gbm, pROC, ggplot2, and their various dependencies.

Ethical Considerations

This study was approved by the ethics committee of West China Second University Hospital, Sichuan University (approval 2021-186). Informed consent was obtained from all individual participants involved in the study. The original informed consent covered the secondary use of the data without the need for additional consent. All participant data were anonymized to protect privacy and confidentiality. No compensation was provided for participation in this study.

Source: Methods Source: Methods Source: Methods Source: Methods Source: Methods Source: Methods Source: Methods Source: Methods

Results: Participant Characteristics

The overall procedure of this study is shown in Figure 1. After eligibility screening, 2055 participants were included in the study cohort. A total of 78 variables were incorporated in our study including 16 psychosocial characteristics, 43 obstetric characteristics, and 19 laboratory indicators. The baseline characteristics were analyzed by χ² test and Wilcoxon test for category variables and continuous variables, respectively. The detailed characteristics are shown in Tables 1-3. Of these participants, 697 (33.9%) participants were diagnosed with PPD, 621 (30.2%) participants had antepartum depression, 101 (4.9%) were unemployed, 187 (9.1%) had an income below the local minimum income standard, 1947 (94.7%) pregnant women were the only child of the family, and 45 (2.2%) reported low family satisfaction; the median age of participants was 32 (IQR 29-35) years.

Figure 1.

The flow chart of the study design.

Figure image at the original source — open the original paper. This file is not included in this text import.
Table 1.

Psychosocial characteristics of participants.

Psychosocial characteristicsNon-PPDa (n=1358)PPD (n=697)P valueMethod
Age (years), median (IQR)31 (29-35)32 (29-35).03Wilcoxon
Antepartum depression, n (%)<.001χ² test
No1170 (86.2)264 (37.9)
Yes188 (13.8)433 (62.1)
Ethnics, n (%).15χ² test
Han1326 (97.6)673 (96.6)
Others32 (2.4)24 (3.4)
Work status, n (%).002χ² test
Employed1277 (94)677 (97.1)
Unemployed81 (6)20 (2.9)
Season of delivery, n (%).51χ² test
Spring343 (25.3)193 (27.7)
Summer350 (25.8)165 (23.7)
Autumn411 (30.3)217 (31.1)
Winter254 (18.7)122 (17.5)
Education, n (%).63χ² test
Below higher education459 (33.8)243 (34.9)
Higher education899 (66.2)454 (65.1)
Income, n (%).46χ² test
Below normal level119 (8.8)68 (9.8)
At or above normal level1239 (91.2)629 (90.2)
Smoking, n (%).69Yates’ correction
No1355 (99.8)694 (99.6)
Yes3 (0.2)3 (0.4)
Drinking, n (%)>.99Yates’ correction
No1355 (99.8)695 (99.7)
Yes3 (0.2)2 (0.3)
Spouse in good health, n (%).95χ² test
Yes1339 (98.6)687 (98.6)
No19 (1.4)10 (1.4)
Only child, n (%).17χ² test
Yes1280 (94.3)667 (95.7)
No78 (5.7)30 (4.3)
Planned pregnancy, n (%).31χ² test
Yes1310 (96.5)666 (95.6)
No48 (3.5)31 (4.4)
Social support, n (%).52χ² test
Normal1329 (97.9)679 (97.4)
Low29 (2.1)18 (2.6)
Family satisfaction, n (%).13χ² test
Normal1333 (98.2)677 (97.1)
Low25 (1.8)20 (2.9)
Adverse marital status, n (%).006χ² test
No1349 (99.3)683 (98)
Yes9 (0.7)14 (2)
Family history of mental illness, n (%).04Yates’ correction
No1356 (99.9)691 (99.1)
Yes2 (0.1)6 (0.9)
a

PPD: postpartum depression.

Table 2.

Obstetric characteristics of participants.

Obstetric characteristicsNon-PPDa (n=1358)PPD (n=697)P valueMethod
Weight gain during pregnancy, median (IQR)12.5 (9.425‐15)12.5 (9.7‐16).39Wilcoxon
BMI, median (IQR)20.83 (19.43‐22.68)20.83 (19.36‐23.01).63Wilcoxon
Age of menarche (years), median (IQR)13 (12-13)13 (12-14).30Wilcoxon
Gestational days, median (IQR)274 (268-280)274 (267-278).05Wilcoxon
Bleeding volume, median (IQR)400 (300-400)400 (300-400).07Wilcoxon
Fetal weight, median (IQR)3.28 (2.94‐3.57)3.23 (2.8‐3.53).001Wilcoxon
Fetal height, median (IQR)50 (48-51)49 (48-51).03Wilcoxon
Apgarb 1 minute, median (IQR)10 (10-10)10 (10-10)<.001Wilcoxon
Apgar 5 minutes, median (IQR)10 (10-10)10 (10-10)<.001Wilcoxon
Apgar 10 minutes, median (IQR)10 (10-10)10 (10-10)<.001Wilcoxon
Length of stay, median (IQR)4 (4-6)4 (4-6).79Wilcoxon
Gravidity.19χ² test
1, n (%)471 (22.9)217 (10.6)
2, n (%)370 (18)207 (10.1)
3, n (%)265 (12.9)136 (6.6)
4, n (%)160 (7.8)79 (3.8)
≥5, n (%)92 (4.5)58 (2.8)
Median (IQR)2 (1-3)2 (1-3)
Abortions, n (%).38χ² test
0624 (45.9)301 (43.2)
1409 (30.1)207 (29.7)
2207 (15.2)115 (16.5)
≥3118 (8.7)74 (10.6)
Parity, n (%).89Yates’ correction
0831 (40.4)434 (21.1)
1497 (24.2)246 (12)
229 (1.4)16 (0.8)
≥31 (0)1 (0)
Conception method, n (%).93χ² test
Normal1169 (86.1)599 (85.9)
Assisted reproduction189 (13.9)98 (14.1)
Fetal malformation, n (%).02χ² test
No1308 (96.3)656 (94.1)
Yes50 (3.7)41 (5.9)
Amniotic fluid volume disorder, n (%).35χ² test
No1284 (94.6)652 (93.5)
Yes74 (5.4)45 (6.5)
Renal disease, n (%).58χ² test
No1334 (98.2)687 (98.6)
Yes24 (1.8)10 (1.4)
Systemic lupus erythematosus, n (%).69Yates’ correction
No1351 (99.5)695 (99.7)
Yes7 (0.5)2 (0.3)
Gestational diabetes mellitus, n (%).92χ² test
No1030 (75.8)530 (76)
Yes328 (24.2)167 (24)
Gestational hypertension, n (%).25χ² test
No1290 (95)670 (96.1)
Yes68 (5)27 (3.9)
Threatened premature labor, n (%).002χ² test
No1183 (87.1)571 (81.9)
Yes175 (12.9)126 (18.1)
Hepatitis B, n (%).49χ² test
No72 (5.3)42 (6)
Yes1286 (94.7)655 (94)
Twin pregnancy, n (%).07χ² test
No1247 (91.8)623 (89.4)
Yes111 (8.2)74 (10.6)
Placenta previa, n (%).45χ² test
No1281 (94.3)663 (95.1)
Yes77 (5.7)34 (4.9)
Heart disease, n (%).29χ² test
No1344 (99)693 (99.4)
Yes14 (1)4 (0.6)
Scarred uterus, n (%).81χ² test
No342 (25.2)179 (25.7)
Yes1016 (74.8)518 (74.3)
Rh blood type, n (%).01χ² test
Positive1350 (99.4)685 (98.3)
Negative8 (0.6)12 (1.7)
ABO blood type, n (%).63χ² test
O491 (36.2)241 (34.6)
B335 (24.7)179 (25.7)
A423 (31.1)211 (30.3)
AB109 (8)66 (9.5)
Abnormal fetal position, n (%).92χ² test
No1206 (88.8)618 (88.7)
Yes152 (11.2)79 (11.3)
Uterine myoma, n (%).94χ² test
No1227 (90.4)629 (90.2)
Yes131 (9.6)68 (9.8)
Ovarian cyst, n (%)>.99Yates’ correction
No1349 (99.3)693 (99.4)
Yes9 (0.7)4 (0.6)
Umbilical cord encirclements, n (%).65χ² test
No869 (64)453 (65)
Yes489 (36)244 (35)
Hypothyroidism, n (%).40χ² test
No1130 (83.2)590 (84.6)
Yes228 (16.8)107 (15.4)
Pelvic anomaly, n (%).56χ² test
No1346 (99.1)689 (98.9)
Yes12 (0.9)8 (1.1)
Intrauterine death, n (%)<.001Yates’ correction
No1358 (100)684 (98.1)
Yes0 (0)13 (1.9)
Macrosomia, n (%).84χ² test
No1295 (95.4)666 (95.6)
Yes63 (4.6)31 (4.4)
Fetal growth restriction, n (%).34χ² test
No1335 (98.3)681 (97.7)
Yes23 (1.7)16 (2.3)
Premature labor, n (%)<.001χ² test
No1207 (88.9)579 (83.1)
Yes151 (11.1)118 (16.9)
Mode of delivery, n (%).45Yates’ correction
Vaginal delivery842 (62)433 (62.1)
Cesarean section506 (37.3)262 (37.6)
Assisted delivery10 (0.7)2 (0.3)
Fetal sex, n (%).96χ² test
Male668 (49.2)342 (49.1)
Female690 (50.8)355 (50.9)
Fetal distress, n (%).001χ² test
No1333 (98.2)667 (95.7)
Yes25 (1.8)30 (4.3)
Breastfeeding, n (%).61χ² test
No32 (2.4)19 (2.7)
Yes1326 (97.6)678 (97.3)
a

PPD: postpartum depression.

b

Apgar: appearance, pulse, grimace, activity, and respiration.

Table 3.

Laboratory indicators.

Laboratory indicatorsNon-PPDa (n=1358), median (IQR)PPD (n=697), median (IQR)P valueMethod
Hemoglobin (g/L)111 (104‐117.75)111 (104-118).893Wilcoxon
Serum ferroprotein (ng/nL)18.15 (12.4‐25.9)18.9 (11.9‐27.2).400Wilcoxon
International normalized ratio0.97 (0.92‐1.01)0.96 (0.91‐1.01).325Wilcoxon
Alanine aminotransferase (U/L)17 (12.25‐28)18 (12-31).170Wilcoxon
Aspartate aminotransferase (U/L)21 (18-27)21 (17-28).263Wilcoxon
Total bile acid (µmol/L)2.3 (1.6‐3.5)2.5 (1.6‐3.7).091Wilcoxon
Direct bilirubin (µmol/L)2.1 (1.6‐2.8)2.1 (1.7‐2.7).771Wilcoxon
Albumin (g/L)38.7 (36.3‐41.2)38.7 (36.3‐41.4).627Wilcoxon
Globulin (g/L)27.6 (25.4‐30.1)27.3 (25.2‐29.9).207Wilcoxon
Lactate dehydrogenase (U/L)179 (163-201)181 (164-204).161Wilcoxon
Alkaline phosphatase (U/L)84 (55-121)87 (55-128).423Wilcoxon
Urea nitrogen (µmol/L)3.5 (3.07‐4.3475)3.48 (3.08‐4.35).787Wilcoxon
Creatinine (µmol/L)44 (40-48)44 (40-48).561Wilcoxon
Cystatin C (µmol/L)0.77 (0.64‐0.97)0.77 (0.64‐0.99).725Wilcoxon
Uric acid (µmol/L)259 (217-309)254 (218-305).250Wilcoxon
Thyroid-stimulating hormone (mIU/L)1.9695 (1.277‐2.8878)1.847 (1.176‐2.776).183Wilcoxon
Free thyroxine (pmol/L)14.56 (13.29‐16.22)14.55 (13.21‐16.02).522Wilcoxon
Thyroid peroxidase antibody (U/mL)40.65 (30.4‐56.1)40.1 (30.2‐55.3).425Wilcoxon
Vitamin D (nmol/L)23.9 (17.3‐31.3)22.9 (16.1‐29.8).011Wilcoxon
a

PPD: postpartum depression.

Source: Participant Characteristics Source: Participant Characteristics Source: Participant Characteristics Source: Participant Characteristics Source: Participant Characteristics

Results: Variable Screening

After LASSO regression, 18 variables with nonzero coefficients were identified as potential predictors of PPD. Among these variables, the 5-minute Apgar (appearance, pulse, grimace, activity, and respiration) score and the 10-minute Apgar score had VIF values over 10, indicating multicollinearity between them. Of these 2 variables, the 5-minute Apgar score had a lower coefficient in absolute value in the LASSO regression, suggesting its lower contribution to the outcome; therefore, it was excluded. Another round of VIF analysis was performed after excluding the 5-minute Apgar score, and the results showed that all remaining variables had a VIF below 10, indicating low multicollinearity.

Finally, 17 variables including prenatal depression, ethnics, occupation, income, only child, family satisfaction, adverse marital status, amniotic fluid volume disorder, Rh negative, intrauterine death, fetal distress, age, fetal weight, 10-minute Apgar score, serum ferroprotein, thyroid-stimulating hormone (TSH), and thyroid peroxidase antibody (TPOAb) were identified as features to develop predictive models. The detailed results of the LASSO regression and VIF analyses are presented in Table 4.

Table 4.

LASSOa coefficients and VIFb of screened variables after LASSO regression.

VariableCoefficientVIFVIF (second round)
Prenatal depression2.2451.0141.013
Ethnics0.0551.0081.008
Occupation−0.2151.0471.045
Income0.0151.0431.043
Only child0.0811.0131.012
Family satisfaction0.1341.2871.286
Adverse marital status0.4221.2961.293
Amniotic fluid volume disorder0.4161.0111.011
Rh negative−0.1631.0121.011
Intrauterine death1.0421.4871.486
Fetal distress0.3391.0341.034
Age0.0021.0351.034
Fetal weight−0.171.4721.347
Apgarc 5 minutes−0.00244.005N/Ad
Apgar 10 minutes−0.15542.7771.860
Serum ferroprotein0.0011.0431.043
TSHe−0.0011.0031.003
TPOAbf0.0011.0081.008
a

LASSO: least absolute shrinkage and selection operator.

b

VIF: variance inflation factor.

c

Apgar: appearance, pulse, grimace, activity, and respiration.

d

N/A: not applicable.

e

TSH: thyroid-stimulating hormone.

f

TPOAb: thyroid peroxidase antibody.

Source: Variable Screening Source: Variable Screening

Results: Model Development and Evaluation

Predictive models were established in the training set. With optimal hyperparameters, models were evaluated in the validation set. The AUC values obtained in the validation set of all 4 models were above 0.75 (Table 5 and Figure 2A). The XGBoost model outperformed other models with the highest AUC of 0.849 (95% CI 0.828‐0.871). GBM had the poorest performance with an AUC value of 0.779 (95% CI 0.738‐0.820). Detailed results of model evaluation were shown in Table 5.

Table 5.

Model evaluation metrics.

AUCa (95% CI)Accuracy (95% CI)Sensitivity (95% CI)Specificity (95% CI)PPVb (95% CI)NPVc (95% CI)
XGBoostd0.849 (0.828‐0.871)0.813 (0.772‐0.854)0.718 (0.646‐0.790)0.862 (0.807‐0.917)0.718 (0.646‐0.790)0.855 (0.805‐0.905)
RFe0.781 (0.740‐0.821)0.782 (0.750‐0.815)0.656 (0.591‐0.720)0.848 (0.813‐0.883)0.688 (0.624‐0.753)0.827 (0.791‐0.864)
GBMf0.779 (0.738‐0.820)0.786 (0.753‐0.818)0.675 (0.611‐0.738)0.843 (0.807‐0.878)0.688 (0.624‐0.751)0.835 (0.799‐0.870)
LRg0.788 (0.754‐0.822)0.779 (0.739‐0.816)0.685 (0.615‐0.748)0.823 (0.782‐0.858)0.646 (0.577‐0.710)0.848 (0.808‐0.881)
a

AUC: area under the receiver operating characteristic curve.

b

PPV: positive predictive value.

c

NPV: negative predictive value.

d

XGBoost: extreme gradient boosting.

e

RF: random forest.

f

GBM: gradient boosting machine.

g

LR: logistic regression.

Figure 2.

(A) The ROC and (B) the DCA of predictive models. The area under the curve and the corresponding 95% CI for each model are shown in the legend of Figure 2A. DCA: decision curve analysis; GBM: gradient boosting machine; LR: logistic regression; RF: random forest; ROC: receiver operating characteristic curve; XGBoost: extreme gradient boosting.

Figure image at the original source — open the original paper. This file is not included in this text import.

DCA (Figure 2B) was performed for 4 models in the validation set to compare the net benefit of the best model and alternative approaches for clinical decision-making. Treatment strategies informed by any of the 4 models are superior to the default strategies of treating all or no patients. The net benefit of the XGBoost model exceeded those of the other models at 20%-60% threshold probabilities.

Source: Model Development and Evaluation Source: Model Development and Evaluation Source: Model Development and Evaluation Source: Model Development and Evaluation

Results: Model Interpretation

The XGBoost model, identified as the optimal model in terms of AUC value, was further explored for interpretation. Table 6 demonstrates the variable importance of the XGBoost model. Antepartum depression, TSH, fetal weight, serum ferritin, TPOAb, and age were the 6 variables that most influenced the outcome of the model.

PDPs illustrate a visual representation of the relationship between the most influential variables and the predicted response while accounting for the average effect of the other predictors in the model (Figure 3). As our predictive outcome is a binary categorical variable, the impacts of variables on the outcome were presented in the form of predictive probability ranging from 0 to 1. These plots indicate that the probability of PPD increases when participants have antepartum depression, higher TSH, higher serum ferritin, and older age.

Likewise, the probability descends when participants have higher fetal weight and higher TPOAb.

Table 6.

Variable importance for extreme gradient boosting model.

VariableImportance
Prenatal depression0.268
Fetal weight0.169
TSHa0.162
TPOAbb0.132
Serum ferritin0.131
Age0.063
Apgarc 10 minutes0.024
Income0.014
Occupation0.012
Amniotic fluid volume disorder0.011
Fetal distress0.010
Family satisfaction0.009
Only child0.009
Intrauterine death0.007
Rh negative0.005
Adverse marital status0.002
Ethnics0.002
a

TSH: thyroid-stimulating hormone.

b

TPOAb: thyroid peroxidase antibody.

c

Apgar: appearance, pulse, grimace, activity, and respiration.

Figure 3.

Partial dependence plots for the 6 most influential variables in the extreme gradient boosting model. The y-axis is set on a probability scale since our model was a binary classification model; the values of TSH and SF were on a logarithmic scale to present more pronounced trends in predicted probability as the values of the variables change. SF: serum ferritin; TPOAb: thyroid peroxidase antibody; TSH: thyroid-stimulating hormone.

Figure image at the original source — open the original paper. This file is not included in this text import.

SHAP provides an insight into how variables influence the prediction in each single sample (Figure 4). It can be concluded that the risk of PPD increases for participants with antepartum depression, lower fetal weight, lower level of TPOAb, elevated serum ferritin, and older age. The overall impact of TSH is not obvious. The interpretation of SHAP was mostly consistent with the interpretation of PDP. A higher risk of PPD is also associated with lower Apgar scores at 10 minutes, low income, amniotic fluid volume disorder, fetal distress, unsatisfactory family conditions, only child in the family, intrauterine death, Rh negative blood type, adverse marital status, and other ethnics.

Figure 4.

The SHAP values for the extreme gradient boosting model. Each dot in the figure represents a variable for a single participant. The horizontal position indicates whether that variable has a positive or negative impact on the predictive probability. Greater absolute values of SHAP represent a greater predictive probability of postpartum depression. The color shows the value of the variable for that observation. Purple indicates a higher value, representing the positive contribution of predictive outcome; and yellow indicates a lower value, representing the negative contribution of predictive outcome. A larger absolute value means that the variable has a greater impact on the result. For example, lower fetal weight (yellow dots) caused a negative impact on the predictive outcome. Since the SHAP system only accepts numeric input, binary categorical variables are converted to 0 (negative) and 1 (positive). In this case, low income and fetal distress are associated with a greater probability of postpartum depression. Apgar: appearance, pulse, grimace, activity, and respiration; SHAP: Shapley Additive Explanation; TPOAb: thyroid peroxidase antibody; TSH: thyroid-stimulating hormone.

Figure image at the original source — open the original paper. This file is not included in this text import.
Source: Model Interpretation Source: Model Interpretation Source: Model Interpretation Source: Model Interpretation Source: Model Interpretation Source: Model Interpretation

Discussion: Principal Findings

This study developed and validated a machine learning–based model for prediction of PPD with an AUC of 0.849. Through the model interpretation of our optimal XGBoost model, several significant predictors of PPD were identified. These findings derived from the XGBoost model provide insightful contributions to the understanding of PPD.

Based on variable importance, antepartum depression was the most influential predictor of PPD in our analysis. Women with antepartum depression are likely to extend depressive symptoms into the postpartum period. In an epidemiology study, more than 54% of women with PPD reported depressive symptoms during pregnancy [5]. Several studies excluded participants with antepartum depression to focus on newly diagnosed PPD [1643]. This might avoid the bias associated with chronic depression but neglect the impact of maternal prenatal mental status on PPD.

In addition, our study identified key biochemical markers of PPD including TSH, TPOAb, and serum ferritin. According to the result of the PDP interpretation, women with elevated serum ferritin levels were prone to PPD. Ferritin serves a critical role in the synthesis of monoamine neurotransmitters including dopamine [44]. With excessive ferritin, neurotransmitter dysregulation might play a part in the onset of PPD [45]. This finding warns the risks of excessive iron supplementation during pregnancy. Apart from that, elevated TSH and declined TPOAb were associated with a higher risk of PPD in our model interpretation.

Elevated TSH often indicates hypothyroidism, whose clinical manifestation includes depression [46]. TPOAb is an autoantibody against the enzyme thyroid peroxidase and is commonly associated with autoimmune thyroid diseases such as Hashimoto thyroiditis [4748]. A systematic review reported that the association between TPOAb and PPD remains controversial [49]. The specific mechanism of how TPOAb affects PPD requires more investigation.

Additionally, women with older age and lower infant weight were prone to PPD in our findings. This aligns with existing literature [49]. Other commonly recognized predictors like lack of social support, gestational diabetes, and overweight were excluded in the LASSO regression due to potential multicollinearity. These results not only validate some of the existing hypotheses about the pathophysiology of PPD but also open new avenues for research, particularly in the context of developing more effective, holistic screening methods.

Our study offers several advancements over previous research on PPD prediction. Earlier studies predominantly focused on clinical factors, such as obstetric history and comorbidities during pregnancy [50-52]. Our research comprehensively collected variables from multiple domains, including clinical, psychosocial, and biochemical markers. This broader scope allows for a more holistic view of the potential risk factors contributing to PPD, addressing the multifactorial nature of the condition. In addition, many previous studies were limited by relatively small sample sizes, often involving fewer than 1000 participants, which may have restricted the generalizability of their findings [505153].

In contrast, our study included a larger cohort of over 2000 participants, providing greater statistical power and a more reliable basis for identifying significant risk factors. This larger sample size also enhances the model’s ability to detect more subtle associations between variables and PPD, which might have been overlooked in studies with smaller sample size. Moreover, previous research has often been limited to populations in Western countries [5455]. Our study focuses on a Chinese cohort, offering insights that are culturally specific and potentially more relevant for addressing PPD in non-Western settings.

This regional focus helps fill a critical gap in the literature, as the risk factors and prevalence of PPD may vary significantly between different cultural and geographical populations. Finally, our inclusion of biochemical markers, such as thyroid function and serum ferritin levels, adds a novel dimension to PPD research. These physiological indicators have rarely been incorporated in prior studies; yet, they may play a crucial role in understanding the biological underpinnings of PPD. By integrating these markers with traditional clinical and psychosocial factors, our study provides a more comprehensive framework for early detection and intervention.

Although our study was conducted on a specific population from Southwestern China, the comprehensive nature of the variables included in the model suggests that it could be adapted to other populations with similar characteristics. Future studies could explore the model’s applicability in different regions and cultural contexts, potentially leading to a robust, universally applicable tool for PPD prediction.

Our study offers significant insights into the clinical application of machine learning models for PPD. By integrating a broad spectrum of both biochemical and psychosocial factors, our models offer a more nuanced and accurate prediction compared to traditional methods. Incorporating often-overlooked indicators such as thyroid function and iron metabolism provides insight into the early screening of PPD. The XGBoost model, which demonstrated the highest performance, is particularly valuable for its ability to manage complex interactions between variables, making it universally applicable in a clinical setting where multiple risk factors are at play.

This comprehensive approach enhances the understanding risk factors for PPD and supports more effective early interventions. Future research can build on these findings by validating them in larger, more diverse populations, integrating these predictive factors into routine prenatal care, and exploring interventions targeting these risks to reduce the incidence of PPD.

Source: Principal Findings Source: Principal Findings Source: Principal Findings Source: Principal Findings Source: Principal Findings Source: Principal Findings Source: Principal Findings

Study limitations

Discussion: What limitations does the paper describe?

This work is not without limitations. First, our analysis is constrained by the retrospective nature of the data, which may introduce biases such as recall bias or selection bias. Additionally, during the process of variable screening, removing variables with collinearity ensured the independence of final predictors, but also eliminated substantial amounts of variables, leading to loss of information. Furthermore, the study’s reliance on a specific population from a single institution may limit the generalizability of our findings to broader, more diverse populations.

Source: Limitations

Results

Participant Characteristics

The overall procedure of this study is shown in Figure 1. After eligibility screening, 2055 participants were included in the study cohort. A total of 78 variables were incorporated in our study including 16 psychosocial characteristics, 43 obstetric characteristics, and 19 laboratory indicators. The baseline characteristics were analyzed by χ² test and Wilcoxon test for category variables and continuous variables, respectively. The detailed characteristics are shown in Tables 1-3. Of these participants, 697 (33.9%) participants were diagnosed with PPD, 621 (30.2%) participants had antepartum depression, 101 (4.9%) were unemployed, 187 (9.1%) had an income below the local minimum income standard, 1947 (94.7%) pregnant women were the only child of the family, and 45 (2.2%) reported low family satisfaction; the median age of participants was 32 (IQR 29-35) years.

Figure 1.

The flow chart of the study design.

Figure image at the original source — open the original paper. This file is not included in this text import.
Table 1.

Psychosocial characteristics of participants.

Psychosocial characteristicsNon-PPDa (n=1358)PPD (n=697)P valueMethod
Age (years), median (IQR)31 (29-35)32 (29-35).03Wilcoxon
Antepartum depression, n (%)<.001χ² test
No1170 (86.2)264 (37.9)
Yes188 (13.8)433 (62.1)
Ethnics, n (%).15χ² test
Han1326 (97.6)673 (96.6)
Others32 (2.4)24 (3.4)
Work status, n (%).002χ² test
Employed1277 (94)677 (97.1)
Unemployed81 (6)20 (2.9)
Season of delivery, n (%).51χ² test
Spring343 (25.3)193 (27.7)
Summer350 (25.8)165 (23.7)
Autumn411 (30.3)217 (31.1)
Winter254 (18.7)122 (17.5)
Education, n (%).63χ² test
Below higher education459 (33.8)243 (34.9)
Higher education899 (66.2)454 (65.1)
Income, n (%).46χ² test
Below normal level119 (8.8)68 (9.8)
At or above normal level1239 (91.2)629 (90.2)
Smoking, n (%).69Yates’ correction
No1355 (99.8)694 (99.6)
Yes3 (0.2)3 (0.4)
Drinking, n (%)>.99Yates’ correction
No1355 (99.8)695 (99.7)
Yes3 (0.2)2 (0.3)
Spouse in good health, n (%).95χ² test
Yes1339 (98.6)687 (98.6)
No19 (1.4)10 (1.4)
Only child, n (%).17χ² test
Yes1280 (94.3)667 (95.7)
No78 (5.7)30 (4.3)
Planned pregnancy, n (%).31χ² test
Yes1310 (96.5)666 (95.6)
No48 (3.5)31 (4.4)
Social support, n (%).52χ² test
Normal1329 (97.9)679 (97.4)
Low29 (2.1)18 (2.6)
Family satisfaction, n (%).13χ² test
Normal1333 (98.2)677 (97.1)
Low25 (1.8)20 (2.9)
Adverse marital status, n (%).006χ² test
No1349 (99.3)683 (98)
Yes9 (0.7)14 (2)
Family history of mental illness, n (%).04Yates’ correction
No1356 (99.9)691 (99.1)
Yes2 (0.1)6 (0.9)
a

PPD: postpartum depression.

Table 2.

Obstetric characteristics of participants.

Obstetric characteristicsNon-PPDa (n=1358)PPD (n=697)P valueMethod
Weight gain during pregnancy, median (IQR)12.5 (9.425‐15)12.5 (9.7‐16).39Wilcoxon
BMI, median (IQR)20.83 (19.43‐22.68)20.83 (19.36‐23.01).63Wilcoxon
Age of menarche (years), median (IQR)13 (12-13)13 (12-14).30Wilcoxon
Gestational days, median (IQR)274 (268-280)274 (267-278).05Wilcoxon
Bleeding volume, median (IQR)400 (300-400)400 (300-400).07Wilcoxon
Fetal weight, median (IQR)3.28 (2.94‐3.57)3.23 (2.8‐3.53).001Wilcoxon
Fetal height, median (IQR)50 (48-51)49 (48-51).03Wilcoxon
Apgarb 1 minute, median (IQR)10 (10-10)10 (10-10)<.001Wilcoxon
Apgar 5 minutes, median (IQR)10 (10-10)10 (10-10)<.001Wilcoxon
Apgar 10 minutes, median (IQR)10 (10-10)10 (10-10)<.001Wilcoxon
Length of stay, median (IQR)4 (4-6)4 (4-6).79Wilcoxon
Gravidity.19χ² test
1, n (%)471 (22.9)217 (10.6)
2, n (%)370 (18)207 (10.1)
3, n (%)265 (12.9)136 (6.6)
4, n (%)160 (7.8)79 (3.8)
≥5, n (%)92 (4.5)58 (2.8)
Median (IQR)2 (1-3)2 (1-3)
Abortions, n (%).38χ² test
0624 (45.9)301 (43.2)
1409 (30.1)207 (29.7)
2207 (15.2)115 (16.5)
≥3118 (8.7)74 (10.6)
Parity, n (%).89Yates’ correction
0831 (40.4)434 (21.1)
1497 (24.2)246 (12)
229 (1.4)16 (0.8)
≥31 (0)1 (0)
Conception method, n (%).93χ² test
Normal1169 (86.1)599 (85.9)
Assisted reproduction189 (13.9)98 (14.1)
Fetal malformation, n (%).02χ² test
No1308 (96.3)656 (94.1)
Yes50 (3.7)41 (5.9)
Amniotic fluid volume disorder, n (%).35χ² test
No1284 (94.6)652 (93.5)
Yes74 (5.4)45 (6.5)
Renal disease, n (%).58χ² test
No1334 (98.2)687 (98.6)
Yes24 (1.8)10 (1.4)
Systemic lupus erythematosus, n (%).69Yates’ correction
No1351 (99.5)695 (99.7)
Yes7 (0.5)2 (0.3)
Gestational diabetes mellitus, n (%).92χ² test
No1030 (75.8)530 (76)
Yes328 (24.2)167 (24)
Gestational hypertension, n (%).25χ² test
No1290 (95)670 (96.1)
Yes68 (5)27 (3.9)
Threatened premature labor, n (%).002χ² test
No1183 (87.1)571 (81.9)
Yes175 (12.9)126 (18.1)
Hepatitis B, n (%).49χ² test
No72 (5.3)42 (6)
Yes1286 (94.7)655 (94)
Twin pregnancy, n (%).07χ² test
No1247 (91.8)623 (89.4)
Yes111 (8.2)74 (10.6)
Placenta previa, n (%).45χ² test
No1281 (94.3)663 (95.1)
Yes77 (5.7)34 (4.9)
Heart disease, n (%).29χ² test
No1344 (99)693 (99.4)
Yes14 (1)4 (0.6)
Scarred uterus, n (%).81χ² test
No342 (25.2)179 (25.7)
Yes1016 (74.8)518 (74.3)
Rh blood type, n (%).01χ² test
Positive1350 (99.4)685 (98.3)
Negative8 (0.6)12 (1.7)
ABO blood type, n (%).63χ² test
O491 (36.2)241 (34.6)
B335 (24.7)179 (25.7)
A423 (31.1)211 (30.3)
AB109 (8)66 (9.5)
Abnormal fetal position, n (%).92χ² test
No1206 (88.8)618 (88.7)
Yes152 (11.2)79 (11.3)
Uterine myoma, n (%).94χ² test
No1227 (90.4)629 (90.2)
Yes131 (9.6)68 (9.8)
Ovarian cyst, n (%)>.99Yates’ correction
No1349 (99.3)693 (99.4)
Yes9 (0.7)4 (0.6)
Umbilical cord encirclements, n (%).65χ² test
No869 (64)453 (65)
Yes489 (36)244 (35)
Hypothyroidism, n (%).40χ² test
No1130 (83.2)590 (84.6)
Yes228 (16.8)107 (15.4)
Pelvic anomaly, n (%).56χ² test
No1346 (99.1)689 (98.9)
Yes12 (0.9)8 (1.1)
Intrauterine death, n (%)<.001Yates’ correction
No1358 (100)684 (98.1)
Yes0 (0)13 (1.9)
Macrosomia, n (%).84χ² test
No1295 (95.4)666 (95.6)
Yes63 (4.6)31 (4.4)
Fetal growth restriction, n (%).34χ² test
No1335 (98.3)681 (97.7)
Yes23 (1.7)16 (2.3)
Premature labor, n (%)<.001χ² test
No1207 (88.9)579 (83.1)
Yes151 (11.1)118 (16.9)
Mode of delivery, n (%).45Yates’ correction
Vaginal delivery842 (62)433 (62.1)
Cesarean section506 (37.3)262 (37.6)
Assisted delivery10 (0.7)2 (0.3)
Fetal sex, n (%).96χ² test
Male668 (49.2)342 (49.1)
Female690 (50.8)355 (50.9)
Fetal distress, n (%).001χ² test
No1333 (98.2)667 (95.7)
Yes25 (1.8)30 (4.3)
Breastfeeding, n (%).61χ² test
No32 (2.4)19 (2.7)
Yes1326 (97.6)678 (97.3)
a

PPD: postpartum depression.

b

Apgar: appearance, pulse, grimace, activity, and respiration.

Table 3.

Laboratory indicators.

Laboratory indicatorsNon-PPDa (n=1358), median (IQR)PPD (n=697), median (IQR)P valueMethod
Hemoglobin (g/L)111 (104‐117.75)111 (104-118).893Wilcoxon
Serum ferroprotein (ng/nL)18.15 (12.4‐25.9)18.9 (11.9‐27.2).400Wilcoxon
International normalized ratio0.97 (0.92‐1.01)0.96 (0.91‐1.01).325Wilcoxon
Alanine aminotransferase (U/L)17 (12.25‐28)18 (12-31).170Wilcoxon
Aspartate aminotransferase (U/L)21 (18-27)21 (17-28).263Wilcoxon
Total bile acid (µmol/L)2.3 (1.6‐3.5)2.5 (1.6‐3.7).091Wilcoxon
Direct bilirubin (µmol/L)2.1 (1.6‐2.8)2.1 (1.7‐2.7).771Wilcoxon
Albumin (g/L)38.7 (36.3‐41.2)38.7 (36.3‐41.4).627Wilcoxon
Globulin (g/L)27.6 (25.4‐30.1)27.3 (25.2‐29.9).207Wilcoxon
Lactate dehydrogenase (U/L)179 (163-201)181 (164-204).161Wilcoxon
Alkaline phosphatase (U/L)84 (55-121)87 (55-128).423Wilcoxon
Urea nitrogen (µmol/L)3.5 (3.07‐4.3475)3.48 (3.08‐4.35).787Wilcoxon
Creatinine (µmol/L)44 (40-48)44 (40-48).561Wilcoxon
Cystatin C (µmol/L)0.77 (0.64‐0.97)0.77 (0.64‐0.99).725Wilcoxon
Uric acid (µmol/L)259 (217-309)254 (218-305).250Wilcoxon
Thyroid-stimulating hormone (mIU/L)1.9695 (1.277‐2.8878)1.847 (1.176‐2.776).183Wilcoxon
Free thyroxine (pmol/L)14.56 (13.29‐16.22)14.55 (13.21‐16.02).522Wilcoxon
Thyroid peroxidase antibody (U/mL)40.65 (30.4‐56.1)40.1 (30.2‐55.3).425Wilcoxon
Vitamin D (nmol/L)23.9 (17.3‐31.3)22.9 (16.1‐29.8).011Wilcoxon
a

PPD: postpartum depression.

Variable Screening

After LASSO regression, 18 variables with nonzero coefficients were identified as potential predictors of PPD. Among these variables, the 5-minute Apgar (appearance, pulse, grimace, activity, and respiration) score and the 10-minute Apgar score had VIF values over 10, indicating multicollinearity between them. Of these 2 variables, the 5-minute Apgar score had a lower coefficient in absolute value in the LASSO regression, suggesting its lower contribution to the outcome; therefore, it was excluded. Another round of VIF analysis was performed after excluding the 5-minute Apgar score, and the results showed that all remaining variables had a VIF below 10, indicating low multicollinearity.

Finally, 17 variables including prenatal depression, ethnics, occupation, income, only child, family satisfaction, adverse marital status, amniotic fluid volume disorder, Rh negative, intrauterine death, fetal distress, age, fetal weight, 10-minute Apgar score, serum ferroprotein, thyroid-stimulating hormone (TSH), and thyroid peroxidase antibody (TPOAb) were identified as features to develop predictive models. The detailed results of the LASSO regression and VIF analyses are presented in Table 4.

Table 4.

LASSOa coefficients and VIFb of screened variables after LASSO regression.

VariableCoefficientVIFVIF (second round)
Prenatal depression2.2451.0141.013
Ethnics0.0551.0081.008
Occupation−0.2151.0471.045
Income0.0151.0431.043
Only child0.0811.0131.012
Family satisfaction0.1341.2871.286
Adverse marital status0.4221.2961.293
Amniotic fluid volume disorder0.4161.0111.011
Rh negative−0.1631.0121.011
Intrauterine death1.0421.4871.486
Fetal distress0.3391.0341.034
Age0.0021.0351.034
Fetal weight−0.171.4721.347
Apgarc 5 minutes−0.00244.005N/Ad
Apgar 10 minutes−0.15542.7771.860
Serum ferroprotein0.0011.0431.043
TSHe−0.0011.0031.003
TPOAbf0.0011.0081.008
a

LASSO: least absolute shrinkage and selection operator.

b

VIF: variance inflation factor.

c

Apgar: appearance, pulse, grimace, activity, and respiration.

d

N/A: not applicable.

e

TSH: thyroid-stimulating hormone.

f

TPOAb: thyroid peroxidase antibody.

Model Development and Evaluation

Predictive models were established in the training set. With optimal hyperparameters, models were evaluated in the validation set. The AUC values obtained in the validation set of all 4 models were above 0.75 (Table 5 and Figure 2A). The XGBoost model outperformed other models with the highest AUC of 0.849 (95% CI 0.828‐0.871). GBM had the poorest performance with an AUC value of 0.779 (95% CI 0.738‐0.820). Detailed results of model evaluation were shown in Table 5.

Table 5.

Model evaluation metrics.

AUCa (95% CI)Accuracy (95% CI)Sensitivity (95% CI)Specificity (95% CI)PPVb (95% CI)NPVc (95% CI)
XGBoostd0.849 (0.828‐0.871)0.813 (0.772‐0.854)0.718 (0.646‐0.790)0.862 (0.807‐0.917)0.718 (0.646‐0.790)0.855 (0.805‐0.905)
RFe0.781 (0.740‐0.821)0.782 (0.750‐0.815)0.656 (0.591‐0.720)0.848 (0.813‐0.883)0.688 (0.624‐0.753)0.827 (0.791‐0.864)
GBMf0.779 (0.738‐0.820)0.786 (0.753‐0.818)0.675 (0.611‐0.738)0.843 (0.807‐0.878)0.688 (0.624‐0.751)0.835 (0.799‐0.870)
LRg0.788 (0.754‐0.822)0.779 (0.739‐0.816)0.685 (0.615‐0.748)0.823 (0.782‐0.858)0.646 (0.577‐0.710)0.848 (0.808‐0.881)
a

AUC: area under the receiver operating characteristic curve.

b

PPV: positive predictive value.

c

NPV: negative predictive value.

d

XGBoost: extreme gradient boosting.

e

RF: random forest.

f

GBM: gradient boosting machine.

g

LR: logistic regression.

Figure 2.

(A) The ROC and (B) the DCA of predictive models. The area under the curve and the corresponding 95% CI for each model are shown in the legend of Figure 2A. DCA: decision curve analysis; GBM: gradient boosting machine; LR: logistic regression; RF: random forest; ROC: receiver operating characteristic curve; XGBoost: extreme gradient boosting.

Figure image at the original source — open the original paper. This file is not included in this text import.

DCA (Figure 2B) was performed for 4 models in the validation set to compare the net benefit of the best model and alternative approaches for clinical decision-making. Treatment strategies informed by any of the 4 models are superior to the default strategies of treating all or no patients. The net benefit of the XGBoost model exceeded those of the other models at 20%-60% threshold probabilities.

Model Interpretation

The XGBoost model, identified as the optimal model in terms of AUC value, was further explored for interpretation. Table 6 demonstrates the variable importance of the XGBoost model. Antepartum depression, TSH, fetal weight, serum ferritin, TPOAb, and age were the 6 variables that most influenced the outcome of the model.

PDPs illustrate a visual representation of the relationship between the most influential variables and the predicted response while accounting for the average effect of the other predictors in the model (Figure 3). As our predictive outcome is a binary categorical variable, the impacts of variables on the outcome were presented in the form of predictive probability ranging from 0 to 1. These plots indicate that the probability of PPD increases when participants have antepartum depression, higher TSH, higher serum ferritin, and older age.

Likewise, the probability descends when participants have higher fetal weight and higher TPOAb.

Table 6.

Variable importance for extreme gradient boosting model.

VariableImportance
Prenatal depression0.268
Fetal weight0.169
TSHa0.162
TPOAbb0.132
Serum ferritin0.131
Age0.063
Apgarc 10 minutes0.024
Income0.014
Occupation0.012
Amniotic fluid volume disorder0.011
Fetal distress0.010
Family satisfaction0.009
Only child0.009
Intrauterine death0.007
Rh negative0.005
Adverse marital status0.002
Ethnics0.002
a

TSH: thyroid-stimulating hormone.

b

TPOAb: thyroid peroxidase antibody.

c

Apgar: appearance, pulse, grimace, activity, and respiration.

Figure 3.

Partial dependence plots for the 6 most influential variables in the extreme gradient boosting model. The y-axis is set on a probability scale since our model was a binary classification model; the values of TSH and SF were on a logarithmic scale to present more pronounced trends in predicted probability as the values of the variables change. SF: serum ferritin; TPOAb: thyroid peroxidase antibody; TSH: thyroid-stimulating hormone.

Figure image at the original source — open the original paper. This file is not included in this text import.

SHAP provides an insight into how variables influence the prediction in each single sample (Figure 4). It can be concluded that the risk of PPD increases for participants with antepartum depression, lower fetal weight, lower level of TPOAb, elevated serum ferritin, and older age. The overall impact of TSH is not obvious. The interpretation of SHAP was mostly consistent with the interpretation of PDP. A higher risk of PPD is also associated with lower Apgar scores at 10 minutes, low income, amniotic fluid volume disorder, fetal distress, unsatisfactory family conditions, only child in the family, intrauterine death, Rh negative blood type, adverse marital status, and other ethnics.

Figure 4.

The SHAP values for the extreme gradient boosting model. Each dot in the figure represents a variable for a single participant. The horizontal position indicates whether that variable has a positive or negative impact on the predictive probability. Greater absolute values of SHAP represent a greater predictive probability of postpartum depression. The color shows the value of the variable for that observation. Purple indicates a higher value, representing the positive contribution of predictive outcome; and yellow indicates a lower value, representing the negative contribution of predictive outcome. A larger absolute value means that the variable has a greater impact on the result. For example, lower fetal weight (yellow dots) caused a negative impact on the predictive outcome. Since the SHAP system only accepts numeric input, binary categorical variables are converted to 0 (negative) and 1 (positive). In this case, low income and fetal distress are associated with a greater probability of postpartum depression. Apgar: appearance, pulse, grimace, activity, and respiration; SHAP: Shapley Additive Explanation; TPOAb: thyroid peroxidase antibody; TSH: thyroid-stimulating hormone.

Figure image at the original source — open the original paper. This file is not included in this text import.
Source: Results Source: Results Source: Results Source: Results

Discussion: Conclusions

This study developed and validated several machine learning–based models for predicting PPD, integrating a comprehensive set of clinical, psychosocial, and biochemical factors, and incorporating a larger sample size. The XGBoost model was considered as the optimal model with an AUC of 0.849. Interpretation derived from the predictive model revealed significant predictors of PPD, encompassing antepartum depression, elevated TSH, declined TPOAb, elevated serum ferritin, older age, and lower infant weight. These identified risk factors could be implemented to the early screening of PPD for individuals at high risk.

These findings underscore the advantages of integrating diverse predictors and advanced machine learning techniques to improve early screening for PPD. This approach not only enhances prediction accuracy but also provides valuable insights for future research and clinical applications.

Source: Conclusions
Authors’ abstract

Abstract

Background

Postpartum depression (PPD) is a prevalent mental health issue with significant impacts on mothers and families. Exploring reliable predictors is crucial for the early and accurate prediction of PPD, which remains challenging.

Objective

This study aimed to comprehensively collect variables from multiple aspects, develop and validate machine learning models to achieve precise prediction of PPD, and interpret the model to reveal clinical implications.

Methods

This study recruited pregnant women who delivered at the West China Second University Hospital, Sichuan University. Various variables were collected from electronic medical record data and screened using least absolute shrinkage and selection operator penalty regression. Participants were divided into training (1358/2055, 66.1%) and validation (697/2055, 33.9%) sets by random sampling. Machine learning–based predictive models were developed in the training cohort. Models were validated in the validation cohort with receiver operating curve and decision curve analysis. Multiple model interpretation methods were implemented to explain the optimal model.

Results

We recruited 2055 participants in this study. The extreme gradient boosting model was the optimal predictive model with the area under the receiver operating curve of 0.849. Shapley Additive Explanation indicated that the most influential predictors of PPD were antepartum depression, lower fetal weight, elevated thyroid-stimulating hormone, declined thyroid peroxidase antibodies, elevated serum ferritin, and older age.

Conclusions

This study developed and validated a machine learning–based predictive model for PPD. Several significant risk factors and how they impact the prediction of PPD were revealed. These findings provide new insights into the early screening of individuals with high risk for PPD, emphasizing the need for comprehensive screening approaches that include both physiological and psychological factors.

Read the full paper

Introduction

Postpartum depression (PPD) is a common mental disorder characterized by low mood, loss of pleasure, and sleep disturbance during the postpartum period [1]. The prevalence of PPD ranges from 3% to 38% in different nations and is higher in limited-income countries [23]. PPD leads to adverse consequences for the mother and family members, such as emotional strain and increased caregiving burden. Women with PPD may experience prolonged periods of distress and are more vulnerable to recurrent depressive episodes [4].

Previous studies revealed that PPD can impair a mother’s parenting ability, such as breastfeeding, potentially resulting in enduring adverse effects on the child’s development across emotional, cognitive, and physical domains [56]. Moreover, PPD can strain family relationships and impose economic burdens due to increased health care needs and reduced productivity [6].

With such a profound impact, mothers should be routinely screened for PPD, and early interventions should be implemented. However, current screening for PPD is mainly based on existing depressive symptoms such as fatigue and sleep disturbance, which are believed to be overlooked due to overlap with normal physiological manifestations after delivery [78]. In addition, the diagnosis of PPD depends on patients’ subjective reporting of personal health conditions [9]. It is urgent to identify individuals with high risk for PPD before clinical symptoms appear, while no effective and validated screening tools are currently available [710].

Previous studies have identified several risk factors of PPD such as unplanned pregnancy, lack of social support, and family history of mental disorders [1112]. However, limited variables in such studies led to a lack of integrity. Machine learning algorithms provide support for the development of predictive models to prevent and intervene adverse health outcomes, offering avenues for personalized prediction and intervention strategies [1314]. Several studies have adapted machine learning into the prediction of PPD risk in the last few years and achieved impressive performance [15-17].

However, insufficient model explanations leave obstacles for actual implementation. Besides, mental disorders are strongly associated with cultural backgrounds and study populations. Thus, the challenge remains to develop more nuanced and culturally adaptable machine learning models for the early detection and effective management of PPD, bridging the gap in current research and practice.

Given the importance of early screening for PPD and the limitations mentioned earlier, we conducted a retrospective study at our institution. This study comprehensively collected variables from multiple aspects, adopted machine learning algorithms to identify risk factors, and aimed to achieve precise prediction of PPD.

Methods

Participants

Pregnant women who underwent perinatal examinations and delivered at West China Second University Hospital, Sichuan University, from January 2017 to December 2020 were invited to participate in this study. The study cohort was divided into training and validation sets by random sampling. Participants were screened for eligibility. The inclusion criteria were as follows: (1) participants who completed regular examinations and delivered at our institution, (2) participants with a gestational age of ≥28 weeks, and (3) participants who gave consent to participation and be followed up.

The exclusion criteria were (1) participants with a psychiatric history in the 6 months before conception and (2) participants with missing data.

Outcome

Participants were assessed for PPD 3 months post partum with the Edinburgh Postnatal Depression Scale [18]. The Edinburgh Postnatal Depression Scale has 10 items concerning depressive symptoms, and each item is evaluated using scores ranging from 0 to 3, constituting a total score of 30. Participants who scored 13 or more were regarded as having PPD [18]. The diagnosis of PPD was confirmed by 2 experienced senior psychiatrists using the Structured Clinical Interview for Diagnostic and Statistical Manual of Mental Disorders, Fifth Edition (DSM-5) [19] and the Chinese Classification and Diagnostic Criteria of Mental Disorders, Third Edition (CCMD-3) [20].

Variable Screening

Demographic variables were collected from the electronic medical record system of our institution. Clinical variables were assessed and documented by qualified clinicians. Relevant laboratory indicators were collected at 28 weeks of gestation from the medical laboratory system of the institution.

Participants were assessed for antepartum depression before delivery with the Zung Self-Rating Depression Scale [21]. The Self-Rating Depression Scale is a self-reported scale with 20 items concerning depressive symptoms, and each item is evaluated with scores ranging from 0 to 4, according to the severity of symptoms. All participants with more than 53 points were regarded as having antepartum depression [22].

Social variables, including education, income, exposure to suspected adverse factors, and family and social relations, were collected using scales and self-administered questionnaires. Income level was assessed using the local minimum income standard. Suspected adverse factors included alcohol consumption and smoking. Family and social relations comprised spouses in good health, only child, planned pregnancy, social support, family satisfaction, adverse marital status, and family history of mental illness. The level of social support was measured using the Social Support Rating Scale, which is widely used to assess social support with great reliability [23].

Scores higher than 35 are considered normal; scores of 35 or lower indicate low levels of social support [24]. Family satisfaction was assessed using the Family Adaptation, Partnership, Growth, Affection, Resolve index [25]. The Family Adaptation, Partnership, Growth, Affection, Resolve index consists of 5 items, each with a score ranging from 0 to 2. It systematically evaluates the level of family care a pregnant woman receives. A total score of 0‐3 represents a low level of family satisfaction, and a score higher than 4 represents a normal level.

To avoid the potential bias of multicollinearity and overfitting, least absolute shrinkage and selection operator (LASSO) regression was performed to select and filter the variables in the training set. LASSO is a regression-based methodology that can reduce model complexity; multicollinearity and overfitting are avoided by constructing a penalty function [26]. LASSO regression is applied to filter a large number of variables and remove those that are insignificant [2728]. The 5-fold cross-validation method was used to calculate the optimal λ values, and variables with nonzero coefficients were selected as the final predictive factors.

After LASSO regression, the variance inflation factor (VIF) was calculated among the included variables to assess multicollinearity. The VIF was introduced to understand the impact of collinearity in regression models and has since been widely applied in various fields, including medical research [29-31]. VIF helps ensure that machine learning models or statistical models are not adversely affected by collinear predictors [32]. Typically, a VIF value greater than 10 is considered indicative of high multicollinearity, which may necessitate removing or adjusting variables to improve model stability [2933].

Model Development

We used the following 3 machine learning algorithms to develop the PPD prediction model: extreme gradient boosting (XGBoost), random forest (RF), and gradient boosting machine (GBM). XGBoost is a powerful and efficient machine learning algorithm known for its exceptional performance in regression, classification, and ranking problems. It is an extension of the traditional gradient boosting method that combines multiple weak classifiers to create a strong classifier that minimizes the loss function [34]. RF is an ensemble machine learning algorithm based on decision trees.

It creates multiple decision trees, each based on a randomly sampled subset of the training data to create a more accurate and robust output [35]. GBM is a popular machine learning algorithm that combines the principles of boosting and gradient descent to create a powerful predictive model [36]. Additionally, logistic regression, a traditional method, was implemented to predict PPD as a control.

Machine learning models were developed in the training set. To mitigate overfitting and achieve ideal model performance, hyperparameters for each machine learning model were tuned by grid search. In each session of hyperparameter tuning, 3-fold cross-validation was implemented, and the area under the receiver operating characteristic curve (AUC) was the criterion to assess model performance [37]. The combination of hyperparameters with the largest AUC value was further evaluated in the validation set.

Model Evaluation

Predictive models were evaluated with the receiver operating characteristic curve (ROC) and decision curve analysis (DCA) in the validation set. ROC reflects the ability of a model to discriminate PPD [38]. DCA is used to evaluate and compare the clinical utility of different diagnostic or predictive models. It provides a framework for assessing the net benefit of a model by taking into account the potential harms and benefits associated with different decision thresholds [39]. Additionally, accuracy, sensitivity, specificity, positive predictive value (PPV), and negative predictive value (NPV) of each model were calculated for comprehensive evaluation.

Based on ROC, the predictive model with the greatest AUC value was considered as the optimal model, which would be further explored for interpretation.

Model Interpretation

We performed variable importance, partial dependence plot (PDP), and Shapley Additive Explanation (SHAP) to interpret the optimal predictive model. Variable importance assesses the contribution of each input variable by calculating the decrease in error when split by a variable [40]. PDPs calculate the partial dependence of a variable by fixing the values of other variables and observing the variation in the outcome [41]. It helps to explain how the outcome changes with changes in input variables.

SHAP measures the contribution of variables in each individual sample [42]. The SHAP values show how much each variable contributes, either positively or negatively, to the outcome.

Statistical Software

All statistical analyses were performed with R software (version 4.3.1; R Foundation for Statistical Computing). LASSO regression was performed using the R package glmnet. Logistic regression model was implemented using the R package glm. XGBoost, RF, and GBM models were developed and assessed with R package mlr3. Model interpretation was performed with R packages fastshap and pdp. Other involved packages include xgboost, randomForest, gbm, pROC, ggplot2, and their various dependencies.

Ethical Considerations

This study was approved by the ethics committee of West China Second University Hospital, Sichuan University (approval 2021-186). Informed consent was obtained from all individual participants involved in the study. The original informed consent covered the secondary use of the data without the need for additional consent. All participant data were anonymized to protect privacy and confidentiality. No compensation was provided for participation in this study.

Results

Participant Characteristics

The overall procedure of this study is shown in Figure 1. After eligibility screening, 2055 participants were included in the study cohort. A total of 78 variables were incorporated in our study including 16 psychosocial characteristics, 43 obstetric characteristics, and 19 laboratory indicators. The baseline characteristics were analyzed by χ² test and Wilcoxon test for category variables and continuous variables, respectively. The detailed characteristics are shown in Tables 1-3. Of these participants, 697 (33.9%) participants were diagnosed with PPD, 621 (30.2%) participants had antepartum depression, 101 (4.9%) were unemployed, 187 (9.1%) had an income below the local minimum income standard, 1947 (94.7%) pregnant women were the only child of the family, and 45 (2.2%) reported low family satisfaction; the median age of participants was 32 (IQR 29-35) years.

Figure 1.

The flow chart of the study design.

Figure image at the original source — open the original paper. This file is not included in this text import.
Table 1.

Psychosocial characteristics of participants.

Psychosocial characteristicsNon-PPDa (n=1358)PPD (n=697)P valueMethod
Age (years), median (IQR)31 (29-35)32 (29-35).03Wilcoxon
Antepartum depression, n (%)<.001χ² test
No1170 (86.2)264 (37.9)
Yes188 (13.8)433 (62.1)
Ethnics, n (%).15χ² test
Han1326 (97.6)673 (96.6)
Others32 (2.4)24 (3.4)
Work status, n (%).002χ² test
Employed1277 (94)677 (97.1)
Unemployed81 (6)20 (2.9)
Season of delivery, n (%).51χ² test
Spring343 (25.3)193 (27.7)
Summer350 (25.8)165 (23.7)
Autumn411 (30.3)217 (31.1)
Winter254 (18.7)122 (17.5)
Education, n (%).63χ² test
Below higher education459 (33.8)243 (34.9)
Higher education899 (66.2)454 (65.1)
Income, n (%).46χ² test
Below normal level119 (8.8)68 (9.8)
At or above normal level1239 (91.2)629 (90.2)
Smoking, n (%).69Yates’ correction
No1355 (99.8)694 (99.6)
Yes3 (0.2)3 (0.4)
Drinking, n (%)>.99Yates’ correction
No1355 (99.8)695 (99.7)
Yes3 (0.2)2 (0.3)
Spouse in good health, n (%).95χ² test
Yes1339 (98.6)687 (98.6)
No19 (1.4)10 (1.4)
Only child, n (%).17χ² test
Yes1280 (94.3)667 (95.7)
No78 (5.7)30 (4.3)
Planned pregnancy, n (%).31χ² test
Yes1310 (96.5)666 (95.6)
No48 (3.5)31 (4.4)
Social support, n (%).52χ² test
Normal1329 (97.9)679 (97.4)
Low29 (2.1)18 (2.6)
Family satisfaction, n (%).13χ² test
Normal1333 (98.2)677 (97.1)
Low25 (1.8)20 (2.9)
Adverse marital status, n (%).006χ² test
No1349 (99.3)683 (98)
Yes9 (0.7)14 (2)
Family history of mental illness, n (%).04Yates’ correction
No1356 (99.9)691 (99.1)
Yes2 (0.1)6 (0.9)
a

PPD: postpartum depression.

Table 2.

Obstetric characteristics of participants.

Obstetric characteristicsNon-PPDa (n=1358)PPD (n=697)P valueMethod
Weight gain during pregnancy, median (IQR)12.5 (9.425‐15)12.5 (9.7‐16).39Wilcoxon
BMI, median (IQR)20.83 (19.43‐22.68)20.83 (19.36‐23.01).63Wilcoxon
Age of menarche (years), median (IQR)13 (12-13)13 (12-14).30Wilcoxon
Gestational days, median (IQR)274 (268-280)274 (267-278).05Wilcoxon
Bleeding volume, median (IQR)400 (300-400)400 (300-400).07Wilcoxon
Fetal weight, median (IQR)3.28 (2.94‐3.57)3.23 (2.8‐3.53).001Wilcoxon
Fetal height, median (IQR)50 (48-51)49 (48-51).03Wilcoxon
Apgarb 1 minute, median (IQR)10 (10-10)10 (10-10)<.001Wilcoxon
Apgar 5 minutes, median (IQR)10 (10-10)10 (10-10)<.001Wilcoxon
Apgar 10 minutes, median (IQR)10 (10-10)10 (10-10)<.001Wilcoxon
Length of stay, median (IQR)4 (4-6)4 (4-6).79Wilcoxon
Gravidity.19χ² test
1, n (%)471 (22.9)217 (10.6)
2, n (%)370 (18)207 (10.1)
3, n (%)265 (12.9)136 (6.6)
4, n (%)160 (7.8)79 (3.8)
≥5, n (%)92 (4.5)58 (2.8)
Median (IQR)2 (1-3)2 (1-3)
Abortions, n (%).38χ² test
0624 (45.9)301 (43.2)
1409 (30.1)207 (29.7)
2207 (15.2)115 (16.5)
≥3118 (8.7)74 (10.6)
Parity, n (%).89Yates’ correction
0831 (40.4)434 (21.1)
1497 (24.2)246 (12)
229 (1.4)16 (0.8)
≥31 (0)1 (0)
Conception method, n (%).93χ² test
Normal1169 (86.1)599 (85.9)
Assisted reproduction189 (13.9)98 (14.1)
Fetal malformation, n (%).02χ² test
No1308 (96.3)656 (94.1)
Yes50 (3.7)41 (5.9)
Amniotic fluid volume disorder, n (%).35χ² test
No1284 (94.6)652 (93.5)
Yes74 (5.4)45 (6.5)
Renal disease, n (%).58χ² test
No1334 (98.2)687 (98.6)
Yes24 (1.8)10 (1.4)
Systemic lupus erythematosus, n (%).69Yates’ correction
No1351 (99.5)695 (99.7)
Yes7 (0.5)2 (0.3)
Gestational diabetes mellitus, n (%).92χ² test
No1030 (75.8)530 (76)
Yes328 (24.2)167 (24)
Gestational hypertension, n (%).25χ² test
No1290 (95)670 (96.1)
Yes68 (5)27 (3.9)
Threatened premature labor, n (%).002χ² test
No1183 (87.1)571 (81.9)
Yes175 (12.9)126 (18.1)
Hepatitis B, n (%).49χ² test
No72 (5.3)42 (6)
Yes1286 (94.7)655 (94)
Twin pregnancy, n (%).07χ² test
No1247 (91.8)623 (89.4)
Yes111 (8.2)74 (10.6)
Placenta previa, n (%).45χ² test
No1281 (94.3)663 (95.1)
Yes77 (5.7)34 (4.9)
Heart disease, n (%).29χ² test
No1344 (99)693 (99.4)
Yes14 (1)4 (0.6)
Scarred uterus, n (%).81χ² test
No342 (25.2)179 (25.7)
Yes1016 (74.8)518 (74.3)
Rh blood type, n (%).01χ² test
Positive1350 (99.4)685 (98.3)
Negative8 (0.6)12 (1.7)
ABO blood type, n (%).63χ² test
O491 (36.2)241 (34.6)
B335 (24.7)179 (25.7)
A423 (31.1)211 (30.3)
AB109 (8)66 (9.5)
Abnormal fetal position, n (%).92χ² test
No1206 (88.8)618 (88.7)
Yes152 (11.2)79 (11.3)
Uterine myoma, n (%).94χ² test
No1227 (90.4)629 (90.2)
Yes131 (9.6)68 (9.8)
Ovarian cyst, n (%)>.99Yates’ correction
No1349 (99.3)693 (99.4)
Yes9 (0.7)4 (0.6)
Umbilical cord encirclements, n (%).65χ² test
No869 (64)453 (65)
Yes489 (36)244 (35)
Hypothyroidism, n (%).40χ² test
No1130 (83.2)590 (84.6)
Yes228 (16.8)107 (15.4)
Pelvic anomaly, n (%).56χ² test
No1346 (99.1)689 (98.9)
Yes12 (0.9)8 (1.1)
Intrauterine death, n (%)<.001Yates’ correction
No1358 (100)684 (98.1)
Yes0 (0)13 (1.9)
Macrosomia, n (%).84χ² test
No1295 (95.4)666 (95.6)
Yes63 (4.6)31 (4.4)
Fetal growth restriction, n (%).34χ² test
No1335 (98.3)681 (97.7)
Yes23 (1.7)16 (2.3)
Premature labor, n (%)<.001χ² test
No1207 (88.9)579 (83.1)
Yes151 (11.1)118 (16.9)
Mode of delivery, n (%).45Yates’ correction
Vaginal delivery842 (62)433 (62.1)
Cesarean section506 (37.3)262 (37.6)
Assisted delivery10 (0.7)2 (0.3)
Fetal sex, n (%).96χ² test
Male668 (49.2)342 (49.1)
Female690 (50.8)355 (50.9)
Fetal distress, n (%).001χ² test
No1333 (98.2)667 (95.7)
Yes25 (1.8)30 (4.3)
Breastfeeding, n (%).61χ² test
No32 (2.4)19 (2.7)
Yes1326 (97.6)678 (97.3)
a

PPD: postpartum depression.

b

Apgar: appearance, pulse, grimace, activity, and respiration.

Table 3.

Laboratory indicators.

Laboratory indicatorsNon-PPDa (n=1358), median (IQR)PPD (n=697), median (IQR)P valueMethod
Hemoglobin (g/L)111 (104‐117.75)111 (104-118).893Wilcoxon
Serum ferroprotein (ng/nL)18.15 (12.4‐25.9)18.9 (11.9‐27.2).400Wilcoxon
International normalized ratio0.97 (0.92‐1.01)0.96 (0.91‐1.01).325Wilcoxon
Alanine aminotransferase (U/L)17 (12.25‐28)18 (12-31).170Wilcoxon
Aspartate aminotransferase (U/L)21 (18-27)21 (17-28).263Wilcoxon
Total bile acid (µmol/L)2.3 (1.6‐3.5)2.5 (1.6‐3.7).091Wilcoxon
Direct bilirubin (µmol/L)2.1 (1.6‐2.8)2.1 (1.7‐2.7).771Wilcoxon
Albumin (g/L)38.7 (36.3‐41.2)38.7 (36.3‐41.4).627Wilcoxon
Globulin (g/L)27.6 (25.4‐30.1)27.3 (25.2‐29.9).207Wilcoxon
Lactate dehydrogenase (U/L)179 (163-201)181 (164-204).161Wilcoxon
Alkaline phosphatase (U/L)84 (55-121)87 (55-128).423Wilcoxon
Urea nitrogen (µmol/L)3.5 (3.07‐4.3475)3.48 (3.08‐4.35).787Wilcoxon
Creatinine (µmol/L)44 (40-48)44 (40-48).561Wilcoxon
Cystatin C (µmol/L)0.77 (0.64‐0.97)0.77 (0.64‐0.99).725Wilcoxon
Uric acid (µmol/L)259 (217-309)254 (218-305).250Wilcoxon
Thyroid-stimulating hormone (mIU/L)1.9695 (1.277‐2.8878)1.847 (1.176‐2.776).183Wilcoxon
Free thyroxine (pmol/L)14.56 (13.29‐16.22)14.55 (13.21‐16.02).522Wilcoxon
Thyroid peroxidase antibody (U/mL)40.65 (30.4‐56.1)40.1 (30.2‐55.3).425Wilcoxon
Vitamin D (nmol/L)23.9 (17.3‐31.3)22.9 (16.1‐29.8).011Wilcoxon
a

PPD: postpartum depression.

Variable Screening

After LASSO regression, 18 variables with nonzero coefficients were identified as potential predictors of PPD. Among these variables, the 5-minute Apgar (appearance, pulse, grimace, activity, and respiration) score and the 10-minute Apgar score had VIF values over 10, indicating multicollinearity between them. Of these 2 variables, the 5-minute Apgar score had a lower coefficient in absolute value in the LASSO regression, suggesting its lower contribution to the outcome; therefore, it was excluded. Another round of VIF analysis was performed after excluding the 5-minute Apgar score, and the results showed that all remaining variables had a VIF below 10, indicating low multicollinearity.

Finally, 17 variables including prenatal depression, ethnics, occupation, income, only child, family satisfaction, adverse marital status, amniotic fluid volume disorder, Rh negative, intrauterine death, fetal distress, age, fetal weight, 10-minute Apgar score, serum ferroprotein, thyroid-stimulating hormone (TSH), and thyroid peroxidase antibody (TPOAb) were identified as features to develop predictive models. The detailed results of the LASSO regression and VIF analyses are presented in Table 4.

Table 4.

LASSOa coefficients and VIFb of screened variables after LASSO regression.

VariableCoefficientVIFVIF (second round)
Prenatal depression2.2451.0141.013
Ethnics0.0551.0081.008
Occupation−0.2151.0471.045
Income0.0151.0431.043
Only child0.0811.0131.012
Family satisfaction0.1341.2871.286
Adverse marital status0.4221.2961.293
Amniotic fluid volume disorder0.4161.0111.011
Rh negative−0.1631.0121.011
Intrauterine death1.0421.4871.486
Fetal distress0.3391.0341.034
Age0.0021.0351.034
Fetal weight−0.171.4721.347
Apgarc 5 minutes−0.00244.005N/Ad
Apgar 10 minutes−0.15542.7771.860
Serum ferroprotein0.0011.0431.043
TSHe−0.0011.0031.003
TPOAbf0.0011.0081.008
a

LASSO: least absolute shrinkage and selection operator.

b

VIF: variance inflation factor.

c

Apgar: appearance, pulse, grimace, activity, and respiration.

d

N/A: not applicable.

e

TSH: thyroid-stimulating hormone.

f

TPOAb: thyroid peroxidase antibody.

Model Development and Evaluation

Predictive models were established in the training set. With optimal hyperparameters, models were evaluated in the validation set. The AUC values obtained in the validation set of all 4 models were above 0.75 (Table 5 and Figure 2A). The XGBoost model outperformed other models with the highest AUC of 0.849 (95% CI 0.828‐0.871). GBM had the poorest performance with an AUC value of 0.779 (95% CI 0.738‐0.820). Detailed results of model evaluation were shown in Table 5.

Table 5.

Model evaluation metrics.

AUCa (95% CI)Accuracy (95% CI)Sensitivity (95% CI)Specificity (95% CI)PPVb (95% CI)NPVc (95% CI)
XGBoostd0.849 (0.828‐0.871)0.813 (0.772‐0.854)0.718 (0.646‐0.790)0.862 (0.807‐0.917)0.718 (0.646‐0.790)0.855 (0.805‐0.905)
RFe0.781 (0.740‐0.821)0.782 (0.750‐0.815)0.656 (0.591‐0.720)0.848 (0.813‐0.883)0.688 (0.624‐0.753)0.827 (0.791‐0.864)
GBMf0.779 (0.738‐0.820)0.786 (0.753‐0.818)0.675 (0.611‐0.738)0.843 (0.807‐0.878)0.688 (0.624‐0.751)0.835 (0.799‐0.870)
LRg0.788 (0.754‐0.822)0.779 (0.739‐0.816)0.685 (0.615‐0.748)0.823 (0.782‐0.858)0.646 (0.577‐0.710)0.848 (0.808‐0.881)
a

AUC: area under the receiver operating characteristic curve.

b

PPV: positive predictive value.

c

NPV: negative predictive value.

d

XGBoost: extreme gradient boosting.

e

RF: random forest.

f

GBM: gradient boosting machine.

g

LR: logistic regression.

Figure 2.

(A) The ROC and (B) the DCA of predictive models. The area under the curve and the corresponding 95% CI for each model are shown in the legend of Figure 2A. DCA: decision curve analysis; GBM: gradient boosting machine; LR: logistic regression; RF: random forest; ROC: receiver operating characteristic curve; XGBoost: extreme gradient boosting.

Figure image at the original source — open the original paper. This file is not included in this text import.

DCA (Figure 2B) was performed for 4 models in the validation set to compare the net benefit of the best model and alternative approaches for clinical decision-making. Treatment strategies informed by any of the 4 models are superior to the default strategies of treating all or no patients. The net benefit of the XGBoost model exceeded those of the other models at 20%-60% threshold probabilities.

Model Interpretation

The XGBoost model, identified as the optimal model in terms of AUC value, was further explored for interpretation. Table 6 demonstrates the variable importance of the XGBoost model. Antepartum depression, TSH, fetal weight, serum ferritin, TPOAb, and age were the 6 variables that most influenced the outcome of the model.

PDPs illustrate a visual representation of the relationship between the most influential variables and the predicted response while accounting for the average effect of the other predictors in the model (Figure 3). As our predictive outcome is a binary categorical variable, the impacts of variables on the outcome were presented in the form of predictive probability ranging from 0 to 1. These plots indicate that the probability of PPD increases when participants have antepartum depression, higher TSH, higher serum ferritin, and older age.

Likewise, the probability descends when participants have higher fetal weight and higher TPOAb.

Table 6.

Variable importance for extreme gradient boosting model.

VariableImportance
Prenatal depression0.268
Fetal weight0.169
TSHa0.162
TPOAbb0.132
Serum ferritin0.131
Age0.063
Apgarc 10 minutes0.024
Income0.014
Occupation0.012
Amniotic fluid volume disorder0.011
Fetal distress0.010
Family satisfaction0.009
Only child0.009
Intrauterine death0.007
Rh negative0.005
Adverse marital status0.002
Ethnics0.002
a

TSH: thyroid-stimulating hormone.

b

TPOAb: thyroid peroxidase antibody.

c

Apgar: appearance, pulse, grimace, activity, and respiration.

Figure 3.

Partial dependence plots for the 6 most influential variables in the extreme gradient boosting model. The y-axis is set on a probability scale since our model was a binary classification model; the values of TSH and SF were on a logarithmic scale to present more pronounced trends in predicted probability as the values of the variables change. SF: serum ferritin; TPOAb: thyroid peroxidase antibody; TSH: thyroid-stimulating hormone.

Figure image at the original source — open the original paper. This file is not included in this text import.

SHAP provides an insight into how variables influence the prediction in each single sample (Figure 4). It can be concluded that the risk of PPD increases for participants with antepartum depression, lower fetal weight, lower level of TPOAb, elevated serum ferritin, and older age. The overall impact of TSH is not obvious. The interpretation of SHAP was mostly consistent with the interpretation of PDP. A higher risk of PPD is also associated with lower Apgar scores at 10 minutes, low income, amniotic fluid volume disorder, fetal distress, unsatisfactory family conditions, only child in the family, intrauterine death, Rh negative blood type, adverse marital status, and other ethnics.

Figure 4.

The SHAP values for the extreme gradient boosting model. Each dot in the figure represents a variable for a single participant. The horizontal position indicates whether that variable has a positive or negative impact on the predictive probability. Greater absolute values of SHAP represent a greater predictive probability of postpartum depression. The color shows the value of the variable for that observation. Purple indicates a higher value, representing the positive contribution of predictive outcome; and yellow indicates a lower value, representing the negative contribution of predictive outcome. A larger absolute value means that the variable has a greater impact on the result. For example, lower fetal weight (yellow dots) caused a negative impact on the predictive outcome. Since the SHAP system only accepts numeric input, binary categorical variables are converted to 0 (negative) and 1 (positive). In this case, low income and fetal distress are associated with a greater probability of postpartum depression. Apgar: appearance, pulse, grimace, activity, and respiration; SHAP: Shapley Additive Explanation; TPOAb: thyroid peroxidase antibody; TSH: thyroid-stimulating hormone.

Figure image at the original source — open the original paper. This file is not included in this text import.

Discussion

Principal Findings

This study developed and validated a machine learning–based model for prediction of PPD with an AUC of 0.849. Through the model interpretation of our optimal XGBoost model, several significant predictors of PPD were identified. These findings derived from the XGBoost model provide insightful contributions to the understanding of PPD.

Based on variable importance, antepartum depression was the most influential predictor of PPD in our analysis. Women with antepartum depression are likely to extend depressive symptoms into the postpartum period. In an epidemiology study, more than 54% of women with PPD reported depressive symptoms during pregnancy [5]. Several studies excluded participants with antepartum depression to focus on newly diagnosed PPD [1643]. This might avoid the bias associated with chronic depression but neglect the impact of maternal prenatal mental status on PPD.

In addition, our study identified key biochemical markers of PPD including TSH, TPOAb, and serum ferritin. According to the result of the PDP interpretation, women with elevated serum ferritin levels were prone to PPD. Ferritin serves a critical role in the synthesis of monoamine neurotransmitters including dopamine [44]. With excessive ferritin, neurotransmitter dysregulation might play a part in the onset of PPD [45]. This finding warns the risks of excessive iron supplementation during pregnancy. Apart from that, elevated TSH and declined TPOAb were associated with a higher risk of PPD in our model interpretation.

Elevated TSH often indicates hypothyroidism, whose clinical manifestation includes depression [46]. TPOAb is an autoantibody against the enzyme thyroid peroxidase and is commonly associated with autoimmune thyroid diseases such as Hashimoto thyroiditis [4748]. A systematic review reported that the association between TPOAb and PPD remains controversial [49]. The specific mechanism of how TPOAb affects PPD requires more investigation.

Additionally, women with older age and lower infant weight were prone to PPD in our findings. This aligns with existing literature [49]. Other commonly recognized predictors like lack of social support, gestational diabetes, and overweight were excluded in the LASSO regression due to potential multicollinearity. These results not only validate some of the existing hypotheses about the pathophysiology of PPD but also open new avenues for research, particularly in the context of developing more effective, holistic screening methods.

Our study offers several advancements over previous research on PPD prediction. Earlier studies predominantly focused on clinical factors, such as obstetric history and comorbidities during pregnancy [50-52]. Our research comprehensively collected variables from multiple domains, including clinical, psychosocial, and biochemical markers. This broader scope allows for a more holistic view of the potential risk factors contributing to PPD, addressing the multifactorial nature of the condition. In addition, many previous studies were limited by relatively small sample sizes, often involving fewer than 1000 participants, which may have restricted the generalizability of their findings [505153].

In contrast, our study included a larger cohort of over 2000 participants, providing greater statistical power and a more reliable basis for identifying significant risk factors. This larger sample size also enhances the model’s ability to detect more subtle associations between variables and PPD, which might have been overlooked in studies with smaller sample size. Moreover, previous research has often been limited to populations in Western countries [5455]. Our study focuses on a Chinese cohort, offering insights that are culturally specific and potentially more relevant for addressing PPD in non-Western settings.

This regional focus helps fill a critical gap in the literature, as the risk factors and prevalence of PPD may vary significantly between different cultural and geographical populations. Finally, our inclusion of biochemical markers, such as thyroid function and serum ferritin levels, adds a novel dimension to PPD research. These physiological indicators have rarely been incorporated in prior studies; yet, they may play a crucial role in understanding the biological underpinnings of PPD. By integrating these markers with traditional clinical and psychosocial factors, our study provides a more comprehensive framework for early detection and intervention.

Although our study was conducted on a specific population from Southwestern China, the comprehensive nature of the variables included in the model suggests that it could be adapted to other populations with similar characteristics. Future studies could explore the model’s applicability in different regions and cultural contexts, potentially leading to a robust, universally applicable tool for PPD prediction.

Our study offers significant insights into the clinical application of machine learning models for PPD. By integrating a broad spectrum of both biochemical and psychosocial factors, our models offer a more nuanced and accurate prediction compared to traditional methods. Incorporating often-overlooked indicators such as thyroid function and iron metabolism provides insight into the early screening of PPD. The XGBoost model, which demonstrated the highest performance, is particularly valuable for its ability to manage complex interactions between variables, making it universally applicable in a clinical setting where multiple risk factors are at play.

This comprehensive approach enhances the understanding risk factors for PPD and supports more effective early interventions. Future research can build on these findings by validating them in larger, more diverse populations, integrating these predictive factors into routine prenatal care, and exploring interventions targeting these risks to reduce the incidence of PPD.

Limitations

This work is not without limitations. First, our analysis is constrained by the retrospective nature of the data, which may introduce biases such as recall bias or selection bias. Additionally, during the process of variable screening, removing variables with collinearity ensured the independence of final predictors, but also eliminated substantial amounts of variables, leading to loss of information. Furthermore, the study’s reliance on a specific population from a single institution may limit the generalizability of our findings to broader, more diverse populations.

Conclusions

This study developed and validated several machine learning–based models for predicting PPD, integrating a comprehensive set of clinical, psychosocial, and biochemical factors, and incorporating a larger sample size. The XGBoost model was considered as the optimal model with an AUC of 0.849. Interpretation derived from the predictive model revealed significant predictors of PPD, encompassing antepartum depression, elevated TSH, declined TPOAb, elevated serum ferritin, older age, and lower infant weight. These identified risk factors could be implemented to the early screening of PPD for individuals at high risk.

These findings underscore the advantages of integrating diverse predictors and advanced machine learning techniques to improve early screening for PPD. This approach not only enhances prediction accuracy but also provides valuable insights for future research and clinical applications.

Acknowledgments

The authors would like to express their gratitude to all colleagues and individuals at West China Second University Hospital, Sichuan University, who contributed to this research. Their insights and support were invaluable to the completion of this work.

Authors’ Contributions: RZ and YL conceptualized the research. RZ, BL, and YL conducted the data acquisition, data analysis, and writing of the manuscript. RZ, ZZ, and RL performed the statistical analyses and created the figures. RZ and ZZ conducted the image optimization. BL revised the manuscript and supervised the project. All authors contributed to and have approved the final manuscript.

Conflicts of Interest: None declared.

Abbreviations

Apgar

appearance, pulse, grimace, activity, and respiration

AUC

area under the receiver operating characteristic curve

CCMD-3

Chinese Classification and Diagnostic Criteria of Mental Disorders, Third Edition

DCA

decision curve analysis

DSM-5

Diagnostic and Statistical Manual of Mental Disorders, Fifth Edition

GBM

gradient boosting machine

LASSO

least absolute shrinkage and selection operator

PDP

partial dependence plot

PPD

postpartum depression

RF

random forest

ROC

receiver operating characteristic curve

SHAP

Shapley Additive Explanation

TPOAb

thyroid peroxidase antibody

TSH

thyroid-stimulating hormone

VIF

variance inflation factor

XGBoost

extreme gradient boosting

References

1. Stewart DE Vigod S Postpartum depression N Engl J Med Dec2016 375 22 2177 2186 doi 10.1056/NEJMcp1607649 27959754
2. Howard LM Molyneaux E Dennis CL Rochat T Stein A Milgrom J Non-psychotic mental disorders in the perinatal period Lancet Nov152014 384 9956 1775 1788 doi 10.1016/S0140-6736(14)61276-9 Medline 25455248
3. Hahn-Holbrook J Cornwell-Hinrichs T Anaya I Economic and health predictors of national postpartum depression prevalence: a systematic review, meta-analysis, and meta-regression of 291 studies from 56 countries Front Psychiatry 2017 8 248doi 10.3389/fpsyt.2017.00248 Medline 29449816 PMC5799244
4. Cooper PJ Murray L Wilson A Romaniuk H Controlled trial of the short- and long-term effect of psychological treatment of post-partum depression. I. Impact on maternal mood Br J Psychiatry 052003 182 412 419 Medline 12724244
5. Gelaye B Rondon MB Araya R Williams MA Epidemiology of maternal depression, risk factors, and child outcomes in low-income and middle-income countries Lancet Psychiatry Oct2016 3 10 973 982 doi 10.1016/S2215-0366(16)30284-X Medline 27650773 PMC5155709
6. O’Hara MW McCabe JE Postpartum depression: current status and future directions Annu Rev Clin Psychol 2013 9 379 407 doi 10.1146/annurev-clinpsy-050212-185612 Medline 23394227
7. US Preventive Services Task Force Curry SJ Krist AH et al Interventions to prevent perinatal depression: US Preventive Services Task Force recommendation statement JAMA Feb122019 321 6 580 587 doi 10.1001/jama.2019.0007 Medline 30747971
8. Mukherjee S Trepka MJ Pierre-Victor D Bahelah R Avent T Racial/ethnic disparities in antenatal depression in the United States: a systematic review Matern Child Health J Sep2016 20 9 1780 1797 doi 10.1007/s10995-016-1989-x Medline 27016352
9. Dennis C Chung‐Lee L Postpartum depression help‐seeking barriers and maternal treatment preferences: a qualitative systematic review Birth Dec2006 33 4 323 331 doi 10.1111/j.1523-536X.2006.00130.x 17150072
10. O’Connor E Senger CA Henninger ML Coppola E Gaynes BN Interventions to prevent perinatal depression: evidence report and systematic review for the US Preventive Services Task Force JAMA Feb122019 321 6 588 601 doi 10.1001/jama.2018.20865 Medline 30747970
11. Cheng D Schwarz EB Douglas E Horon I Unintended pregnancy and associated maternal preconception, prenatal and postpartum behaviors Contraception Mar2009 79 3 194 198 doi 10.1016/j.contraception.2008.09.009 Medline 19185672
12. Stone SL Diop H Declercq E Cabral HJ Fox MP Wise LA Stressful events during pregnancy and postpartum depressive symptoms J Womens Health (Larchmt) 052015 24 5 384 393 doi 10.1089/jwh.2014.4857 25751609 PMC4519058
13. Austin PC Tu JV Ho JE Levy D Lee DS Using methods from the data-mining and machine-learning literature for disease classification and prediction: a case study examining classification of heart failure subtypes J Clin Epidemiol Apr2013 66 4 398 407 doi 10.1016/j.jclinepi.2012.11.008 Medline 23384592 PMC4322906
14. Bidoki NH Zera KA Nassar H et al Machine learning models of plasma proteomic data predict mood in chronic stroke and tie it to aberrant peripheral immune responses Brain Behav Immun Nov2023 114 144 153 doi 10.1016/j.bbi.2023.08.002 Medline 37557961 PMC10792657
15. Shin D Lee KJ Adeluwa T Hur J Machine learning-based predictive modeling of postpartum depression J Clin Med Sep82020 9 9 2899doi 10.3390/jcm9092899 Medline 32911726 PMC7564708
16. Hochman E Feldman B Weizman A et al Development and validation of a machine learning-based postpartum depression prediction model: a nationwide cohort study Depress Anxiety Apr2021 38 4 400 411 doi 10.1002/da.23123 Medline 33615617
17. Amit G Girshovitz I Marcus K et al Estimation of postpartum depression risk from electronic health records using machine learning BMC Pregnancy Childbirth Sep172021 21 1 630doi 10.1186/s12884-021-04087-8 Medline 34535116 PMC8447665
18. Cox JL Holden JM Sagovsky R Detection of postnatal depression. Development of the 10-item Edinburgh Postnatal Depression Scale Br J Psychiatry Jun1987 150 782 786 doi 10.1192/bjp.150.6.782 Medline 3651732
19. Diagnostic and Statistical Manual of Mental Disorders 5thAmerican Psychiatric Association2013
20. The Chinese Classification and Diagnostic Criteria of Mental Disorders 3rdChinese Society of Psychiatry2001 184 188
21. Zung WW A self-rating depression scale Arch Gen Psychiatry 011965 12 63 70 doi 10.1001/archpsyc.1965.01720310065008 Medline 14221692
22. Wang Y Di Y Ye J Wei W Study on the public psychological states and its related factors during the outbreak of coronavirus disease 2019 (COVID-19) in some regions of China Psychol Health Med 0122021 26 1 13 22 doi 10.1080/13548506.2020.1746817 32223317
23. Yi J Zhong B Yao S Health-related quality of life and influencing factors among rural left-behind wives in Liuyang, China BMC Womens Health 05142014 14 67 doi 10.1186/1472-6874-14-67 Medline 24886024 PMC4024212
24. Tang X Lu Z Hu D Zhong X Influencing factors for prenatal stress, anxiety and depression in early pregnancy among women in Chongqing, China J Affect Disord Jun152019 253 292 302 doi 10.1016/j.jad.2019.05.003 Medline 31077972
25. Smilkstein G Ashworth C Montano D Validity and reliability of the Family APGAR as a test of family function J Fam Pract Aug1982 15 2 303 311 Medline 7097168
26. Tibshirani R Regression shrinkage and selection via the lasso J R Stat Soc Ser B 0111996 58 1 267 288 doi 10.1111/j.2517-6161.1996.tb02080.x
27. Efron B Hastie T Johnstone I Tibshirani R Least angle regression Ann Statist 2004 32 2 407 451 doi 10.1214/009053604000000067
28. Bickel PJ Ritov Y Tsybakov AB Simultaneous analysis of lasso and Dantzig selector Ann Statist 2009 37 4 1705 1732 doi 10.1214/08-AOS620
29. Mason CH Perreault WD Collinearity, power, and interpretation of multiple regression analysis J Market Res Aug1991 28 3 268 280 doi 10.1177/002224379102800302
30. Quah Y Jung S Chan JYL et al Predictive biomarkers for embryotoxicity: a machine learning approach to mitigating multicollinearity in RNA-Seq Arch Toxicol Dec2024 98 12 4093 4105 doi 10.1007/s00204-024-03852-w Medline 39242367
31. Musmar B Adeeb N Gendreau J et al Creation of a predictive calculator to determine adequacy of occlusion of the woven endobridge (WEB) device in intracranial aneurysms—a retrospective analysis of the WorldWide WEB Consortium database Interv Neuroradiol Aug102024 15910199241267320doi 10.1177/15910199241267320 Medline 39127463 PMC11571495
32. O’brien RM A caution regarding rules of thumb for variance inflation factors Qual Quant Sep112007 41 5 673 690 doi 10.1007/s11135-006-9018-6
33. Ozata IH Tufekci T Karahan SN et al Reliability and validity of the Turkish version of the New Cleveland Clinic Colorectal Cancer Quality of Life Questionnaire Int J Colorectal Dis Dec272023 39 1 10doi 10.1007/s00384-023-04572-w Medline 38150157
35. Chen TQ Guestrin C Comp MA XGBoost: a scalable tree boosting system Presented at22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD)Aug 13-17, 2016San Francisco, CA, United States
35. Breiman L Random forests Mach Learn 2001 45 1 5 32 doi 10.1023/A:1010933404324
36. Friedman JH Greedy function approximation: a gradient boosting machine Ann Statist 2001 29 5 1189 1232 doi 10.1214/aos/1013203451
37. Muraoka K Sada Y Miyazaki D Chaikittisilp W Okubo T Linking synthesis and structure descriptors from a large collection of synthetic records of zeolite materials Nat Commun Oct12019 10 1 4459doi 10.1038/s41467-019-12394-0 Medline 31575862 PMC6773695
38. Park SH Goo JM Jo CH Receiver operating characteristic (ROC) curve: practical review for radiologists Korean J Radiol 2004 5 1 11 18 doi 10.3348/kjr.2004.5.1.11 Medline 15064554 PMC2698108
39. Lee C Light A Alaa A Thurtle D van der Schaar M Gnanapragasam VJ Application of a novel machine learning framework for predicting non-metastatic prostate cancer-specific mortality in men using the Surveillance, Epidemiology, and End Results (SEER) database Lancet Digit Health Mar2021 3 3 e158 e165 doi 10.1016/S2589-7500(20)30314-9 Medline 33549512
40. Fisher A Rudin C Dominici F All models are wrong, but many are useful: learning a variable’s importance by studying an entire class of prediction models simultaneously J Mach Learn Res 2019 20 20 Medline 34335110 PMC8323609
41. Goldstein A Kapelner A Bleich J Pitkin E Peeking inside the black box: visualizing statistical learning with plots of individual conditional expectation J Comput Graph Stat 0122015 24 1 44 65 doi 10.1080/10618600.2014.907095
42. Lundberg SM Lee SI A unified approach to interpreting model predictions Presented at31st Annual Conference on Neural Information Processing Systems (NIPS)Dec 4-9, 2017Long Beach, CA, United States
43. Yang ST Yang SQ Duan KM et al The development and application of a prediction model for postpartum depression: optimizing risk assessment and prevention in the clinic J Affect Disord 0112022 296 434 442 doi 10.1016/j.jad.2021.09.099 Medline 34606808
44. Larsen B Olafsson V Calabro F et al Maturation of the human striatal dopamine system revealed by PET and quantitative MRI Nat Commun Feb122020 11 1 846doi 10.1038/s41467-020-14693-3 Medline 32051403 PMC7015913
45. Hare BD Duman RS Prefrontal cortex circuits in depression and anxiety: contribution of discrete neuronal populations and target regions Mol Psychiatry Nov2020 25 11 2742 2758 doi 10.1038/s41380-020-0685-9 Medline 32086434 PMC7442605
46. Chaker L Bianco AC Jonklaas J Peeters RP Hypothyroidism Lancet Sep232017 390 10101 1550 1562 doi 10.1016/S0140-6736(17)30703-1 Medline 28336049 PMC6619426
47. Ralli M Angeletti D Fiore M et al Hashimoto’s thyroiditis: an update on pathogenic mechanisms, diagnostic protocols, therapeutic strategies, and potential malignant transformation Autoimmun Rev Oct2020 19 10 102649 doi 10.1016/j.autrev.2020.102649 Medline 32805423
48. De Leo S Lee SY Braverman LE Hyperthyroidism Lancet Aug272016 388 10047 906 918 doi 10.1016/S0140-6736(16)00278-6 Medline 27038492 PMC5014602
49. Zhao XH Zhang ZH Risk factors for postpartum depression: an evidence-based systematic review of systematic reviews and meta-analyses Asian J Psychiatr Oct2020 53 102353 doi 10.1016/j.ajp.2020.102353 Medline 32927309
50. Chen JJ Chen XJ She QM Li JX Luo QH Clinical risk factors for preterm birth and evaluating maternal psychology in the postpartum period World J Psychiatry 05192024 14 5 661 669 doi 10.5498/wjp.v14.i5.661 Medline 38808088 PMC11129159
51. Eriksson A Kimmel MC Furmark T et al Investigating heart rate variability measures during pregnancy as predictors of postpartum depression and anxiety: an exploratory study Transl Psychiatry 05142024 14 1 203doi 10.1038/s41398-024-02909-9 Medline 38744808 PMC11094065
52. Gomora D Kene C Embiale A et al Health related quality of life and its predictors among postpartum mother in Southeast Ethiopia: a cross-sectional study Heliyon Apr152024 10 7 e27843doi 10.1016/j.heliyon.2024.e27843 Medline 38560152 PMC10979148
53. Lilhore UK Dalal S Varshney N et al Prevalence and risk factors analysis of postpartum depression at early stage using hybrid deep learning model Sci Rep Feb242024 14 1 4533doi 10.1038/s41598-024-54927-8 Medline 38402249 PMC10894236
54. Hiraoka D Kawanami A Sakurai K Mori C Within-individual relationships between mother-to-infant bonding and postpartum depressive symptoms: a longitudinal study Psychol Med Jun2024 54 8 1749 1757 doi 10.1017/S0033291723003707 Medline 38173095
55. Power J Watson S Chen W Lewis A van IJzendoorn M Galbally M The trajectory of maternal perinatal depressive symptoms predicts executive function in early childhood Psychol Med Dec2023 53 16 7953 7963 doi 10.1017/S0033291723002118 Medline 37781906 PMC10755237
Publication and source details

Original title: Interpretable Machine Learning Model for Predicting Postpartum Depression: Retrospective Study

Ren Zhang; Yi Liu; Zhiwei Zhang; Rui Luo; Bin Lv

JMIR Medical Informatics · 2025

Bin Lv, MD, Department of Gynecology and Obstetrics, West China Second University Hospital, Sichuan University, Key Laboratory of Birth Defects and Related Diseases of Women and Children (Sichuan University), Ministry of Education, No 20, Section 3, Renmin South Road, Chengdu, 610041, China, 86 13980584568; hxlvbin@163.com
*

these authors contributed equally

Copyright © Ren Zhang, Yi Liu, Zhiwei Zhang, Rui Luo, Bin Lv. Originally published in JMIR Medical Informatics (https://medinform.jmir.org)2025https://creativecommons.org/licenses/by/4.0/This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR Medical Informatics, is properly cited. The complete bibliographic information, a link to the original publication on https://medinform.jmir.org/, as well as this copyright and license information must be included.

Repository JATS snapshot; version as supplied

Source retrieved: 2026-11-11T07:05:38.253742+00:00

DOI: 10.2196/58649 · PMC11769778