Revista Brasileira de Ginecologia e Obstetrícia2026

Diagnosing ectopic pregnancy using the bayes theorem and neural network: a validation of a retrospective cohort study

Larissa Maroni, Pedro Clarindo Silva Neto, Rafael Kunst e Ricardo Francalacci Savaris

em inglês

cita 16 obras

resumo

Abstract Objective: To evaluate the accuracy of neural networks and Naïve Bayes models in diagnosing ectopic pregnancy, using clinical data, hCG levels, and transvaginal ultrasound findings from a real dataset. Methods: This was a retrospective cohort study based on a public dataset of 2,495 first-trimester pregnant women with confirmed pregnancy under 13 weeks, documented transvaginal ultrasound reports, and follow-up on pregnancy outcome. The cohort presented a natural imbalance (8.5% ectopic, 91.5% intrauterine pregnancies), reflecting real-world clinical prevalence. Data on risk factors, clinical symptoms, ultrasound findings, and serial hCG levels were included. The dataset was preprocessed and split into training (80%) and testing (20%) sets using stratified sampling based on pregnancy outcome to preserve the proportion of ectopic cases in both sets. The main outcome measures were accuracy, sensitivity, specificity, and F1 score. Results: The neural network model achieved an accuracy of 99.4%, sensitivity of 94.6%, specificity of 97.2%, and an F1 score of 95.9%. The Naïve Bayes model showed an accuracy of 96.5%, sensitivity of 98.1%, specificity of 71.2%, and an F1 score of 82.5%. Both models were validated without evidence of overfitting. Conclusion: The neural network model demonstrated statistically significant superior accuracy and reliability in diagnosing ectopic pregnancy compared to the Naïve Bayes model (McNemar's test, p < 0.001), suggesting the potential of machine learning models, particularly deep learning, to enhance early diagnosis and clinical decision-making.

como citar · ABNT NBR 6023

MARONI, Larissa et al. Diagnosing ectopic pregnancy using the bayes theorem and neural network: a validation of a retrospective cohort study. Revista Brasileira de Ginecologia e Obstetrícia, 2026. DOI: 10.61622/RBGO/2026RBGO12.

Referências

16 obras citadas

  1. 1H Murray, H Baakdah, T Bardell e mais 1. Diagnosis and treatment of ectopic pregnancy. CMAJ, 2005quem mais cita →
  2. 2PC Brady. New evidence to guide ectopic pregnancy diagnosis and management. Obstet Gynecol Surv, 2017quem mais cita →
  3. 3E Layden e M Madhra. Ectopic pregnancy. Obstet Gynaecol Reprod Med, 2020quem mais cita →
  4. 4R Lee, C Dupuis, B Chen e mais 2. Diagnosing ectopic pregnancy in the emergency setting. Ultrasonography, 2018quem mais cita →
  5. 5F Al-Turjman e A Nayyar. Machine learning for critical Internet of medical things: applications and use cases. 2022quem mais cita →
  6. 6KA Tran, O Kondrashova, A Bradley e mais 3. Deep learning in cancer diagnosis, prognosis and treatment selection. Genome Med, 2021quem mais cita →
  7. 7A Awaysheh, J Wilcke, F Elvinger e mais 3. Review of medical decision support and machine-learning methods. Vet Pathol, 2019quem mais cita →
  8. 8CA Link, J Maissiat, BW Mol e mais 2. Diagnosing ectopic pregnancy using Bayes theorem: a retrospective cohort study. Fertil Steril, 2023quem mais cita →
  9. 9JM Kernbach e VE Staartjes. Foundations of machine learning-based clinical prediction modeling: Part II-generalization and overfitting. Acta Neurochir Suppl, 2022quem mais cita →
  10. 10R Savaris. Diagnosing ectopic pregnancy using the Bayes theorem: a retrospective cohort study. Harvard Dataverse [Submit for Review], 2021quem mais cita →
  11. 11J Demšar, T Curk, A Erjavec e mais 3. Orange: data mining toolbox in Python. J Mach Learn Res, 2013quem mais cita →
  12. 12P Rueangket, K Rittiluechai e A Prayote. Predictive analytical model for ectopic pregnancy diagnosis: Statistics vs. machine learning. Front Med, 2022quem mais cita →
  13. 13LR Suresh e SK Lakshmanan. Enhancing ectopic pregnancy detection: a machine learning approach using ultrasound imaging. J Chin Inst Eng, 2025quem mais cita →
  14. 14O Odabaş, AK Kanmaz, E Toz e mais 3. Development and validation of an AI-based decision support tool (PROMETHEUS) for predicting methotrexate success in ectopic pregnancy. Authorea [Preprint], 2025quem mais cita →
  15. 15SM Lundberg e SI Lee. A unified approach to interpreting model predictions. Advances in neural information processing systems, 2017quem mais cita →
  16. 16AL Beam e IS Kohane. Big data and machine learning in health care. JAMA, 2018quem mais cita →

Quem cita esta obra

nenhum artigo do acervo cita esta obra — ainda

É sua obra?

Receba um aviso quando um artigo novo citar este trabalho.

também serve para acompanhar o autor que você estuda
Acompanhar as citações