Prediction of hospital-acquired influenza using machine learning algorithms: a comparative study
- PMID: 38698304
- PMCID: PMC11067145
- DOI: 10.1186/s12879-024-09358-1
Prediction of hospital-acquired influenza using machine learning algorithms: a comparative study
Abstract
Background: Hospital-acquired influenza (HAI) is under-recognized despite its high morbidity and poor health outcomes. The early detection of HAI is crucial for curbing its transmission in hospital settings.
Aim: This study aimed to investigate factors related to HAI, develop predictive models, and subsequently compare them to identify the best performing machine learning algorithm for predicting the occurrence of HAI.
Methods: This retrospective observational study was conducted in 2022 and included 111 HAI and 73,748 non-HAI patients from the 2011-2012 and 2019-2020 influenza seasons. General characteristics, comorbidities, vital signs, laboratory and chest X-ray results, and room information within the electronic medical record were analysed. Logistic Regression (LR), Random Forest (RF), Extreme Gradient Boosting (XGB), and Artificial Neural Network (ANN) techniques were used to construct the predictive models. Employing randomized allocation, 80% of the dataset constituted the training set, and the remaining 20% comprised the test set. The performance of the developed models was assessed using metrics such as the area under the receiver operating characteristic curve (AUC), the count of false negatives (FN), and the determination of feature importance.
Results: Patients with HAI demonstrated notable differences in general characteristics, comorbidities, vital signs, laboratory findings, chest X-ray result, and room status compared to non-HAI patients. Among the developed models, the RF model demonstrated the best performance taking into account both the AUC (83.3%) and the occurrence of FN (four). The most influential factors for prediction were staying in double rooms, followed by vital signs and laboratory results.
Conclusion: This study revealed the characteristics of patients with HAI and emphasized the role of ventilation in reducing influenza incidence. These findings can aid hospitals in devising infection prevention strategies, and the application of machine learning-based predictive models especially RF can enable early intervention to mitigate the spread of influenza in healthcare settings.
Keywords: Cross infection; Influenza, Human; Logistic models; Machine learning; Patient’s rooms; Random forest.
© 2024. The Author(s).
Conflict of interest statement
The authors declare no competing interests.
Figures



Similar articles
-
Constructing a screening model to identify patients at high risk of hospital-acquired influenza on admission to hospital.Front Public Health. 2025 Apr 16;13:1495794. doi: 10.3389/fpubh.2025.1495794. eCollection 2025. Front Public Health. 2025. PMID: 40308921 Free PMC article.
-
[Construction of a predictive model for in-hospital mortality of sepsis patients in intensive care unit based on machine learning].Zhonghua Wei Zhong Bing Ji Jiu Yi Xue. 2023 Jul;35(7):696-701. doi: 10.3760/cma.j.cn121430-20221219-01104. Zhonghua Wei Zhong Bing Ji Jiu Yi Xue. 2023. PMID: 37545445 Chinese.
-
Application value of the automated machine learning model based on modified CT index combined with serological indices in the early prediction of lung cancer.Front Public Health. 2024 Apr 5;12:1368217. doi: 10.3389/fpubh.2024.1368217. eCollection 2024. Front Public Health. 2024. PMID: 38645446 Free PMC article.
-
Can machine learning predict pharmacotherapy outcomes? An application study in osteoporosis.Comput Methods Programs Biomed. 2022 Oct;225:107028. doi: 10.1016/j.cmpb.2022.107028. Epub 2022 Jul 21. Comput Methods Programs Biomed. 2022. PMID: 35930862
-
A Machine Learning Approach to Predicting Need for Hospitalization for Pediatric Asthma Exacerbation at the Time of Emergency Department Triage.Acad Emerg Med. 2018 Dec;25(12):1463-1470. doi: 10.1111/acem.13655. Epub 2018 Nov 29. Acad Emerg Med. 2018. PMID: 30382605
Cited by
-
Clinical Characteristics of Patients With Respiratory Infections After Nonpharmacological Interventions for COVID-19 in China Have Ended: Using Machine Learning Approaches to Support Pathogen Prediction at Admission.Immun Inflamm Dis. 2025 Aug;13(8):e70237. doi: 10.1002/iid3.70237. Immun Inflamm Dis. 2025. PMID: 40778490 Free PMC article.
-
Constructing a screening model to identify patients at high risk of hospital-acquired influenza on admission to hospital.Front Public Health. 2025 Apr 16;13:1495794. doi: 10.3389/fpubh.2025.1495794. eCollection 2025. Front Public Health. 2025. PMID: 40308921 Free PMC article.
-
Optimal thresholds and key parameters for predicting influenza A virus transmission events in ferrets.Npj Viruses. 2024;2(1):64. doi: 10.1038/s44298-024-00074-w. Epub 2024 Dec 9. Npj Viruses. 2024. PMID: 39664046 Free PMC article.
References
-
- Godoy P, Torner N, Soldevila N, Rius C, Jane M, Martinez A, Cayla JA, Dominguez A. Working Group on the surveillance of severe influenza hospitalized cases in C: hospital-acquired influenza infections detected by a surveillance system over six seasons, from 2010/2011 to 2015/2016. BMC Infect Dis. 2020;20(1):80. doi: 10.1186/s12879-020-4792-7. - DOI - PMC - PubMed
-
- Alvarez-Lerma F, Marin-Corral J, Vila C, Masclans JR, Loeches IM, Barbadillo S, Gonzalez de Molina FJ, Rodriguez A, Group HNGSS. Characteristics of patients with hospital-acquired influenza A (H1N1)pdm09 virus admitted to the intensive care unit. J Hosp Infect. 2017;95(2):200–6. doi: 10.1016/j.jhin.2016.12.017. - DOI - PubMed
Publication types
MeSH terms
LinkOut - more resources
Full Text Sources
Medical
Miscellaneous