Prediction of post-delivery hemoglobin levels with machine learning algorithms

Sci Rep. 2024 Jun 17;14(1):13953. doi: 10.1038/s41598-024-64278-z.

Abstract

Predicting postpartum hemorrhage (PPH) before delivery is crucial for enhancing patient outcomes, enabling timely transfer and implementation of prophylactic therapies. We attempted to utilize machine learning (ML) using basic pre-labor clinical data and laboratory measurements to predict postpartum Hemoglobin (Hb) in non-complicated singleton pregnancies. The local databases of two academic care centers on patient delivery were incorporated into the current study. Patients with preexisting coagulopathy, traumatic cases, and allogenic blood transfusion were excluded from all analyses. The association of pre-delivery variables with 24-h post-delivery hemoglobin level was evaluated using feature selection with Elastic Net regression and Random Forest algorithms. A suite of ML algorithms was employed to predict post-delivery Hb levels. Out of 2051 pregnant women, 1974 were included in the final analysis. After data pre-processing and redundant variable removal, the top predictors selected via feature selection for predicting post-delivery Hb were parity (B: 0.09 [0.05-0.12]), gestational age, pre-delivery hemoglobin (B:0.83 [0.80-0.85]) and fibrinogen levels (B:0.01 [0.01-0.01]), and pre-labor platelet count (B*1000: 0.77 [0.30-1.23]). Among the trained algorithms, artificial neural network provided the most accurate model (Root mean squared error: 0.62), which was subsequently deployed as a web-based calculator: https://predictivecalculators.shinyapps.io/ANN-HB . The current study shows that ML models could be utilized as accurate predictors of indirect measures of PPH and can be readily incorporated into healthcare systems. Further studies with heterogenous population-based samples may further improve the generalizability of these models.

Keywords: Artificial intelligence; Extreme gradient boosting; Machine learning; Multilayer perceptron; Postpartum hemorrhage; Support vector machine.

MeSH terms

  • Adult
  • Algorithms*
  • Delivery, Obstetric
  • Female
  • Hemoglobins* / analysis
  • Hemoglobins* / metabolism
  • Humans
  • Machine Learning*
  • Postpartum Hemorrhage / blood
  • Postpartum Period / blood
  • Pregnancy

Substances

  • Hemoglobins