A data-driven early warning system for Escherichia coli in water based on microbial community analysis using flow cytometry 2D histograms

• Machine learning combined with flow cytometry can indicate microbial water quality. • Binary classification of Escherichia coli in bathing water yielded an accuracy of 80 %. • A two-threshold model, making only safe predictions, boosted accuracy up to 87 %. Traditional methods for microbial water quality testing take up to two days to produce results, putting humans in contact with this water risk during this period. Flow cytometry, including with online capacity, is a fast and efficient way to profile microbes in water. In this study, Escherichia coli concentrations determined by Colilert18 and flow cytometry profiles from the same water samples were taken from sixteen bathing locations in Southern Sweden. Applying machine learning algorithms confirmed correlations and identified patterns in the microbial community described by the flow cytometry 2D histograms associated with the presence of E. coli . A Random Forest algorithm was best in discriminating between water containing > 100 CFU/100 mL and water containing < 100 CFU/100 mL E. coli when compared to logistic regression and support vector machines, improving prediction accuracy to 80 % from a baseline approach of 55 % when using optimised parameters. The introduction of a two-threshold model, which only considered safe predictions, further improved accuracy to 87 % by utilizing the prediction probability information in random forest. This approach, however, could only predict 65 % of the samples. A feature importance ranking using random forest identified the most important region within the flow cytometric 2D histogram for classification. This study suggests machine learning can leverage microbial community information from flow cytometry, that when combined with established methods quantifying indicators, can rapidly assess microbial water quality as an early warning system that complements traditional approaches.

Authors

Institutions

Publication Details

Journal
Water Research X
Published
2025-08-29
DOI
https://doi.org/10.1016/j.wroa.2025.100404
Primary Topic
Vibrio bacteria research studies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A data-driven early warning system for Escherichia coli in water based on microbial community analysis using flow cytometry 2D histograms

Elisabet Lindberg, Catherine J. Paul, Isabel K. Erb, Niklas Gador et al.
Water Research X
Vibrio bacteria research studies
article

A data-driven early warning system for Escherichia coli in water based on microbial community analysis using flow cytometry 2D histograms

Elisabet Lindberg, Catherine J. Paul, Isabel K. Erb, Niklas Gador, Moa Jinbäck
article en

Abstract

• Machine learning combined with flow cytometry can indicate microbial water quality. • Binary classification of Escherichia coli in bathing water yielded an accuracy of 80 %. • A two-threshold model, making only safe predictions, boosted accuracy up to 87 %. Traditional methods for microbial water quality testing take up to two days to produce results, putting humans in contact with this water risk during this period. Flow cytometry, including with online capacity, is a fast and efficient way to profile microbes in water. In this study, Escherichia coli concentrations determined by Colilert18 and flow cytometry profiles from the same water samples were taken from sixteen bathing locations in Southern Sweden. Applying machine learning algorithms confirmed correlations and identified patterns in the microbial community described by the flow cytometry 2D histograms associated with the presence of E. coli . A Random Forest algorithm was best in discriminating between water containing > 100 CFU/100 mL and water containing < 100 CFU/100 mL E. coli when compared to logistic regression and support vector machines, improving prediction accuracy to 80 % from a baseline approach of 55 % when using optimised parameters. The introduction of a two-threshold model, which only considered safe predictions, further improved accuracy to 87 % by utilizing the prediction probability information in random forest. This approach, however, could only predict 65 % of the samples. A feature importance ranking using random forest identified the most important region within the flow cytometric 2D histogram for classification. This study suggests machine learning can leverage microbial community information from flow cytometry, that when combined with established methods quantifying indicators, can rapidly assess microbial water quality as an early warning system that complements traditional approaches.

Water Research XVol. 29
Lund University (SE), Kristianstad University (SE), Sweden Water Research (Sweden) (SE), Helsingborgs lasarett (SE)
Clean water and sanitation
Openalex Percentile: Top 81%
Vibrio bacteria research studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.