Skip to main content
Have a personal or library account? Click to login
Comparative Analysis of Machine Learning Algorithms for Water Quality Prediction Cover

Comparative Analysis of Machine Learning Algorithms for Water Quality Prediction

Open Access
|Jul 2024

Abstract

This study aims to identify the influential parameters and heavy metals in water and assess the water quality classification at the Alpine glacial lakes and rivers in three districts of Pakistan. For this purpose, nine water quality parameters (Cd, Cr, Pb, Ni, Fe, As, and TDS) in mg/L, pH, Ec µS/Cm are used to compute the Water Quality Index (WQI). The Boruta approach was utilized for the identification of influential parameters associated with the water quality classes. Moreover, we employed supervised machine learning models, including a decision tree, the k-nearest neighbor method, a neural network model (multi-layer perception), a support vector machine, and a random forest, to predict and validate the water quality class. The performance of all algorithms is assessed by an accuracy metric. The accuracy rates for the validation set were observed to be 83% for the decision tree model, 75% for the K-nearest neighbor method, 83% for the neural network, 88% for the support vector machine, and 88% for the random forest model. Water quality assessments for observed locations specify significant insights, revealing that 49% of the locations exhibit low water quality. According to the current study, the government should address problems with water quality in Pakistan’s impacted areas by implementing suitable measures designed water monitoring systems and innovative technologies.

Language: English
Page range: 177 - 192
Submitted on: Mar 26, 2024
Accepted on: Jul 12, 2024
Published on: Jul 30, 2024
Published by: Stockholm University Press
In partnership with: Paradigm Publishing Services

© 2024 Muhammad Akhlaq, Asad Ellahi, Rizwan Niaz, Mohsin Khan, Saad Sh. Sammen, Miklas Scholz, published by Stockholm University Press
This work is licensed under the Creative Commons Attribution 4.0 License.