Back to search

McGill University

Development and evaluation of a machine learning model for early dynamic prediction of emergency caesarean section during labour

Abstract

dc:description.abstract

Background: Emergency caesarean section (ECS) is a time-sensitive obstetrical intervention performed when labour becomes unsafe to continue. Delays in recognising escalating intrapartum risk, particularly in the presence of fetal compromise, are associated with severe neonatal morbidity and long-term disability. Early recognition of patients at risk is crucial to support proactive clinical management and improve maternal and fetal outcomes. However, most existing prediction tools rely on static antenatal or admission data, limiting their ability to reflect changes in risk as labour progresses. Machine learning (ML) models that incorporate time-varying intrapartum data may improve early detection and preparedness for urgent surgical intervention.Objectives: This thesis aims to develop and internally validate a dynamic ML model that predicts the need for ECS using both admission characteristics and evolving intrapartum variables during admission for labour and delivery. A secondary objective is to characterise predictor influence on model predictions and its evolution over time using SHapley Additive exPlanations (SHAP).Methods: We analysed routinely collected electronic health record data from 13,320 deliveries at the Royal Victoria Hospital between April 2017 and December 2023. The cohort included pregnant individuals aged ≥18 years with singleton pregnancies. Exclusion criteria included scheduled caesarean section, gestational age < 34 weeks, invalid admission or delivery timestamps, and absence of a documented cervical examination during labour. The resulting analytic dataset included over 2.5 million unique observations, which were processed to train and internally validate an XGBoost model that incorporated demographic, clinical, and physiological data from admission onwards to predict the need for ECS. Predictions were updated bi-hourly until delivery or the documented decision for ECS. SHapley Additive exPlanations (SHAP) were applied to quantify and visualise the contribution of individual predictors to model outputs over time. Results: On admission, our model achieved an AUROC of 0.787 (95% CI 0.755–0.820), reaching 0.858 (95% CI 0.827–0.889) at 2 hours before the decision to operate. At the final available prediction, AUROC peaked at 0.917 (95% CI 0.893–0.938). Positive predictive value (PPV) improved from 27.8% at admission to 53.4% at final prediction, while negative predictive value (NPV) consistently remained above 90% throughout labour timepoints. Based on mean explanatory weights, key predictors included parity, maternal age, cervical examination findings, attempting vaginal birth after caesarean (VBAC), and time since admission. SHAP analysis demonstrated temporal shifts in feature importance, capturing how predictors differentially influenced risk at successive stages of labour. Conclusions: A dynamic ML model integrating baseline and evolving intrapartum factors can predict ECS with clinically meaningful performance before the decision point for surgery. Incorporation of such a model into real-time clinical decision support systems (CDSS) could facilitate earlier preparation, optimise resource mobilisation, and improve patient-clinician communication. Prospective multi-centre validation is warranted before clinical implementation

Degree

thesis:*
Name thesis:degree_name
Master of Science
Grantor dc:publisher
McGill University
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Yang, Maggie
Advisors dc:contributor.advisor
  • David Buckeridge (Supervisor1)
  • Robin Genuer (Supervisor2)

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • All items in eScholarship@McGill are protected by copyright with all rights reserved unless otherwise indicated.
Language dc:language.iso
en

Identifiers

dc:identifier.*
OCLC
1600266691
Dc Identifier Other
hyrax:v405sh73d

Chain of custody

source
Harvested from
McGill University
Base URL
mcgill.scholaris.ca/server/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Yang, Maggie. Development and evaluation of a machine learning model for early dynamic prediction of emergency caesarean section during labour. McGill University, 2026. https://doi.org/10.82308/55375