Related Experiment Video
Updated: Jan 8, 2026

Preparation and Testing of Impedance-based Fluidic Biochips with RTgill-W1 Cells for Rapid Evaluation of Drinking Water Samples for Toxicity
Published on: March 7, 2016
Using machine learning to predict heavy metal concentrations and induced health risks in drinking water distribution
Hui Zhang1, Tao Wan2, Xuechun Li3
1School of Environmental and Municipal Engineering, Xi'an University of Architecture and Technology, Xi'an 710055, China.
Abstract:
Although most pollutants are removed during water treatment, residual heavy metals can enter drinking water distribution systems (DWDSs), posing a significant challenge for ensuring drinking water safety. This study investigated the levels of Mn, Al, Zn, Cd, Pb, and As in DWDSs and water quality parameters from 31 major cities in China between 2019 and 2024. Three machine learning models were employed for predicting heavy metal concentrations, including Random Forest (RF), EXtreme Gradient Boosting (XGBoost), and Adaptive Boosting (ADB). Health risk was assessed using the USEPA method and Monte Carlo simulation (10,000 iterations). Through a comprehensive hyperparameter optimization, XGBoost demonstrated superior predictive capability for Al, Zn, Cd, and As levels (R2 > 0.80), while RF achieved the highest accuracy for Mn and Pb concentration prediction (R2 > 0.55). Optimized XGBoost and RF significantly outperformed AdaBoost, validating their robustness and suitability for this complex prediction task. SHapley Additive explanations (SHAP), feature importance analysis, and Partial Dependence Plot (PDP) identified nitrate concentration as the primary driver for Mn, Zn, Cd, and As levels. Both non-carcinogenic risks induced by Mn, Al, and Zn and carcinogenic risks of Cd, Pb, and As were within the acceptable levels. The highest non-carcinogenic risk was observed in children, while adults faced carcinogenic risks 7.7-9.0 times higher than other groups.

