Related Experiment Video
Updated: Oct 17, 2025

Automatic Image Processing to Determine the Community Size Structure of Riverine Macroinvertebrates
Published on: January 13, 2023
Development of Predictive Models for "Very Poor" Beach Water Quality Gradings Using Class-Imbalance Learning
Jiuhao Guo1, Joseph H W Lee2,3
1Department of Civil and Environmental Engineering, The Hong Kong University of Science and Technology, Clear Water Bay, Kowloon, Hong Kong, China.
Abstract:
Statistical water quality forecast models are useful tools to assist with beach management. In particular, multiple linear regression (MLR) models have been successfully developed for prediction of fecal indicator bacteria concentrations for beaches in river, lake, and marine environments. Nevertheless, an unresolved challenging issue is the reliable prediction of infrequent events of high bacterial concentrations to inform beach closure decisions to protect public health. The number of field data available for the infrequent events is typically an order of magnitude less than that for days when the water quality criterion is met-MLR models often perform poorly in predicting bacterial concentrations on days when the beaches should be closed. For beach management in Hong Kong, MLR models have been developed to predict beach water quality indices in terms of four gradings (BWQI-1 to 4) based on Escherichia coli (E. coli) concentrations. In this study, we propose an artificial intelligence (AI)-based binary classification (EasyEnsemble) model using class-imbalance learning to predict "very poor" occasions (BWQI-4)-when E. coli concentration exceeds 610 counts/100 mL. Models are developed for three marine beaches with different hydrographic and pollution characteristics using a 30 year data set spanning three periods with different water quality status. The model-data comparison over a wide range of conditions shows that the proposed method results in a significant improvement in the prediction of "very poor" water quality. The proposed class-imbalance method for predicting rare events has an F-score of 0.84, and it significantly outperforms MLR and classification tree (CT) models with corresponding F-scores of 0.39 and 0.69. A robust beach water quality forecast system can hence be developed using hybrid MLR-binary classification modeling.
Related Concept Videos
Testing Water Quality
Quality of Water
Design Example: Aggregate Gradation
The grading, or particle-size distribution, of sand is determined using sieve analysis, with standard sizes ranging from 150 μm to 10 mm (ASTM No. 100 sieve to 3⁄8 in. sieve). Sand is...
Design Example: Maintaining Level of an Embankment
Survival Tree
Building a Survival Tree
Constructing a...
Design Example: Analyzing Capacity Contours for Flood Risk Assessment

