Predicting the risk of colonization of the birth canal in postpartum women by opportunistic pathogens and assessing the health threat to their newborns using machine learning methods

View or download the full article: 
UDC: 
618.3-022: 579.842.11
Authors: 

S.S. Smirnova1,2, Yu.S. Stagilskaya1,2, A.A. Kameneva1,2, D.D. Avdyunin1, N.N. Zhuikov1

Organization: 

1Federal Scientific Research Institute of Viral Infections «Virome», 23 Letnyaya St., Ekaterinburg, 620030, Russian Federation
2Ural State Medical University, 3 Repina St., Ekaterinburg, 620028, Russian Federation

Abstract: 

Colonization of the birth canal of postpartum women with resistant opportunistic microorganisms (OPs) is a key link in the development of infectious complications in the postpartum period and poses a threat to newborns. Classical methods of epidemiological analysis do not always allow taking into account complex interactions of risk factors. The aim of the study is to predict the risk of colonization of the birth canal of postpartum women with resistant strains of OPs and to assess the impact on outcomes in their newborns using machine learning.

We performed a retrospective analysis of 166 birth histories and exchange cards of pregnant women. Two analytical samples were formed: «Puerperants» (105 predictors) and «Newborns» (28 predictors). Classical statistics methods (Fisher’s exact test, relative risk) and five machine learning algorithms were used. The models were evaluated using Accuracy, Precision, Recall, F1-score, and ROC-AUC metrics; interpretation was performed using SHAP analysis.

The colonization rate was 60.2 % (100/166). Statistically significant risk factors were rural residence (RR = 1.68), low level of education (RR = 1.80), unemployment (RR = 1.74), unregistered marriage (RR = 1.76), history of abortions
(RR = 1.30), preterm birth (RR = 1.50), prolonged prenatal (RR = 1.65) and postpartum (RR = 3.43) hospitalization. The best predictive performance for the «Postpartum women» sample was shown by the Random Forest model (F1-score = 0.846; ROC-AUC = 0.842). Prematurity, diseases of the early neonatal period, and transfer to the intensive care unit were significantly more common in children born to mothers carrying resistant strains.

Colonization of the birth canal of postpartum women with resistant strains of OPs is associated with a complex of social, clinical and organizational factors. Machine learning methods allow constructing an effective predictive model and confirm the significant negative impact of maternal colonization on health of newborns.

Keywords: 
puerperant, newborns, opportunistic pathogenic microorganisms, antibiotic resistance, risk factors, machine learning, colonization, prediction
Smirnova S.S., Stagilskaya Yu.S., Kameneva A.A., Avdyunin D.D., Zhuikov N.N. Predicting the risk of colonization of the birth canal in postpartum women by opportunistic pathogens and assessing the health threat to their newborns using machine learning methods. Health Risk Analysis, 2026, no. 3, pp. 160–171. DOI: 10.21668/health.risk/2026.3.15.eng
References: 
  1. Sáez-López E., Guiral E., Fernández-Orth D., Villanueva S., Goncé A., López M., Teixidó I., Pericot A. [et al.]. Vag-inal versus Obstetric Infection Escherichia coli Isolates among Pregnant Women: Antimicrobial Resistance and Genetic Virulence Profile. PLoS One, 2016, vol. 11, no. 1, pp. e0146531. DOI: 10.1371/journal.pone.0146531
  2. Bebell L.M., Ngonzi J., Bazira J., Fajardo Y., Boatin A.A., Siedner M.J., Bassett I.V., Nyehangane D. [et al.]. Antimi-crobial-resistant infections among postpartum women at a Ugandan referral hospital. PLoS One, 2017, vol. 12, no. 4, pp. e0175456. DOI: 10.1371/journal.pone.0175456
  3. Ahrens K.A., Palmsten K., Grantham C.O., Lipkind H.S., Ackerman-Banks C.M. Acute health care utilization in the first 24 months postpartum by rurality and pregnancy complications: a prospective cohort study. Health Serv. Res., 2023. vol. 59, no. 1, pp. e14247. DOI: 10.1111/1475-6773.14247
  4. Frayne J. Editorial: The postnatal period. Aust. J. Gen. Pract., 2022, vol. 51, no. 3, pp. 101–102. DOI: 10.31128/AJGP-01-22-6295
  5. Sarwar A., Butt M.A., Hafeez S., Danish M.Z. Rapid emergence of antibacterial resistance by bacterial isolates from patients of gynecological infections in Punjab, Pakistan. J. Infect. Public Health, 2020, vol. 13, no. 12, pp. 1972–1980. DOI: 10.1016/j.jiph.2020.06.011
  6. Hryshchenko O. Pathogenetic effects of antibiotic resistance on a woman’s reproductive health. Infusion & Chemo-therapy, 2020, no. 3.2, pp. 66–68. DOI: 10.32902/2663-0338-2020-3.2-66-68
  7. Liao J., Shenhav L., Urban J.A., Serrano M., Zhu B., Buck G.A., Korem T. Microdiversity of the vaginal microbiome is associated with preterm birth. Nat. Commun., 2023, vol. 14, no. 1, pp. 4997. DOI: 10.1038/s41467-023-40719-7
  8. Egorov I.A., Smirnova S.S., Semenov A.V. Using inductive machine learning to identify risk factors for healthcare workers to get infected with highly contagious viruses (based on COVID-19 model). Health Risk Analysis, 2024, no. 2, pp. 122–131. DOI: 10.21668/health.risk/2024.2.11.eng
  9. Lundberg S.M., Lee S.I. A unified approach to interpreting model predictions. Proceedings of the 31st International Conference on Neural Information Processing Systems, New York, 4–9 December, 2017, pp. 4768–4777. DOI: 10.48550/arXiv.1705.07874
  10. Breiman L. Random Forests. Machine Learning, 2001, vol. 45, pp. 5–32. DOI: 10.1023/A:1010933404324
  11. Wiens J., Shenoy E.S. Machine Learning for Healthcare: On the Verge of a Major Shift in Healthcare Epidemiology. Clin. Infect. Dis., 2018, vol. 66, no. 1, pp. 149–153. DOI: 10.1093/cid/cix731
  12. Bates D.W., Saria S., Ohno-Machado L., Shah A., Escobar G. Big data in health care: using analytics to identify and manage high-risk and high-cost patients. Health Aff. (Millwood), 2014, vol. 33, no. 7, pp. 1123–1131. DOI: 10.1377/hlthaff.2014.0041
  13. Zhelnina T.P. Risk factors of the development of infections connected with the provision of medical assistance to the patients of an obstetric hospital. Meditsinskii al'manakh, 2017, no. 4 (49), pp. 37–40 (in Russian).
  14. Ain S.Q.U., Rather K.U.I. Integrated statistical modeling and machine learning techniques with SHAP for epidemio-logical data analysis. Ann. Epidemiol., 2025, vol. 108, pp. 85–91. DOI: 10.1016/j.annepidem.2025.06.012
  15. Chan G.J., Lee A.C.C., Baqui A.H., Tan J., Black R.E. Risk of early-onset neonatal infection with maternal infection or colonization: a global systematic review and meta-analysis. PLoS Med., 2013, vol. 10, no. 8, pp. e1001502. DOI: 10.1371/journal.pmed.1001502
  16. Topol E.J. High-performance medicine: the convergence of human and artificial intelligence. Nat. Med., 2019, vol. 25, no. 1, pp. 44–56. DOI: 10.1038/s41591-018-0300-7
  17. Sullivan B.A., Grundmeier R.W. Machine Learning Models as Early Warning Systems for Neonatal Infection. Clin. Perinatol., 2025, vol. 52, no. 1, pp. 167–183. DOI: 10.1016/j.clp.2024.10.011
  18. Chapuma C., Twabi H.H., Monk E.J.M., Jafali J., Weeks A., Beales E., Kulapani D., Selemani A. [et al.]. The aetiol-ogy and antimicrobial resistance of bacterial maternal infections in Sub-Saharan Africa – a systematic review and meta-analysis. BMC Infect. Dis., 2024, vol. 24, no. 1, pp. 978. DOI: 10.1186/s12879-024-09855-3
  19. Kainth D., Gupta A., Singh P., Prakash S., Thukral A., Deorari A., Kapoor M., Agarwal R. [et al.]. A machine learn-ing model for prediction of early-onset neonatal sepsis in low- and middle-income countries: Development and validation study: preprint. medRxiv, 2025. DOI: 10.1101/2025.09.20.25335989
  20. Zhao X., Yang M., Feng X., Zhao P., Zhu S., Liu K. The role of machine learning methods in assessing the risk of neonatal sepsis: A study of biochemical markers and genetic variants. Medicine (Baltimore), 2025, vol. 104, no. 41, pp. e45147. DOI: 10.1097/MD.0000000000045147
  21. Wen Y., Ming X., Yang J., Qi H. A simple predictive model for puerperal infections: emphasizing risk factors and pathogen analysis. Front. Cell. Infect. Microbiol., 2024, vol. 14, pp. 1464485. DOI: 10.3389/fcimb.2024.1464485
  22. Monari C., Onorato L., Coppola N., Raviglione M.C.B., Gon G. Burden of Antimicrobial Resistance Among Women with Post-Partum Infections in Low-Middle Income Countries: A Systematic Review. J. Epidemiol. Glob. Health, 2024, vol. 14, no. 2, pp. 274–290. DOI: 10.1007/s44197-024-00222-8
  23. Tan X., Zhang X., Chai J., Ji W., Ru J., Yang C., Zhou W., Bai J., Xiong Y. Constructing a predictive model for early-onset sepsis in neonatal intensive care unit newborns based on SHapley Additive exPlanations explainable machine learning. Transl. Pediatr., 2024, vol. 13, no. 11, pp. 1933–1946. DOI: 10.21037/tp-24-278
  24. Mithal L.B., Sajwani A., Aaron A., Shuai W., Kremer A., Watson A.D., Sumner J.T., Castro Manzano V.C. [et al.]. Maternal Colonization, Perinatal Exposure, and Neonatal Acquisition of Resistant Enterobacterales. Open Forum Infect. Dis., 2023, vol. 13, no. 1, pp. ofaf769. DOI: 10.1093/ofid/ofaf769
  25. Shulakova N.I., Tutelyan A.V., Maleev V.V., Akimkin V.G. Risks of HAIs: problems and pitfalls. Health Risk Anal-ysis, 2023, no. 2, pp. 104–114. DOI: 10.21668/health.risk/2023.2.10.eng
  26. Villinger D., Schultze T.G., Musyoki V., Inwani I., Aluvaala J., Okutoyi L., Ziegler A.-H., Wieters I. [et al.]. Genomic transmission analysis of multidrug-resistant Gram-negative bacteria within a newborn unit of a Kenyan tertiary hospital: A four-month prospective colonization study. Front. Cell. Infect. Microbiol., 2022, vol. 12, pp. 892126. DOI: 10.3389/fcimb.2022.892126
  27. Wu G.S., Hossain H., Amin M.B., Parveen S., Islam M.A., Sraboni A.S., Pervez A.F.M., Zeba D. [et al.]. Perinatal colonization with extended-spectrum beta-lactamase-producing and carbapenem-resistant gram-negative bacteria among home births in Bangladesh. PLoS One, 2025, vol. 20, no. 9, pp. e0325404. DOI: 10.1371/journal.pone.0325404
  28. Shao Y., Forster S.C., Tsaliki E., Vervier K., Strang A., Simpson N., Kumar N., Stares M.D. [et al.]. Stunted micro-biota and opportunistic pathogen colonisation in caesarean section birth. Nature, 2019, vol. 574, no. 7776, pp. 117–121. DOI: 10.1038/s41586-019-1560-1
  29. Styczynski A., Amin M.B., Hoque K.I., Parveen S., Pervez A.F.M., Zeba D., Akhter A., Pitchik H. [et al.]. Perinatal colonization with extended-spectrum beta-lactamase-producing and carbapenem-resistant Gram-negative bacteria: a hospital-based cohort study. Antimicrob. Resist. Infect. Control, 2024, vol. 13, no. 1, pp. 13. DOI: 10.1186/s13756-024-01366-9
  30. O’Sullivan C., Tsai D.H.-T., Wu I.C.-Y., Boselli E., Hughes C., Padmanabhan D., Hsia Y. Machine learning applications on neonatal sepsis treatment: a scoping review. BMC Infect. Dis., 2023, vol. 23, no. 1, pp. 441. DOI: 10.1186/s12879-023-08409-3
  31. Sakagianni A., Koufopoulou C., Feretzakis G., Kalles D., Verykios V.S., Myrianthefs P., Fildisis G. Using Machine Learning to Predict Antimicrobial Resistance – A Literature Review. Antibiotics (Basel), 2023, vol. 12, no. 3, pp. 452. DOI: 10.3390/antibiotics12030452
  32. Ardila C.M., González-Arroyave D., Tobón S. Machine learning for predicting antimicrobial resistance in critical and high-priority pathogens: A systematic review considering antimicrobial susceptibility tests in real-world healthcare settings. PLoS One, 2025, vol. 20, no. 3, pp. e0319460. DOI: 10.1371/journal.pone.0319460
  33. Tang R., Luo R., Tang S., Song H., Chen X. Machine learning in predicting antimicrobial resistance: a systematic re-view and meta-analysis. Int. J. Antimicrob. Agents, 2022, vol. 60, no. 5–6, pp. 106684. DOI: 10.1016/j.ijantimicag.2022.106684
  34. Carvalho-Brugger S., Miralbés Torner M., Jiménez G.J., Vidal M.V., Garrido B.B., Casals X.N., Martínez M.P., Ca-bello J.T. Machine Learning Models to Establish the Risk of Being a Carrier of Multidrug-Resistant Bacteria upon Admission to the ICU. Antibiotics (Basel), 2025, vol. 14, no. 9, pp. 889. DOI: 10.3390/antibiotics14090889
  35. Goodman K.E., Simner P.J., Klein E.Y., Kazmi A.Q., Gadala A., Toerper M.F., Levin S., Tamma P.D. [et al.]. Pre-dicting probability of perirectal colonization with carbapenem-resistant Enterobacteriaceae (CRE) and other carbapenem-resistant organisms (CROs) at hospital unit admission. Infect. Control Hosp. Epidemiol., 2019, vol. 40, no. 5, pp. 541–550. DOI: 10.1017/ice.2019.42
  36. Yassour M., Jason E., Hogstrom L.J., Arthur T.D., Tripathi S., Siljander H., Selvenius J., Oikarinen S. [et al.]. Strain-Level Analysis of Mother-to-Child Bacterial Transmission during the First Few Months of Life. Cell Host Microbe, 2018, vol. 24, no. 1, pp. 146–154.e4. DOI: 10.1016/j.chom.2018.06.007
  37. McMahon S., Franklin S., Galloway-Peña J. Utilization of machine learning to predict antibiotic resistant event out-comes in acute myeloid leukemia patients undergoing induction chemotherapy. Front. Cell. Infect. Microbiol., 2025, vol. 15, pp. 1629422. DOI: 10.3389/fcimb.2025.1629422
  38. Nsubuga M., Galiwango R., Jjingo D., Mboowa G. Generalizability of machine learning in predicting antimicrobial re-sistance in E. coli: a multi-country case study in Africa. BMC Genomics, 2024, vol. 25, no. 1, pp. 287. DOI: 10.1186/s12864-024-10214-4
  39. Mithal L.B., Sajwani A., Aron A., Shuai W., Kremer A., Watson A.D., Sumner J.T., Manzano V.C.C. [et al.]. Mater-nal Colonization, Perinatal Exposure, and Neonatal Acquisition of Resistant Enterobacterales. Open Forum Infect. Dis., 2026, vol. 13, no. 1, pp. ofaf769. DOI: 10.1093/ofid/ofaf769
  40. Bautista J., López-Cortés A. Microbial beginnings: determinants and disruptions of the neonatal microbiome. Front. Microbiol., 2025, vol. 16, pp. 1672780. DOI: 10.3389/fmicb.2025.1672780
Received: 
15.04.2026
Approved: 
29.05.2026
Accepted for publication: 
28.06.2026

You are here