Machine learning based prediction of suicidal behaviors in patients with perinatal depression: a nationwide register-based cohort study

Introduction Previous results show that women who suffered from perinatal depression (PND) have a higher risk of suicidal behavior. However, clinical tools for predicting suicidal behavior among patients with PND are lacking. Objectives To develop a prediction model for suicidal behavior after PND using machine learning. Methods Leveraging nationwide Swedish register data, we included 57,848 women with PND diagnosed during 2001-2018 and identified 2,303 events of suicidal behavior up to 5 years after PND diagnosis. Based on our previous association studies, 16 predictors containing information on demographics and pregnancy characteristics were included after multiple imputation. The sample was randomly split into 80% as a training set and 20% for testing. Classification and Regression Tree (CART), Random Forest (RF), Naïve Bayes (NB) and Logistic regression (LR) were used to establish prediction models with area under the curve (AUC) assessed for prediction performance. 10-fold cross-validation was used to evaluate the algorithms on unseen data. Results In the prediction models, the CART yielded the best performance for suicidal behavior within 5 years after PND diagnosis (AUC 0.78, 95% CI 0.76-0.81). The population that scored highest (17%) in CART model had 84% risk of suicidal behavior. LR also had a comparable performance (AUC 0.78, 95% CI 0.76-0.81), whereas RF (AUC 0.74, 95% CI 0.72-0.76) and NB (AUC 0.70, 95% CI 0.68-0.72) had relatively poor performance. Notably, suicide history was a main contributor in all four models. Other predictors like household income, gestational age and education level were also important indicators of suicidal behavior risk. Conclusions The machine learning models have promising prediction performance for suicidal behavior after PND. Yet, further improvement is needed before clinical implementation. Disclosure of Interest None Declared

Authors

Publication Details

Journal
European Psychiatry
Published
2025-04-01
DOI
https://doi.org/10.1192/j.eurpsy.2025.338
Primary Topic
Maternal Mental Health During Pregnancy and Postpartum
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Machine learning based prediction of suicidal behaviors in patients with perinatal depression: a nationwide register-based cohort study

Emma Bränn, Donghao Lu, Elgeta Hysaj, Yü Huang
European Psychiatry
Maternal Mental Health During Pregnancy and Postpartum
article

Machine learning based prediction of suicidal behaviors in patients with perinatal depression: a nationwide register-based cohort study

Emma Bränn, Donghao Lu, Elgeta Hysaj, Yü Huang
article en

Abstract

Introduction Previous results show that women who suffered from perinatal depression (PND) have a higher risk of suicidal behavior. However, clinical tools for predicting suicidal behavior among patients with PND are lacking. Objectives To develop a prediction model for suicidal behavior after PND using machine learning. Methods Leveraging nationwide Swedish register data, we included 57,848 women with PND diagnosed during 2001-2018 and identified 2,303 events of suicidal behavior up to 5 years after PND diagnosis. Based on our previous association studies, 16 predictors containing information on demographics and pregnancy characteristics were included after multiple imputation. The sample was randomly split into 80% as a training set and 20% for testing. Classification and Regression Tree (CART), Random Forest (RF), Naïve Bayes (NB) and Logistic regression (LR) were used to establish prediction models with area under the curve (AUC) assessed for prediction performance. 10-fold cross-validation was used to evaluate the algorithms on unseen data. Results In the prediction models, the CART yielded the best performance for suicidal behavior within 5 years after PND diagnosis (AUC 0.78, 95% CI 0.76-0.81). The population that scored highest (17%) in CART model had 84% risk of suicidal behavior. LR also had a comparable performance (AUC 0.78, 95% CI 0.76-0.81), whereas RF (AUC 0.74, 95% CI 0.72-0.76) and NB (AUC 0.70, 95% CI 0.68-0.72) had relatively poor performance. Notably, suicide history was a main contributor in all four models. Other predictors like household income, gestational age and education level were also important indicators of suicidal behavior risk. Conclusions The machine learning models have promising prediction performance for suicidal behavior after PND. Yet, further improvement is needed before clinical implementation. Disclosure of Interest None Declared

European PsychiatryVol. 68(S1)
Openalex Percentile: Top 67%
Maternal Mental Health During Pregnancy and Postpartum
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Machine learning based prediction of suicidal behaviors in patients with perinatal depression: a nationwide register-based cohort study — Emma Bränn, Donghao Lu, et al. · European Psychiatry (2025) | TGRS Research Map | TGRS