Machine Learning Algorithms for Predicting the Water Quality Index
Open Access
Abstract
Groundwater is one of the water resources used to preserve natural water sources for drinking, irrigation, and several other purposes, especially in industrial applications. Human activities related to industry and agriculture result in groundwater contamination. Therefore, investigating water quality is essential for drinking and irrigation purposes. In this work, the water quality index (WQI) was used to identify the suitability of water for drinking and irrigation. However, generating an accurate WQI requires much time, as errors may be made during the sub-index calculations. Hence, an artificial intelligence (AI) prediction model was built to reduce both time and errors. Eighty data samples were collected from Sakrand, a city in the province of Sindh, to investigate the area’s WQI. The classification learners were used with raw data samples and the normalized data to select the best classifier among the following decision trees: support vector machine (SVM), k-nearest neighbors (K-NN), ensemble tree (ET), and discrimination analysis (DA). These were included in the classification learner tool in MATLAB. The results revealed that SVM was the best raw and normalized data classifier. The prediction accuracy levels for the training data were 90.8% and 89.2% for the raw and normalized data, respectively. Meanwhile, the prediction accuracy levels for the testing data were 86.67 and 93.33% for the raw and normalized data, respectively.Keywords
Funding Information
- Deanship of Scientific Research, Taif University
This publication has 56 references indexed in Scilit:
- Prediction of the pollutants movements from the polluted industrial zone in 10th of Ramadan city to the Quaternary aquiferApplied Water Science, 2019
- Geospatial distribution modeling and determining suitability of groundwater quality for irrigation purpose using geospatial methods and water quality index (WQI) in Northern EthiopiaApplied Water Science, 2018
- Drinking Water Quality Status and Contamination in PakistanBioMed Research International, 2017
- Evaluation of Water Quality for Drinking and Agricultural Suitability in the Lower Indus Plain in Sindh Province, PakistanPolish Journal of Environmental Studies, 2016
- Arsenic concentration variability, health risk assessment, and source identification using multivariate analysis in selected villages of public water system, Lahore, PakistanEnvironmental Monitoring and Assessment, 2013
- Evaluation of high levels of fluoride, arsenic species and other physicochemical parameters in underground water of two sub districts of Tharparkar, Pakistan: A multivariate studyWater Research, 2013
- Evaluation of arsenic and other physico-chemical parameters of surface and ground water of Jamshoro, PakistanJournal of Hazardous Materials, 2009
- Determination of arsenic levels in lake water, sediment, and foodstuff from selected area of Sindh, Pakistan: Estimation of daily dietary intakeFood and Chemical Toxicology, 2009
- Total dissolved and bioavailable elements in water and sediment samples and their accumulation in Oreochromis mossambicus of polluted Manchar LakeChemosphere, 2008
- Managing salinity and waterlogging in the Indus Basin of PakistanAgricultural Water Management, 2008