Skip to main navigation Skip to search Skip to main content

Machine Learning for Prediction of High-Risk Infections in Patients With Cancer

  • Alexander Djupnes Fuglkjær*
  • , Mathias Holmsgaard Eskesen
  • , Mikkel Werling
  • , Mikkel Runason Simonsen
  • , Laurids Østergaard Poulsen
  • , Carsten Utoft Niemann
  • , Paw Jensen
  • , Kirstine Kobberøe Søgaard
  • , Frederik Christensen
  • , Izabela Ewa Nielsen
  • , Tarec Christoffer El-Galaly
  • *Corresponding author for this work

Abstract

Purpose: Infectious complications in patients with cancer are contributors to hospitalisations, treatment disruption, and mortality. This study aimed to develop machine learning (ML) models for risk stratification of infection-related hospitalisations (IRHs) among patients with cancer. Methods: Adult patients diagnosed with and treated for lymphoma, multiple myeloma (MM), chronic lymphocytic leukaemia (CLL), colorectal, or lung cancer from 2013 to 2023 in the North Denmark Region were included. Data from national cancer registries and patient health records were used. Serious infections were defined as sepsis, positive blood culture, intensive care admission, or death during hospitalisation. Models were developed using multiple ML methodologies across three different data setups: ML—using data up to hospital admission; ML48—using data up to 48 h after admission; and ML48,reduced—a pruned version of ML48 with fewer features. Data were split into training, validation and held-out test sets. Results: Among 9874 patients 2661 IRHs occurred, including 691 (21.5%) serious infections. On the held-out test set, ML achieved the best performance (ROC-AUC: 0.79) versus ML48 (0.76), with ML48 having higher specificity at matched sensitivity (50.9% vs 44.9% for sensitivity ~85%). ML48,reduced reached a ROC-AUC of 0.75 (specificity 46.5% at sensitivity ~85%). Subgroup analysis showed the best performance for lymphoma (ROC-AUC: 0.86) and lowest for lung cancer (ROC-AUC: 0.73). The model performed better in patients with ECOG score 0–1 compared to ≥ 2 (ROC-AUC 0.88 vs. 0.77). SHAP analysis identified previous blood cultures, carbamide, and neutrophil counts as key predictive features across all models. Conclusion: The ML models showed moderate performance in risk stratification of IRHs in patients with cancer. Such models could provide decision support in hospitalisation decisions and discharge.

Original languageEnglish
Article numbere72116
JournalCancer Medicine
Volume15
Issue number7
Number of pages13
ISSN2045-7634
DOIs
Publication statusPublished - Jul 2026

Keywords

  • haematological malignancies
  • infections risk prediction
  • machine learning
  • precision oncology
  • risk stratification
  • solid tumours

Fingerprint

Dive into the research topics of 'Machine Learning for Prediction of High-Risk Infections in Patients With Cancer'. Together they form a unique fingerprint.

Cite this