Interpretable machine learning for nitrate and phosphate prediction in the Mar Menor watershed, Spain, under data-scarce conditions
2026 (English)In: Journal of Hydrology: Regional Studies, E-ISSN 2214-5818, Vol. 65, article id 103403
Article in journal (Refereed) Published
Abstract [en]
AbstractStudy regionThe Albujón watershed (Spain) is a semi-arid basin dominated by intensive irrigated agriculture. It is the primary drainage system for the Mar Menor, Europe’s largest hypersaline lagoon, representing a critical ecosystem under severe anthropogenic stress.Study focusTo address nutrient-monitoring challenges in data-scarce Mediterranean catchments, this study evaluates the interpretable machine learning (ML) against the traditional LOADEST framework. Four tree-based algorithms (Decision Tree, Random Forest, Gradient Boosting, and XGBoost) were developed to estimate nitrate and phosphate concentrations using predictors robust to irregular sampling (streamflow, conductivity, year, and day-of-year). A non-time-series modelling was adopted to overcome data-scarcity. SHAP (SHapley Additive exPlanations) was applied to interpret the best-performing model and quantify the relative influence of hydrological and temporal predictors.New hydrological insights for the regionXGBoost achieved strong predictive accuracy on unseen data (NSE = 0.66 for both nitrate and phosphate), with cross-validation uncertainty of ±0.05 and ±0.15. SHAP analysis revealed nutrient-specific patterns in the statistical predictors. Nitrate estimates were strongly influenced by conductivity and interannual trends, while phosphate variability was associated with conductivity and seasonality, indicating the importance of ionic conditions and temporal patterns in this ephemeral system. These findings provide the first interpretable, data-driven characterisation of nutrient behaviour in the Albujón watershed and demonstrate how ML interpretability can support water-quality management in Mediterranean coastal basins where traditional approaches struggle with irregular-sampling and non-stationarity.
Place, publisher, year, edition, pages
Elsevier BV , 2026. Vol. 65, article id 103403
Keywords [en]
Data-scarce modelling, Mar Menor Lagoon, Nitrate estimation, Phosphate estimation, SHAP analysis, Tree-based machine learning
National Category
Oceanography, Hydrology and Water Resources Computer Sciences
Identifiers
URN: urn:nbn:se:kth:diva-380127DOI: 10.1016/j.ejrh.2026.103403ISI: 001736784200001Scopus ID: 2-s2.0-105034763595OAI: oai:DiVA.org:kth-380127DiVA, id: diva2:2055231
Note
QC 20260423
2026-04-232026-04-232026-04-23Bibliographically approved