Skip to content

Spatial prediction of coastal groundwater nitrate using combined feature selection and explainable machine learning.

Oct 2026 · Journal of Environmental Management · Vol 419, pp. 131222 · 0 citations · 54 references
Medicine

TL;DR

Findings support groundwater nitrate spatial identification, water quality assessment and regional groundwater resource protection.

Abstract

Groundwater nitrate contamination is an important issue affecting groundwater quality and safety. Accurate prediction of groundwater nitrate concentrations and identification of key influencing factors are of great significance for groundwater pollution prevention and water resource management. Taking the lower reaches of the Huangshui River as the study area, 452 groundwater samples collected in July 2023 were used to predict groundwater NO3--N concentrations by integrating Spearman correlation analysis, self-organizing map (SOM)-Boruta feature selection, Random Forest (RF), Extreme Gradient Boosting (XGBoost), RF-XGBoost stacking modeling, SHapley Additive exPlanations (SHAP), and geographic information system (GIS)-based spatial mapping. The dataset was divided into 361 training samples and 91 independent test samples, and model robustness was further assessed through cross-validation and 1000 repeated resampling runs. The SOM-Boruta method selected eight key variables: TDS, SO42-, TH, Cl-, NH3-N, COD, F- and pH. All three models showed good predictive ability, with the RF-XGBoost stacking model yielding the most favorable test-set performance (R2 = 0.881, RMSE = 13.266 mg/L, MAE = 9.284 mg/L).SHAP analysis identified TDS as the predictor with the highest contribution to model predictions across the three models. GIS-based RF-XGBoost prediction showed groundwater NO3--N concentrations ranging from 5.31 to 59.83 mg/L, with higher values in the north, lower values in the south and transitional values in the central area. These findings support groundwater nitrate spatial identification, water quality assessment and regional groundwater resource protection.

View source

Similar papers

Open access Oct 2026

Accurate Monthly Estimation of Shallow Groundwater Depth in Arid Oasis Regions Driven by Multi-Source Data and Machine Learning

Accurate estimation of shallow groundwater depth (SGWD) is crucial for ecological security in arid oases. However, sparse monitoring wells and strong spatiotemporal heterogeneity hinder reliable monthly estimation. Traditional interpolation methods struggle to capture complex environmental drivers in anthropogenically...

Xiao-Bing Wang, Mireguli Ainiwaer, Aizemaitijiang Maimaitituersun et al. · 0 citations
Open access Oct 2026

Machine Learning-Based Groundwater Level Simulation for Industrial Water Management: A Comparative Study of ARIMA, BP-ANN and Random Forest

Timely and accurate simulation of regional groundwater level dynamics is critical to guarantee stable water supply for agricultural production and manufacturing sectors in arid semi-arid loess regions. This study adopts Variable Projection Importance (VPI) to screen feature variables controlling groundwater fluctuation...

Cui-Xiang Jia, Bin Lu, Peng-Jun Bai · 0 citations
Open access Oct 2026

Comparative evaluation of statistical and machine learning models for spatiotemporal groundwater level forecasting in a climate-sensitive coastal aquifer

The groundwater resources of the climate sensitive coastal area of Bangladesh are getting more and more sensitive to climate variability and anthropogenic stresses, and thus reliable forecasting and spatial assessment are needed for sustainable management. This study aimed to explore the spatiotemporal dynamics of the...

Tajwar Taskin, Sajia Afrin Munia, H. Rasel · 1 citation
Open access Sep 2026

Machine Learning Approaches for Groundwater Salinity Prediction Under Salt Dome Influence in Arid Regions

Groundwater salinization near salt domes is a major threat to water resources in arid and semi-arid plains, causing a persistent decline in water quality worldwide. Machine learning offers an effective approach for evaluating this risk. This study tested three algorithms—Artificial Neural Network (ANN), Support Vector...

A. Kavian, F. Abedi, L. Gholami et al. · 0 citations
Open access Oct 2026

Ensemble Learning for Predicting Groundwater Iron and Manganese Distribution and Identifying Potential Environmental Controls in an Arid Irrigated Region

The enrichment of iron (Fe) and manganese (Mn) in arid groundwater is jointly influenced by multi-source environmental processes, which complicates the delineation of their spatial risks using traditional methods. Taking the Yinchuan Plain as the study area, 228 groundwater samples collected in 2021 were integrated wit...

Yong-Zhen Peng, Xian-Bin Zhu, Jie Gao 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.