Related Experiment Video
Updated: Sep 10, 2025

Watershed Planning within a Quantitative Scenario Analysis Framework
Published on: July 24, 2016
Predicting water quality index using stacked ensemble regression and SHAP based explainable artificial intelligence.
Rakesh Choudhary1, Ajay Kumar2, Priyadharsini C3
1Department of Civil Engineering, National Institute of Technology Delhi, New Delhi, 110036, India. environmentrakesh@gmail.com.
This study introduces a novel stacked ensemble model for forecasting the Water Quality Index (WQI), achieving high accuracy. Explainable AI (XAI) identified key water quality parameters, enhancing water resource management and public health.
Area of Science:
- Environmental Science
- Data Science
- Water Resource Management
Background:
- Accurate Water Quality Index (WQI) forecasting is crucial for effective water resource management and public health protection.
- Existing forecasting methods often lack interpretability and high predictive accuracy.
- Physicochemical parameters are key indicators of river water quality.
Purpose of the Study:
- To develop and validate a novel stacked regression ensemble model for WQI forecasting.
- To integrate Explainable Artificial Intelligence (XAI) for model interpretability.
- To identify the most influential physicochemical parameters for WQI prediction.
Main Methods:
- A stacked ensemble model was developed using six machine learning algorithms (XGBoost, CatBoost, Random Forest, Gradient Boosting, Extra Trees, AdaBoost) with Linear Regression as the meta-learner.
- The model was trained on 1,987 Indian river water quality samples (2005-2014) using seven normalized physicochemical parameters.
- SHAP (Shapley Additive explanations) was employed for model interpretability and feature importance analysis.
Main Results:
- The stacked ensemble model achieved superior performance with R² of 0.9952, Adjusted R² of 0.9947, MAE of 0.7637, and RMSE of 1.0704.
- Individual models CatBoost and Gradient Boosting showed strong standalone performance.
- SHAP analysis identified Dissolved Oxygen (DO), Biochemical Oxygen Demand (BOD), conductivity, and pH as the most influential parameters for WQI prediction.
Conclusions:
- The proposed stacked ensemble model with XAI offers high predictive accuracy and interpretability for WQI forecasting.
- This approach enhances real-time environmental monitoring and supports automated policy frameworks.
- The findings build stakeholder confidence in water resource sustainability through improved forecasting and transparency.
More Related Videos
05:47Evidence-based Knowledge Synthesis and Hypothesis Validation: Navigating Biomedical Knowledge Bases via Explainable AI and Agentic Systems
Published on: June 13, 2025
12:26Integrating Remote Sensing with Species Distribution Models; Mapping Tamarisk Invasions Using the Software for Assisted Habitat Modeling SAHM
Published on: October 11, 2016
Related Concept Videos
Multiple Regression
Farmers can use multiple regression to determine the crop yield based on more than one factor, such as water availability, fertilizer, soil properties, etc. Here, the crop yield is the response or dependent variable as it depends on the other independent variables. The analysis requires the construction of a scatter plot...
Steps in Outbreak Investigation
Testing Water Quality
Quality of Water
Prediction Intervals
However, the point estimate is most likely not the exact value of the population parameter, but close to it. After calculating point estimates, we construct interval estimates, called confidence intervals or prediction intervals. This prediction interval comprises a range of values unlike the point estimate and is a better predictor of the observed sample value, y.
Predicting Reaction Outcomes