Explainable ensemble machine learning for dissolved oxygen prediction in a reservoir using SHAP and chord diagram analysis
Omid Yazdan Panah, Motahareh Saadatpour
Iran University of Science and Technology
Key points
From the paper's conclusion- Overall, by replacing “black-box” simulation with highly interpretable models, the proposed framework ensures both accuracy and transparency, offering a practical, transferable tool for proactive reservoir water quality management.
Abstract
Dissolved oxygen (DO) is a key indicator of reservoir water quality and ecosystem integrity. The dynamics of DO are governed by complex physical, chemical, and biological reactions such as thermal stratification, nutrient interactions, photosynthesis, respiration, and microbial decomposition of algae biomass, surface oxygen aeration, and sediment oxygen demand (SOD), making accurate simulation challenging. This study proposes an integrated machine learning framework for DO prediction in the Javeh Reservoir by combining ensemble learning models, explainable Artificial Intelligence, and network-based visualization. Six models (Random Forest, XGBoost, Hist Gradient Boosting, Extra Trees, MLP, and SVR) were optimized using five-day averaged water quality flux, hydrological, hydraulics, and meteorological data. The prediction results were evaluated using statistical measures, MAE, RMSE and Nash–Sutcliffe efficiency (NSE). Among the tested models, ET achieved the best predictive performance (MAE = 0.3465 mg/L, RMSE = 0.5997 mg/L, NSE = 0.9655), indicating excellent agreement between observed and predicted DO values. To enhance interpretability, SHapley Additive exPlanations (SHAP) was applied to the best-performing model. The results highlight air temperature, inflow fluxes of DO, phosphate, ammonium, and outflow discharge as dominant drivers of DO variability, reflecting combined thermal forcing and biogeochemical oxygen-demand processes. In addition, a Chord-diagram connectivity visualization was used to summarize DO linkages with top predictors, providing a complementary network-oriented view of model explanations. Overall, by replacing “black-box” simulation with highly interpretable models, the proposed framework ensures both accuracy and transparency, offering a practical, transferable tool for proactive reservoir water quality management.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Short-term forecasting of daily dissolved oxygen in streams using SWAT, remote sensing and explainable machine learningEnvironmental Modelling & Software · 2026
- Operational agricultural water management in river-based aquaculture: A machine-learning approach to predict dissolved oxygen in the Halda River, BangladeshAquacultural Engineering · 2026
- An explainable, uncertainty-aware ensemble soft-sensor for real-time dissolved oxygen estimation in rivers from routine in-situ monitoring streamsEcological Engineering & Environmental Technology · 2026
- High Accuracy Dissolved Oxygen Prediction in Water Quality Analysis with A‐XG‐Q Hybrid ModelNew Zealand Journal of Marine and Freshwater Research · 2026
- Enhancing public water management through interpretable machine learning: A random forest-SHAP analysis of spatio-temporal pH predictionDesalination and Water Treatment · 2026
- Unveiling the Patterns and Drivers of Global Riverine Dissolved Oxygen via a Transformer-Based Deep LearningWater · 2026