Development and deployment of a groundwater quality prediction tool for Béchar, Southwest Algeria: benchmarking seven machine learning algorithms

Accurate prediction of groundwater quality is essential for environmental monitoring and public health protection, particularly in arid regions such as Béchar in southwest Algeria. This study applied a root mean square-based water quality index (RMS-WQI) to evaluate groundwater quality using 621 samples characterized by physicochemical parameters, including pH, electrical conductivity, total dissolved solids, major cations, major anions, and nitrate. Seven supervised machine learning algorithms K-nearest neighbors, artificial neural network (ANN), support vector machine (SVM), ensemble trees (EN), discriminant analysis, Naïve Bayes, and decision trees were trained and optimized in MATLAB using the Classification Learner Toolbox with Bayesian optimization and fivefold cross-validation. Among the tested models, ANN and SVM achieved the highest predictive performance, with accuracies of 99.47 and 97.88%, respectively, along with superior precision, recall, F1-score, and Cohen's Kappa values, indicating strong agreement with observed RMS-WQI classes. Compared to conventional RMS-WQI assessment and previously reported nonoptimized models, the proposed framework demonstrates improved classification accuracy and robustness. Additionally, an operational graphical user interface was developed to facilitate rapid groundwater quality estimation using routine measurements. The findings highlight the effectiveness of optimized ANN and SVM models as reliable decision support tools for groundwater quality management in data-scarce arid environments.

Authors

Institutions

Publication Details

Journal
Water Science & Technology
Published
2026-04-02
DOI
https://doi.org/10.2166/wst.2026.252
Primary Topic
Groundwater and Isotope Geochemistry
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Development and deployment of a groundwater quality prediction tool for Béchar, Southwest Algeria: benchmarking seven machine learning algorithms

Ibrahim B. M. Taha, Amanuel Kumsa Bojer, Enas E. Hussein, Abdulrahman Seraj Almalki et al.
Water Science & Technology
Groundwater and Isotope Geochemistry
article

Development and deployment of a groundwater quality prediction tool for Béchar, Southwest Algeria: benchmarking seven machine learning algorithms

Ibrahim B. M. Taha, Amanuel Kumsa Bojer, Enas E. Hussein, Abdulrahman Seraj Almalki, Abdessamed Derdour, Mohamed A. Eizeldin
article en

Abstract

Accurate prediction of groundwater quality is essential for environmental monitoring and public health protection, particularly in arid regions such as Béchar in southwest Algeria. This study applied a root mean square-based water quality index (RMS-WQI) to evaluate groundwater quality using 621 samples characterized by physicochemical parameters, including pH, electrical conductivity, total dissolved solids, major cations, major anions, and nitrate. Seven supervised machine learning algorithms K-nearest neighbors, artificial neural network (ANN), support vector machine (SVM), ensemble trees (EN), discriminant analysis, Naïve Bayes, and decision trees were trained and optimized in MATLAB using the Classification Learner Toolbox with Bayesian optimization and fivefold cross-validation. Among the tested models, ANN and SVM achieved the highest predictive performance, with accuracies of 99.47 and 97.88%, respectively, along with superior precision, recall, F1-score, and Cohen's Kappa values, indicating strong agreement with observed RMS-WQI classes. Compared to conventional RMS-WQI assessment and previously reported nonoptimized models, the proposed framework demonstrates improved classification accuracy and robustness. Additionally, an operational graphical user interface was developed to facilitate rapid groundwater quality estimation using routine measurements. The findings highlight the effectiveness of optimized ANN and SVM models as reliable decision support tools for groundwater quality management in data-scarce arid environments.

Water Science & TechnologyVol. 93(8)
Northwest African American Museum (US), British University in Egypt (EG), Taif University (SA), Umm al-Qura University (SA), Ethiopian Public Health Institute (ET), National Water Research Center (EG), Helwan University (EG)
Clean water and sanitation
Openalex Percentile: Top 18%
Groundwater and Isotope Geochemistry
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.