Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

Building a reliable coagulant dosage prediction framework for water purification processes using CatBoost and explainable AI (XAI)

Domain:

environment and energy

Record type:

paper
Creator:
KhaIl-AmeFra
Publisher:
Taylor & Francis
Host:avatar
Coagulant dosage modelling has been widely investigated in the literature; however, existing methods often operate as black boxes, failing to provide clear practical explanations for decision-makers. To address this limitation, this study introduces an interpretable framework using SHAP and LIME to highlight the underlying practical problems. Furthermore, this is the first study of its kind in Algeria, bridging a critical regional gap in the literature. Yet, we investigate the application of boosting machine learning models to predict coagulant dose at the Taksebt drinking water treatment plant. Herein we compare between: (i) multiple linear regression (MLR), (ii) random forest regression (RFR), (iii) adaptive boosting (AdaBoost), (iv) categorical boosting (CatBoost), (v) gradient boosted regression trees (GBRT), (vi) Histogram Gradient Boosting (HistGBRT), (vii) Light Gradient Boosting Machine (LightGBM), (viii) Natural Gradient Boosting (NGBoost), and (ix) eXtreme Gradient Boosting (XGBoost). All models were trained using daily measured water quality variables, while aluminium sulphate (Al2(SO4)3·18H2O) was the coagulant dose. The predictive performance was evaluated using root-mean-square error (RMSE), mean absolute error (MAE), Nash-Sutcliffe efficiency (NSE), and the correlation coefficient (R). Global and local model interpretability were conducted using SHAP and LIME, thereby enabling feature importance ranking. To determine whether the observed differences among models were statistically meaningful, two complementary statistical tests were applied: the Diebold-Mariano test and the Kruskal-Walli’s test. The results indicate that CatBoost delivered the most accurate predictions, achieving R, NSE, RMSE, and MAE values of 0.922, 0.849, 2.498, and 1.702 mg/L, respectively, and significantly outperforming the MLR model, which yielded an R of 0.713, a NSE value of 0.507, RMSE of 4.510 mg/L, and MAE of 3.576 mg/L, respectively. Based on SHAP analysis, UV254 was identified as the most influential feature, contributing 24% to the model predictions, whereas COU showed a negligible effect, accounting for only 5%. Highlights Boosting models for coagulant dosage prediction. CatBoost provided the best numerical performances. UV254 was the most influential raw water quality variable. SHAP and LIME for model interpretability.

Visit

doi.org

Tags

Environmental Sciences not elsewhere classifiedBiological Sciences not elsewhere classifiedInformation Systems not elsewhere classifiedMathematical Sciences not elsewhere classified

Licenses

Creative Commons Attribution 4.0 Internationalhttps://creativecommons.org/licenses/by/4.0/legalcode

Similar

Sunflower (Helianthus annuus) seeds as a natural coagulant for water turbidity treatment: assessment of efficacy and dosageDetermination of optimum coagulant dosage in the treatment of abattoir wastewater, using calcium hydroxide as coagulantExplainable AI: XAI-Guided Context-Aware Data Augmentationdralexbevan/water-quality-prediction-catboost-time-seriesAI-Based Water Quality Classifier and Dosage Recommendation System Using Zeolite A, Alum, Hydrogel, and Titanium DioxideA Novel Multi-Driver Explainable AI (XAI) Framework for Predicting African Precipitation Extremes at Grid-Cell Resolution: Insights from 15 Climate Drivers over Africa

Sunflower (Helianthus annuus) seeds as a natural coagulant for water turbidity treatment: assessment of efficacy and dosage

Abstract The quality of river and borehole water fluctuates because of both agricultural and indust

Determination of optimum coagulant dosage in the treatment of abattoir wastewater, using calcium hydroxide as coagulant

This research was carried out to evaluate the effective and efficient treatment of abattoir wastewat

Explainable AI: XAI-Guided Context-Aware Data Augmentation

Explainable AI (XAI) has emerged as a powerful tool for improving the performance of AI models, goin

dralexbevan/water-quality-prediction-catboost-time-series

Part of EY Challenge 2026 to create ML water quality predictor for South Africa. Involved 9K samples

AI-Based Water Quality Classifier and Dosage Recommendation System Using Zeolite A, Alum, Hydrogel, and Titanium Dioxide

AI-Powered Water Quality Classifier and Dosage Recommender This dataset and model release is part o

A Novel Multi-Driver Explainable AI (XAI) Framework for Predicting African Precipitation Extremes at Grid-Cell Resolution: Insights from 15 Climate Drivers over Africa

Extreme precipitation is growing more frequent and severe in many regions worldwide, increasing risk