Machine learning for predicting coliform concentrations at Montevideo beaches : Identifying key environmental drivers for coastal water quality management

Armand-Ugon, Pablo - Goliatt, Leonardo - Castro, Alberto - Gorgoglione, Angela

Resumen:

Monitoring microbial water quality at recreational beaches is essential to safeguard public health, with fecal coliforms serving as key indicators of contamination. This study applies machine learning (ML) techniques to predict fecal coliform concentrations at Montevideo’s urban beaches, aiming to support proactive and data-driven coastal water quality management. Using an extensive monitoring dataset, we developed and calibrated five ML models to predict continuous fecal coliform levels, improving upon traditional threshold-based methods. Among these, Random Forest (RF) and Histogram-based Gradient Boosting (HGB) models showed very good predictive performance, with RF yielding the most consistent estimates of microbial contamination and HGB showing comparable accuracy but higher predictive uncertainty. The models were optimized using cross-validation and Optuna, with mean squared error as the loss function. Feature importance analysis using SHAP values revealed that Enterococcus concentrations were the most influential predictor, followed by water temperature and salinity. Seasonal patterns in coliform levels were also identified, likely linked to fluctuations in water temperature. These findings provide actionable insights into the dynamics of microbial contamination and highlight the potential of ML models for early warning systems, adaptive monitoring, and improved risk communication. This integrative approach not only enhances predictive performance but also advances our understanding of the environmental processes influencing water quality in urban coastal systems.

Detalles Bibliográficos
2025
Esta investigación fue financiada por la Agencia Nacional de Investigación e Innovación (ANII), Proyecto número VCT-1-2024-2-184149.
Fecal coliforms
Machine learning
Beach water quality
Hydroinformatics
Inglés
Universidad de la República
COLIBRI
https://www.mdpi.com/2673-4834/6/4/147
https://hdl.handle.net/20.500.12008/52550
Acceso abierto
Licencia Creative Commons Atribución (CC - By 4.0)