Engineering Proceedings (Oct 2023)
Comparative Analysis of Machine Learning and Deep Learning Models for Groundwater Potability Classification
Abstract
Ensuring access to safe drinking water is a critical concern, particularly in regions with limited resources. This study evaluates groundwater potability using a range of machine learning models, including logistic regression, K-Nearest Neighbors (KNN), Support Vector Classifier (SVC), and Random Forest, as well as deep learning models such as Artificial Neural Networks (ANNs), Convolutional Neural Networks (CNNs), Feedforward Neural Networks (FNNs), and Long Short-Term Memory (LSTM). We collected thirty groundwater samples from residential and industrial locations in Jaen, Kano State, Nigeria, focusing on nine crucial physicochemical parameters: electric conductivity, pH, total dissolved solids, calcium, magnesium, chloride, zinc, manganese, and copper. Machine learning models, such as Logistic Regression and Random Forest, achieved accuracy scores of 0.833. They were closely followed by deep learning models, such as ANNs, with an accuracy score of 0.833, and LSTM, which scored 0.666. KNN and SVC provided moderately accurate predictions, scoring 0.667, while CNN and FNN achieved lower scores of 0.333 and 0.5, respectively. This study represents a significant step toward ensuring safe drinking water for communities and preserving the sustainability of natural resources.
Keywords