An explainable, uncertainty-aware ensemble soft-sensor for real-time dissolved oxygen estimation in rivers from routine in-situ monitoring streams
Lakkireddy Venkateswara Reddy, C. Manjunath, M. Mallikarjuna Rao, S. Rahamat Basha, D. Venkatesh, D.V. Bhaskar, V. Narahari, Talari Manohar
Key points
From the paper's conclusion- Dissolved oxygen (DO) is the single most informative indicator of the ecological state of running waters, yet the optical probes used to record it are also the most prone to fouling, drift and outright failure among the routine sensors deployed at gauging stations.The resulting gaps interrupt exactly the early-warning function that continuous monitoring is meant to serve.This study develops a DO s
Abstract
Dissolved oxygen (DO) is the single most informative indicator of the ecological state of running waters, yet the optical probes used to record it are also the most prone to fouling, drift and outright failure among the routine sensors deployed at gauging stations.The resulting gaps interrupt exactly the early-warning function that continuous monitoring is meant to serve.This study develops a DO soft-sensor that reconstructs the concentration from the more robust and inexpensive variables recorded alongside it -water temperature and discharge -without recourse to the DO record itself, so that it remains usable while the oxygen probe is offline.A compact set of physically motivated predictors, including the temperature-dependent oxygen-solubility term of Benson and Krause, seasonal harmonics and short-memory hydrological statistics, is passed to a non-negativity-constrained stacked ensemble that combines five tree-based learners through a super-learner meta-model.The framework is evaluated on a nine-year daily record (n = 3357; 2012-2021) from a large lowland river under a strictly chronological train-validation-test partition.On the held-out final 504 days the ensemble attains R² = 0.877, RMSE = 0.697 mg L⁻¹, Nash-Sutcliffe efficiency 0.877 and Kling-Gupta efficiency 0.899, improving on a temperature-only physical baseline (RMSE 0.942 mg L⁻¹) and on multiple linear regression, and performing on par with the best individual learner while providing a single robust predictor.SHAP attribution recovers the correct physical hierarchy -the smoothed water-temperature signal and oxygen solubility dominate, with discharge and seasonality secondary -confirming that the model is physically consistent rather than an opaque fit.Split-conformal prediction intervals deliver near-nominal empirical coverage (0.82, 0.90 and 0.93 against nominal 0.80, 0.90 and 0.95), and the reconstructed series flags low-DO days with a recall of 0.97 and an F₁score of 0.85.A rolling-origin backtest over four successive out-of-period blocks confirms that this performance is not an artefact of a single split, with a mean out-of-period R² of 0.854.The complete computational pipeline, the exact data-retrieval script, the preprocessed feature matrix, all model predictions with intervals, the SHAP values and the pinned software environment are released so that every table and figure below can be regenerated with a single command.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Operational agricultural water management in river-based aquaculture: A machine-learning approach to predict dissolved oxygen in the Halda River, BangladeshAquacultural Engineering · 2026
- Short-term forecasting of daily dissolved oxygen in streams using SWAT, remote sensing and explainable machine learningEnvironmental Modelling & Software · 2026
- Explainable ensemble machine learning for dissolved oxygen prediction in a reservoir using SHAP and chord diagram analysisScientific Reports · 2026
- Unveiling the Patterns and Drivers of Global Riverine Dissolved Oxygen via a Transformer-Based Deep LearningWater · 2026
- High Accuracy Dissolved Oxygen Prediction in Water Quality Analysis with A‐XG‐Q Hybrid ModelNew Zealand Journal of Marine and Freshwater Research · 2026
- Water quality index prediction via a robust machine learning model using oxygen-related indices for river water quality monitoringScientific Reports · 2026