Interpretable machine learning for seasonal nitrate and total phosphorus concentrations integrating hydrologic, land-use, and ecological indicators.
Gbenga Daniels, Meghna Rajbhandari, Amanda Carneiro Marques
Department of Civil, Architectural, and Environmental Engineering, Drexel University, Philadelphia, PA, 19104, USA. · Department of Civil, Architectural, and Environmental Engineering, Drexel University, Philadelphia, PA, 19104, USA. Electronic address: ac4547@drexel.edu.
Key points
From the paper's conclusion- This study developed an interpretable machine-learning framework to predict seasonal nitrate and total phosphorus concentrations across seven watersheds in southeastern Pennsylvania using observations from 2002 to 2024.
Abstract
Diffuse nutrient pollution remains difficult to assess because nutrient concentrations reflect interacting watershed, hydrochemical, ecological, and hydrologic conditions that vary across space and time. Although machine-learning models incorporate multiple environmental predictors, the contribution of different predictor domains can be difficult to distinguish when all variables are evaluated simultaneously. This study developed an interpretable machine-learning framework to predict seasonal nitrate and total phosphorus concentrations across seven watersheds in southeastern Pennsylvania using observations from 2002 to 2024. Physicochemical, land-cover, ecological, climatic, and hydrologic information were progressively integrated through four predictor scenarios, allowing the added predictive value of each domain to be evaluated. Random Forest and Extreme Gradient Boosting (XGBoost) models were independently optimized for each scenario. Predictive performance improved as broader environmental information was incorporated, with the largest gain occurring after land-cover variables were added to the physicochemical baseline. The environmental-only M4 XGBoost models achieved test R2 values of 0.858 for nitrate and 0.770 for total phosphorus, with RMSE values of 0.624 and 0.170 mg L-1, respectively. Repeated site-stratified validation of the nitrate M4 model yielded a mean test R2 of 0.834 ± 0.026, indicating stable performance across alternative partitions. SHapley Additive exPlanations identified forest cover, developed land cover, and specific conductance as dominant predictors for both nutrients, while discharge contributed more strongly to nitrate and dissolved oxygen to total phosphorus prediction. These reveal that land-cover composition offers significant prognostic insights beyond in-stream conditions, whereas hydrochemical and hydrologic factors aid in differentiating nutrient-specific trends. The framework could guide the prioritizing of watershed monitoring and the evaluation of nutrient dynamics.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Enhancing public water management through interpretable machine learning: A random forest-SHAP analysis of spatio-temporal pH predictionDesalination and Water Treatment · 2026
- When and why nutrients move: A data-driven approach to understanding seasonal risk of nutrient loss in an agriculturally dominant intensively managed watershed.Journal of environmental management · 2026
- Enhancing reservoir water quality simulation through machine learning-driven remote sensing integration with EFDC: a coupled framework for eutrophication management in data-scarce regionsScientific Reports · 2026
- Heterogeneous stacking ensembles with SHAP-derived diversity weighting for high-frequency virtual sensing of riverine nutrients across contrasting catchmentsJournal of Water Process Engineering · 2026
- Deep learning framework for mapping nitrate pollution in coastal aquifers under land use pressureScientific Reports · 2025
- A machine learning approach to estimating nitrate-nitrogen concentrations in shallow groundwater across New Zealand.Chemosphere · 2026