metricas
Enfermedades Infecciosas y Microbiología Clínica Machine learning prediction of 30-day mortality in adults with a positive blood ...
Información de la revista
Vol. 44. Núm. 9.
(Noviembre 2026)
Cita
Cita
Compartir
Descargar PDF
Más opciones de artículo
Visitas
576
Vol. 44. Núm. 9.
(Noviembre 2026)
Original article

Machine learning prediction of 30-day mortality in adults with a positive blood culture

Predicción de mortalidad a 30 días mediante aprendizaje automático en adultos con hemocultivo positivo
Visitas
576
Ivan Maraya,
Autor para correspondencia
ivanmaraymateos@gmail.com

Corresponding author.
, Pablo Valledorb, Javier Fernándezb,c
a Department of Pharmacy, Hospital Universitario Central de Asturias, Oviedo, Spain
b Research & Innovation, Artificial Intelligence and Statistical Department, Pragmatech AI Solutions, Oviedo, Spain
c Departamento de Biología Funcional, Universidad de Oviedo, Oviedo, Spain
Este artículo ha recibido
Información del artículo
Resumen
Texto completo
Bibliografía
Descargar PDF
Estadísticas
Abstract
Introduction

A positive blood culture is a clinically heterogeneous finding that may represent true bloodstream infection, transient bacteremia or contamination—diagnostic uncertainty that complicates early clinical decision-making. We aimed to develop and evaluate machine learning models to predict 30-day all-cause mortality in adults with a positive blood culture.

Methods

Retrospective cohort study using MIMIC-IV. Adult hospitalizations with at least one positive blood culture were included (first positive culture per admission); potential contaminants were retained to reflect real-world uncertainty. Demographic, clinical, laboratory, organ support and microbiological variables were used as predictors. Nine supervised machine learning algorithms were trained with repeated 10-fold cross-validation, evaluated in an independent test cohort and calibrated; thresholds were optimized with the Youden index.

Results

Of 5731 episodes, 742 patients (12.9%) died within 30 days. Test-set ROC AUC ranged from 0.759 to 0.801. After threshold optimization, the random forest model showed the best overall performance (sensitivity 0.788, specificity 0.707, balanced accuracy 0.748; Brier score 0.0999, calibration slope 1.03). ICU admission at onset, mechanical ventilation, bilirubin, urea and the Charlson comorbidity index were the main predictors.

Conclusions

Machine learning models can provide clinically meaningful early prediction of 30-day mortality in patients with a positive blood culture using routinely available data. Focusing on the moment of blood culture positivity rather than established sepsis syndromes, this approach supports early risk stratification in a diagnostically heterogeneous population.

Keywords:
Bacteremia
Blood culture
Machine learning
Mortality
Clinical prediction
Sepsis
Resumen
Introducción

Un hemocultivo positivo es un hallazgo clínicamente heterogéneo que puede corresponder a una bacteriemia verdadera, una bacteriemia transitoria o una contaminación—incertidumbre diagnóstica que dificulta la toma de decisiones clínicas tempranas. Nuestro objetivo fue desarrollar y evaluar modelos de aprendizaje automático para predecir la mortalidad por cualquier causa a 30 días en adultos con un hemocultivo positivo.

Métodos

Estudio de cohortes retrospectivo utilizando la base de datos MIMIC-IV. Se incluyeron hospitalizaciones de adultos con al menos un hemocultivo positivo (únicamente el primer hemocultivo positivo por ingreso); se conservaron los posibles contaminantes para reflejar la incertidumbre real. Se utilizaron como predictores variables demográficas, clínicas, analíticas, de soporte orgánico y microbiológicas. Se entrenaron nueve algoritmos supervisados de aprendizaje automático mediante validación cruzada 10-fold repetida, se evaluaron en una cohorte de test independiente y se calibraron; los umbrales se optimizaron con el índice de Youden.

Resultados

De 5.731 episodios, 742 pacientes (12,9%) fallecieron en los 30 días siguientes. El AUC de ROC en la cohorte de test osciló entre 0,759 y 0,801. Tras la optimización del umbral, el modelo Random Forest mostró el mejor rendimiento global (sensibilidad 0,788, especificidad 0,707, balanced accuracy 0,748; Brier score 0,0999, pendiente de calibración 1,03). Los principales predictores fueron el ingreso en UCI al inicio, la ventilación mecánica, la bilirrubina, la urea y el índice de comorbilidad de Charlson.

Conclusiones

Los modelos de aprendizaje automático pueden proporcionar una predicción clínicamente útil y temprana de la mortalidad a 30 días en pacientes con hemocultivo positivo empleando datos rutinariamente disponibles. Al centrarse en el momento del hemocultivo positivo, en lugar de en síndromes sépticos ya establecidos, este enfoque apoya la estratificación temprana del riesgo en una población diagnósticamente heterogénea.

Palabras clave:
Bacteriemia
Hemocultivo
Aprendizaje automático
Mortalidad
Predicción clínica
Sepsis

Artículo

Opciones para acceder a los textos completos de la publicación Enfermedades Infecciosas y Microbiología Clínica
Suscriptor
Suscriptor de la revista

Si ya tiene sus datos de acceso, clique aquí.

Si olvidó su clave de acceso puede recuperarla clicando aquí y seleccionando la opción "He olvidado mi contraseña".
Comprar
Comprar acceso al artículo

Comprando el artículo el PDF del mismo podrá ser descargado

Comprar ahora
Contactar
Teléfono para suscripciones e incidencias
De lunes a viernes de 9h a 18h (GMT+1) excepto los meses de julio y agosto que será de 9 a 15h
Llamadas desde España
932 415 960
Llamadas desde fuera de España
+34 932 415 960
E-mail
References
[1]
K.E. Rudd, S.C. Johnson, K.M. Agesa, et al.
Global, regional, and national sepsis incidence and mortality, 1990–2017: analysis for the Global Burden of Disease Study.
[2]
M. Cecconi, L. Evans, M. Levy, A. Rhodes.
Sepsis and septic shock.
[3]
M. Goto, M.N. Al-Hasan.
Overall burden of bloodstream infection and sepsis: epidemiology, microbiology, and outcomes.
Clin Microbiol Rev, 26 (2013), pp. 600-630
[4]
K.M. Kaukonen, M. Bailey, S. Suzuki, D. Pilcher, R. Bellomo.
Mortality related to severe sepsis and septic shock among critically ill patients.
N Engl J Med, 370 (2014), pp. 1629-1638
[5]
M. Singer, C.S. Deutschman, C.W. Seymour, et al.
The third international consensus definitions for sepsis and septic shock (sepsis-3).
JAMA, 315 (2016), pp. 801-810
[6]
J.T. Thaden, V.G. Fowler, D.J. Sexton, D.J. Anderson.
Increasing incidence of extended-spectrum β-lactamase-producing Escherichia coli in community hospitals throughout the Southeastern United States.
Clin Infect Dis, 63 (2016), pp. 1588-1593
[7]
S.L. Nielsen.
The incidence and prognosis of patients with bacteremia.
Danish Med J, 62 (2015), pp. B5128
[8]
K.K. Hall, J.A. Lyman.
Updated review of blood culture contamination.
Clin Microbiol Rev, 19 (2006), pp. 788-802
[9]
S. Dargère, H. Cormier, R. Verdon.
Contaminants in blood cultures: importance, implications, interpretation, and prevention.
Clin Microbiol Infect, 24 (2018), pp. 964-969
[10]
W.H. Self, T. Speroff, C.G. Grijalva, et al.
Reducing blood culture contamination in the emergency department: an interrupted time series quality improvement study.
JAMA Intern Med, 173 (2013), pp. 278-285
[11]
A.E.W. Johnson, T.J. Pollard, L. Shen, et al.
MIMIC-III, a freely accessible critical care database.
Sci Data, 3 (2016), pp. 160035
[12]
A.E.W. Johnson, L. Bulgarelli, T.J. Pollard, et al.
MIMIC-IV, a freely accessible electronic health record dataset.
[13]
A.L. Beam, I.S. Kohane.
Big data and machine learning in health care.
JAMA, 319 (2018), pp. 1317-1318
[14]
A. Rajkomar, J. Dean, I. Kohane.
Machine learning in medicine.
N Engl J Med, 380 (2019), pp. 1347-1358
[15]
R.J. Delahanty, J. Alvarez, L.M. Flynn, R.L. Sherwin, S.S. Jones.
Development and evaluation of a machine learning model for the early identification of patients at risk for sepsis.
Crit Care Med, 47 (2019), pp. 545-550
[16]
A.E. Johnson, M.M. Ghassemi, S. Nemati, K.E. Niehaus, D.A. Clifton, G.D. Clifford.
Machine learning and decision support in critical care.
Proc IEEE, 104 (2016), pp. 444-466
[17]
M. Bassetti, E. Righi, F. Ansaldi, et al.
A multicenter study of septic shock due to candidemia: outcomes and predictors of mortality.
Intensive Care Med, 40 (2014), pp. 839-845
[18]
B.J. Kullberg, M.C. Arendrup.
Invasive candidiasis.
N Engl J Med, 373 (2015), pp. 1445-1456
[19]
M. Pinholt, C. Østergaard, M. Arpi, et al.
Incidence, clinical characteristics and 30-day mortality of enterococcal bacteraemia in Denmark 2006–2009: a population-based cohort study.
Clin Microbiol Infect, 20 (2014), pp. 145-151
[20]
J.N. Lin, C.H. Lai, Y.H. Chen, et al.
Characteristics and outcomes of polymicrobial bloodstream infections in the emergency department: a matched case–control study.
Acad Emerg Med, 17 (2010), pp. 1072-1079
[21]
D. van Duin, D.L. Paterson.
Multidrug-resistant bacteria in the community: trends and lessons learned.
Infect Dis Clin North Am, 30 (2016), pp. 377-390
[22]
A. Kumar, D. Roberts, K.E. Wood, et al.
Duration of hypotension before initiation of effective antimicrobial therapy is the critical determinant of survival in human septic shock.
Crit Care Med, 34 (2006), pp. 1589-1596
[23]
F. Bloos, H. Rüddel, D. Thomas-Rüddel, et al.
Effect of a multifaceted educational intervention for anti-infectious measures on sepsis mortality: a cluster randomized trial.
Intensive Care Med, 43 (2017), pp. 1602-1612
asdasdasd
Opciones de artículo
Herramientas
Material suplementario