Efficient Water Quality Prediction Using Supervised Machine Learning
Water makes up about 70% of the earth’s surface and is one of the most important sources vital to sustaining life. Rapid urbanization and industrialization have led to a deterioration of water quality at an alarming rate, resulting in harrowing diseases. Water quality has been conventional...
Main Authors: | , , , , , |
---|---|
Format: | Article |
Language: | English |
Published: |
MDPI AG
2019-10-01
|
Series: | Water |
Subjects: | |
Online Access: | https://www.mdpi.com/2073-4441/11/11/2210 |
id |
doaj-6f2a67e1f6e545eea72288f86470bc9d |
---|---|
record_format |
Article |
spelling |
doaj-6f2a67e1f6e545eea72288f86470bc9d2020-11-25T03:25:11ZengMDPI AGWater2073-44412019-10-011111221010.3390/w11112210w11112210Efficient Water Quality Prediction Using Supervised Machine LearningUmair Ahmed0Rafia Mumtaz1Hirra Anwar2Asad A. Shah3Rabia Irfan4José García-Nieto5School of Electrical Engineering and Computer Science (SEECS), National University of Sciences and Technology (NUST), Islamabad 44000, PakistanSchool of Electrical Engineering and Computer Science (SEECS), National University of Sciences and Technology (NUST), Islamabad 44000, PakistanSchool of Electrical Engineering and Computer Science (SEECS), National University of Sciences and Technology (NUST), Islamabad 44000, PakistanSchool of Electrical Engineering and Computer Science (SEECS), National University of Sciences and Technology (NUST), Islamabad 44000, PakistanSchool of Electrical Engineering and Computer Science (SEECS), National University of Sciences and Technology (NUST), Islamabad 44000, PakistanDepartment of Languages and Computer Sciences, Ada Byron Research Building, University of Málaga, 29016 Málaga, SpainWater makes up about 70% of the earth’s surface and is one of the most important sources vital to sustaining life. Rapid urbanization and industrialization have led to a deterioration of water quality at an alarming rate, resulting in harrowing diseases. Water quality has been conventionally estimated through expensive and time-consuming lab and statistical analyses, which render the contemporary notion of real-time monitoring moot. The alarming consequences of poor water quality necessitate an alternative method, which is quicker and inexpensive. With this motivation, this research explores a series of supervised machine learning algorithms to estimate the water quality index (WQI), which is a singular index to describe the general quality of water, and the water quality class (WQC), which is a distinctive class defined on the basis of the WQI. The proposed methodology employs four input parameters, namely, temperature, turbidity, pH and total dissolved solids. Of all the employed algorithms, gradient boosting, with a learning rate of 0.1 and polynomial regression, with a degree of 2, predict the WQI most efficiently, having a mean absolute error (MAE) of 1.9642 and 2.7273, respectively. Whereas multi-layer perceptron (MLP), with a configuration of (3, 7), classifies the WQC most efficiently, with an accuracy of 0.8507. The proposed methodology achieves reasonable accuracy using a minimal number of parameters to validate the possibility of its use in real time water quality detection systems.https://www.mdpi.com/2073-4441/11/11/2210water quality predictionsupervised machine learningsmart citygradient boostingmulti-layer perceptron |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Umair Ahmed Rafia Mumtaz Hirra Anwar Asad A. Shah Rabia Irfan José García-Nieto |
spellingShingle |
Umair Ahmed Rafia Mumtaz Hirra Anwar Asad A. Shah Rabia Irfan José García-Nieto Efficient Water Quality Prediction Using Supervised Machine Learning Water water quality prediction supervised machine learning smart city gradient boosting multi-layer perceptron |
author_facet |
Umair Ahmed Rafia Mumtaz Hirra Anwar Asad A. Shah Rabia Irfan José García-Nieto |
author_sort |
Umair Ahmed |
title |
Efficient Water Quality Prediction Using Supervised Machine Learning |
title_short |
Efficient Water Quality Prediction Using Supervised Machine Learning |
title_full |
Efficient Water Quality Prediction Using Supervised Machine Learning |
title_fullStr |
Efficient Water Quality Prediction Using Supervised Machine Learning |
title_full_unstemmed |
Efficient Water Quality Prediction Using Supervised Machine Learning |
title_sort |
efficient water quality prediction using supervised machine learning |
publisher |
MDPI AG |
series |
Water |
issn |
2073-4441 |
publishDate |
2019-10-01 |
description |
Water makes up about 70% of the earth’s surface and is one of the most important sources vital to sustaining life. Rapid urbanization and industrialization have led to a deterioration of water quality at an alarming rate, resulting in harrowing diseases. Water quality has been conventionally estimated through expensive and time-consuming lab and statistical analyses, which render the contemporary notion of real-time monitoring moot. The alarming consequences of poor water quality necessitate an alternative method, which is quicker and inexpensive. With this motivation, this research explores a series of supervised machine learning algorithms to estimate the water quality index (WQI), which is a singular index to describe the general quality of water, and the water quality class (WQC), which is a distinctive class defined on the basis of the WQI. The proposed methodology employs four input parameters, namely, temperature, turbidity, pH and total dissolved solids. Of all the employed algorithms, gradient boosting, with a learning rate of 0.1 and polynomial regression, with a degree of 2, predict the WQI most efficiently, having a mean absolute error (MAE) of 1.9642 and 2.7273, respectively. Whereas multi-layer perceptron (MLP), with a configuration of (3, 7), classifies the WQC most efficiently, with an accuracy of 0.8507. The proposed methodology achieves reasonable accuracy using a minimal number of parameters to validate the possibility of its use in real time water quality detection systems. |
topic |
water quality prediction supervised machine learning smart city gradient boosting multi-layer perceptron |
url |
https://www.mdpi.com/2073-4441/11/11/2210 |
work_keys_str_mv |
AT umairahmed efficientwaterqualitypredictionusingsupervisedmachinelearning AT rafiamumtaz efficientwaterqualitypredictionusingsupervisedmachinelearning AT hirraanwar efficientwaterqualitypredictionusingsupervisedmachinelearning AT asadashah efficientwaterqualitypredictionusingsupervisedmachinelearning AT rabiairfan efficientwaterqualitypredictionusingsupervisedmachinelearning AT josegarcianieto efficientwaterqualitypredictionusingsupervisedmachinelearning |
_version_ |
1724598451056934912 |