Smart Ensemble Learning Framework for Predicting Groundwater Heavy Metal Pollution
摘要
Groundwater in the Densu Basin is increasingly threatened by heavy metal contamination, yet conventional assessment methods struggle to capture the statistical complexity and spatial heterogeneity of pollution indicators. A critical challenge lies in modelling the Heavy Metal Pollution Index (HPI), which is typically skewed and influenced by correlated contaminants, leading to biased predictions when modelled without transformation. This study develops a predictive framework that integrates response transformations with nested cross-validated ensemble machine learning to address these limitations. Three transformations; raw, log, and Gaussian copula, were applied to HPI and evaluated across six learners: support vector regression (SVM), k-nearest neighbours (k-NN), CART, Elastic Net, kernel ridge regression, and a stacked Lasso ensemble. Diagnostic evaluation showed that raw-scale models produced deceptively high fits, with Elastic Net and the stacked ensemble reporting
The graphical abstract illustrates the workflow for predicting groundwater heavy metal pollution in the Densu Basin using a nested cross-validated stacked ensemble learning framework. It begins with the acquisition and preprocessing of data on six key metals (As, Pb, Mn, Fe, Cd, Ni), highlighting the land-use and geogenic activities that influence contamination. Correlation and cluster dominance analyses reveal Fe and Mn as the major contributors to the Heavy Metal Pollution Index (HPI). The predictive framework integrates multiple machine learning models (SVR, CART, KNN, Elastic Net, Kernel Ridge) combined through stacking and nested cross-validation to ensure unbiased performance estimation. Comparative transformation of the HPI (raw, log, and Gaussian copula) demonstrates that the Gaussian copula approach improves normality and predictive accuracy. The concluding section summarizes that this framework effectively enhances model reliability and interpretability for groundwater quality prediction, providing a structured, data-driven approach for assessing heavy metal contamination in hydrogeochemical systems.