[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-125064-en":3,"doc-seo-125064-105":30,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":4,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":27,"seo_description":14,"update_tm":28,"read_time":29},125064,1099514068035,"Ezra","https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c",7,"Healthcare","Machine learning vs. regression models to predict the risk of Legionella contamination in a hospital water network","Periodic monitoring of Legionella in hospital water networks enables preventive actions that reduce the risk of legionellosis for patients and healthcare workers. The study standardizes a predictive approach for Legionella contamination risk by comparing machine learning with conventional and combined models using 2021–2022 water sampling, structural/environmental parameters, and model evaluation on held-out data. Results show higher accuracy and sensitivity for machine learning, informing future dataset expansion and validation.","Ann Ig. 2025 Jan-Feb; 37(1): 128-140 doi: 10.7416/ai.2024.2644 . Epub 2024 Jul 11.  \nMachine learning vs. regression models to predict the risk of Legionella contamination in a hospital water network  \nOsvalda De Giglio 1 , Fabrizio Fasano 1 , Giusy Diella 1 , Valentina Spagnuolo 1,2 , Francesco Triggiano 1 , Marco Lopuzzo 1,2 , Francesca Apollonio 1 , Carla Maria Leone3 , Maria Teresa Montagna 1  \nKeywords: Legionella; Machine learning; Water network; Hospital; Artificial Intelligence  \nParole chiave: Legionella; Machine Learning; Rete idrica; Ospedale; Intelligenza artificiale  \nAbstract  \nIntroduction. The periodic monitoring of Legionella in hospital water networks allows preventive measures to be taken to avoid the risk of legionellosis to patients and healthcare workers.  \nStudy design. The aim of the study is to standardize a method for predicting the risk of Legionella contamination in the water supply of a hospital facility, by comparing Machine Learning, conventional and combined models.  \nMethods. During the period July 2021– October 2022, water sampling for Legionella detection was performed in the rooms of an Italian hospital pavilion (89.9% of the total number of rooms). Fifty-eight parameters regarding the structural and environmental characteristics of the water network were collected. Models were built on 70% of the dataset and tested on the remaining 30% to evaluate accuracy, sensitivity, and specificity.  \nResults. A total of 1,053 water samples were analyzed and 57 (5.4%) were positive for Legionella. Of the Machine Learning models tested, the most efficient had an input layer (56 neurons), hidden layer (30 neurons), and output layer (two neurons). Accuracy was 93.4%, sensitivity was 43.8%, and specificity was 96%. The regression model had an accuracy of 82.9%, sensitivity of 20.3%, and specificity of 97.3%. The combination of the models achieved an accuracy of 82.3%, sensitivity of 22.4%, and specificity of 98.4%. The most important parameters that influenced the model results were the type of water network (hot/cold), the replacement of filter valves, and atmospheric temperature. Among the models tested, Machine Learning obtained the best results in terms of accuracy and sensitivity.  \nConclusions. Future studies are required to improve these predictive models by expanding the dataset using other parameters and other pavilions of the same hospital.  \n1 Interdisciplinary Department of Medicine, Hygiene Section, University of Bari Aldo Moro, Bari, Italy  \n2 Department of Precision and Regenerative Medicine and Ionian Area (DiMePre-J), University of Bari Aldo Moro, Bari, Italy  \n3 Azienda Ospedaliero Universitaria Policlinico di Bari, Hygiene Section, Bari, Italy  \nAnnali di Igiene : Medicina Preventiva e di Comunità (Ann Ig)  \nISSN 1120-9135 [https://www.annali-igiene.it](https://www.annali-igiene.it)  \nCopyright © Società Editrice Universo (SEU), Roma, Italy  \nMachine learning model to predict Legionella contamination 129  \nIntroduction  \nLegionella are Gram-negative bacteria that can colonize natural (e.g., rivers, lakes, and ponds) and artificial aquatic environments (e.g., drinking water systems, taps, faucets, showers, cooling towers, and fountains) (1) . After individuals inhale contaminated aerosols, they can develop various clinical forms of legionellosis, such as a flu-like illness (Pontiac fever) or severe pneumonia known as Legionnaires’disease (LD) (2) . The disease can be of community or nosocomial origin. In recent years, nosocomial legionellosis has attracted particular attention because of the complexity of hospital water systems and the vulnerability of hospitalized patients, which can lead to serious consequences with a high mortality rate (3) .  \nThe World Health Organization proposed the Water Safety Plan (WSP) in 2004 and revised it in subsequent years to both organize and systematize drinking water management practices and ensure the applicability of these practices to drinking water q","cbCaiqo4Y8c2vy8J","https://ap.wps.com/l/cbCaiqo4Y8c2vy8J","pdf",835907,1,13,"English","en",105,"# Introduction\n## Problem background and health impact\n## Water safety planning and regulatory context\n## Drivers of Legionella proliferation\n# Study design and methods\n## Sampling strategy and parameters collected\n## Model building and evaluation metrics\n# Results\n## Performance comparison across model types\n## Key influencing parameters\n# Conclusions","[{\"question\":\"What problem does the study address in hospital settings?\",\"answer\":\"It addresses how to predict the risk of Legionella contamination in a hospital water network so preventive measures can be taken for patients and healthcare workers.\"},{\"question\":\"How were the predictive models evaluated?\",\"answer\":\"Water sampling data collected between July 2021 and October 2022 were split into training (70%) and testing (30%) sets, and models were assessed using accuracy, sensitivity, and specificity.\"},{\"question\":\"Which modeling approach performed best and which factors influenced results most?\",\"answer\":\"Machine learning achieved the best overall performance in terms of accuracy and sensitivity. The most influential parameters included the water network type (hot/cold), replacement of filter valves, and atmospheric temperature.\"}]","Machine learning vs. regression models to predict the risk of Legionella contamination in a hospital water network | PDF",1785896433,33,{"code":4,"msg":31,"data":32},"ok",{"site_id":24,"language":23,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":28},"machine-learning-vs-regression-models-to-predict-the-risk-of-legionella-contamination-in-a-hospital-water-network","",{"@graph":36,"@context":85},[37,54,68],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/healthcare/",3,{"item":52,"name":13,"@type":43,"position":53},"https://docshare.wps.com/document/machine-learning-vs-regression-models-to-predict-the-risk-of-legionella-contamination-in-a-hospital-water-network/125064/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":23,"description":14,"dateModified":62,"datePublished":62,"encodingFormat":61,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":41,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-08-05",true,{"@type":65,"interactionType":66,"userInteractionCount":4},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"What problem does the study address in hospital settings?","Question",{"text":75,"@type":76},"It addresses how to predict the risk of Legionella contamination in a hospital water network so preventive measures can be taken for patients and healthcare workers.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"How were the predictive models evaluated?",{"text":80,"@type":76},"Water sampling data collected between July 2021 and October 2022 were split into training (70%) and testing (30%) sets, and models were assessed using accuracy, sensitivity, and specificity.",{"name":82,"@type":73,"acceptedAnswer":83},"Which modeling approach performed best and which factors influenced results most?",{"text":84,"@type":76},"Machine learning achieved the best overall performance in terms of accuracy and sensitivity. The most influential parameters included the water network type (hot/cold), replacement of filter valves, and atmospheric temperature.","https://schema.org",{"og:url":52,"og:type":87,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":89,"canonical":52},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":92},[93,97,101,105,110,115,118,123,128,131,135],{"id":20,"doc_module":4,"doc_module_name":46,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":46,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":46,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":111,"doc_module":4,"doc_module_name":46,"category_name":112,"show_sort_weight":113,"slug":114},6,"Technology",50,"technology",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":116,"slug":117},40,"healthcare",{"id":119,"doc_module":4,"doc_module_name":46,"category_name":120,"show_sort_weight":121,"slug":122},8,"Research & Report",30,"research-report",{"id":124,"doc_module":4,"doc_module_name":46,"category_name":125,"show_sort_weight":126,"slug":127},9,"Religion & Spirituality",20,"religion-spirituality",{"id":126,"doc_module":4,"doc_module_name":46,"category_name":129,"show_sort_weight":126,"slug":130},"World Cup","world-cup",{"id":132,"doc_module":4,"doc_module_name":46,"category_name":133,"show_sort_weight":132,"slug":134},10,"Lifestyle","lifestyle",{"id":136,"doc_module":4,"doc_module_name":46,"category_name":137,"show_sort_weight":106,"slug":138},19,"General","general"]