Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Jul 22;47(8):328.
doi: 10.1007/s10653-025-02644-0.

The prediction of heavy metal contamination in groundwater using machine learning algorithms: a case study from the Harran Plain, a major agricultural irrigation area in Türkiye

Affiliations

The prediction of heavy metal contamination in groundwater using machine learning algorithms: a case study from the Harran Plain, a major agricultural irrigation area in Türkiye

Hatice Kara. Environ Geochem Health. .

Abstract

This study aims to determine the current status of groundwater in terms of heavy metal pollution in Harran Plain, which has been subjected to agricultural irrigation for over thirty years and is exposed to point and diffuse pollutant pressure. In this context, groundwater samples were taken from 26 sampling points during the irrigation season and heavy metal parameters such as Ag, Al, B, Ba, Cd, Co, Cr, Cu, F, Fe, Li, Mn, Mo, Ni, Pb, Zn were analyzed. The pollution indices (Heavy metal pollution index (HPI), Heavy metal evaluation index (HEI) and Contamination index (Cd)) of the obtained data were calculated and Machine Learning (ML) models such as Random Forest (RF), Support Vektor Machines (SVM), K-Nearest Neighbors (KNN), Decision Tree (DT), and Logistic Regression (LR) classifiers were used to estimate these indices and the model performances were evaluated by comparing them. According to the national and international legislation evaluation, EC and TDS values were observed at high levels at sampling points G10 (Arican), G13 (Gulveren) and G19 (Bugdaytepe). It was determined that the permissible limit values were exceeded in the parameters Al, Fe, F, B, Zn, Pb, Mn and Mo. Accordingly, the heavy metal concentration order determined above the limit values was as follows: Fe > F > Al > B > Zn > Pb > Mo > Mn. The total metal load of the water samples was largely in the Near Neutral - High Metal class. According to the highest percentages for pollution indices, "Low" for HPI, "Medium" for HEI and "High" for Cd were determined. In machine learning algorithms; RF and DT showed the best performance in HPI and HEI estimation, while DT, RF and LR models were found to be quite effective in CD estimation. SHAP emphasizes that Mo is generally one of the most effective parameters for HPI, HEI and CD index evaluation in DT and RF classification. In order to ensure sustainable environmental health and agricultural development in the plain, it is recommended to increase monitoring programs especially for heavy metal and other pollutant parameters.

Keywords: Drainage channel; Groundwater; Heavy metals; Machine learning; Pollution indices; Türkiye.

PubMed Disclaimer

Conflict of interest statement

Declarations. Conflict of interests: The authors declare no competing interests. Ethical approval and consent to participate: Not applicable. Consent for publication: Not applicable.

Similar articles

References

    1. Abba, S. I., Yassin, M. A., Shah, S. M. H., Egbueri, J. C., Elzain, H. E., Agbasi, J. C., & Aljundi, I. H. (2024). Trace element pollution tracking in the complex multi-aquifer groundwater system of Al-Hassa oasis (Saudi Arabia) using spatial, chemometric and index-based techniques. Environmental Research, 249, 118320. https://doi.org/10.1016/j.envres.2024.118320 - DOI
    1. Abou Zakhem, B., & Hafez, R. (2015). Heavy metal pollution index for groundwater quality assessment in Damascus Oasis, Syria. Environmental Earth Sciences, 73, 6591–6600. https://doi.org/10.1007/s12665-014-3882-5 - DOI
    1. Ahirvar, B. P., Das, P., Srivastava, V., & Kumar, M. (2023). Perspectives of heavy metal pollution indices for soil, sediment, and water pollution evaluation: An insight. Total Environment Research Themes, 6, Article 100039. https://doi.org/10.1016/j.totert.2023.100039 - DOI
    1. Ahmed, R. S., Abuarab, M. E., Ibrahim, M. M., Baioumy, M., & Mokhtar, A. (2023). Assessment of environmental and toxicity impacts and potential health hazards of heavy metals pollution of agricultural drainage adjacent to industrial zones in Egypt. Chemosphere, 318, 137872. https://doi.org/10.1016/j.chemosphere.2023.137872
    1. Ahmed, W., Safdar, U., Ali, A., Haider, K., Tahir, N., Sajid, S., Ahmad, M., Khalid, M. N., & Sattar, M. T. (2022). Sustainable water use in agriculture: a review of worldwide research. International Journal of Agriculture and Biosciences. https://doi.org/10.47278/journal.ijab/2022.033 - DOI

LinkOut - more resources