Skip to content
Open access

An explainable, uncertainty-aware ensemble soft-sensor for real-time dissolved oxygen estimation in rivers from routine in-situ monitoring streams

Aug 2026 · Ecological Engineering & Environmental Technology · Vol 27, pp. 431-437 · 0 citations · 15 references

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 PDF

Similar papers

Open access Sep 2026

Advancing Near-Term Water Quality Forecasting with Explainable Machine Learning and Probabilistic Uncertainty Quantification

An end-to-end framework integrating an extreme gradient boosting (XGBoost) ML with automated hyperparameter optimization, bootstrap-ensemble uncertainty quantification, and interpretability through SHapley additive exPlanations (SHAP), which was applied to forecast phytoplankton in a water-supply reservoir.

R. Shukla, Cayelan C. Carey, Adrienne Breef-Pilz et al. · 0 citations
Aug 2026

Monitoring and Temporal Prediction of Groundwater Quality using data Obtained via Probe sampling

Despite advances in microelectronics and IoT (Internet of Things) that enable low-cost telemetry sensors, most environmental agencies still operate with periodic in situ sampling campaigns, characterized by sparse, irregular data and a high rate of missing values. While analytically reliable, this data was designed for...

Eduarda Neves da Silva, Filipe Bento Magalhjães, W. Salcedo · 0 citations
Review Open access Aug 2026

Machine Learning-Based Prediction of River Water Quality: A Streeter-Phelps-Grounded Simulation Framework and Comparative Model Evaluation

River water quality is governed by the interaction of hydrology, temperature-dependent biochemical kinetics, and episodic pollution loading, making both long-term trend characterization and short-term event forecasting central problems in civil and environmental engineering. This paper (i) reviews the classical Streete...

Divyansh Mishra, R. Mishra, R. Agarwal · 0 citations
#edge computing Open access Sep 2026

Development of a low-cost dissolved oxygen estimation model using calibrated arduino-based sensors

Conventional river water quality monitoring is often constrained by high operational costs and maintenance-intensive sensors. To address these limitations, this study proposes a low-cost framework for estimating dissolved oxygen (DO) concentrations without direct DO probes by deploying an Arduino-based multi-sensor arr...

Merve Sürmen, Mehmet Kazım Yetik · 0 citations
Review Open access Sep 2026

Estimation of dissolved oxygen in reservoirs from UAV-drone, Sentinel-2 and Landsat-9 multisensor data using stacked-ensemble machine learning: review and case study experimental results

Accurate prediction of dissolved oxygen (DO) in reservoir systems is essential for assessing aquatic ecosystem health and informing water management decisions. This study develops and validates a stacked ensemble machine learning (SE-ML) modeling framework for estimating DO concentrations in a dam water reservoir by co...

Y. Ouma, P. Odirile · 0 citations
Review Open access Nov 2026

An online drift-aware digital twin for regenerative wastewater systems: Conformal water-quality risk and rainfall-forced early warning from live sensor telemetry

Digital twins for wastewater systems are normally fitted once and then frozen. That is a reasonable simplification while process conditions, sensor behaviour and weather patterns remain close to the training period, but it can fail si - lently when they move. This paper reports RT-ReGenTwin, an online digital twin that...

C. Manjunath, P. Shankaraiah, G. M. Reddy et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.