EventsThe 8th International Electronic Conference on Water Sciences
Published
This submission belongs to the session S5. Numerical and Experimental Methods, Data Analyses, Digital Twin, IoT Machine Learning and AI in Water Sciences of the event The 8th International Electronic Conference on Water Sciences
Published date
11 Oct, 2024
Academic Editor
author-avatarJunye Wang
Citation
Binson V A, Sania Thomas, Comprehensive analysis of drinking water quality using machine learning techniques , in Proceedings of The 8th International Electronic Conference on Water Sciences, 14 October–16 October 2024, MDPI: Basel, Switzerland
Share
Email
Facebook
Twitter
LinkedIn

Comprehensive analysis of drinking water quality using machine learning techniques

image
1. Department of Computer Science and Engineering, Saintgits College of Engineering, Kottayam, India, India
2. Department of Electronics Engineering, Saintgits College of Engineering, Kottayam, India., India
Abstract

Ensuring the safety and quality of drinking water is crucial for public health, particularly in regions where water contamination is a significant concern. This study investigates the application of machine learning techniques for water quality analysis in the Indian state of Kerala. A total of 328 water samples were collected and analyzed for various parameters including pH, dissolved oxygen, total coliform, fecal coliform, conductivity, nitrate, and biochemical oxygen demand. These parameters were used to compute the Water Quality Index (WQI), which was subsequently classified into four categories: clean, unclean, polluted, and highly polluted. Five machine learning classifiers were employed to classify the water quality data: Support Vector Machine (SVM), Decision Tree (DT), k-Nearest Neighbors (k-NN), Logistic Regression (LR), and XGBoost. The classifiers were trained and tested on the dataset to determine their accuracy in predicting water quality classes. Among these, XGBoost emerged as the most accurate classifier, achieving a classification accuracy of 91%. The study highlights the effectiveness of machine learning in environmental monitoring and demonstrates the potential of these techniques to aid in water quality management. The high accuracy of XGBoost suggests that it can be a valuable tool for predicting water quality and identifying areas at risk of pollution. By providing reliable classifications, machine learning models can support decision-makers in implementing timely and appropriate interventions to ensure the safety and cleanliness of drinking water.

Keywords
Water quality analysis
machine learning
drinking water safety
Water Quality Index (WQI)
water pollution detection
Integrating Machine Learning and Computational Fluid Dynamics for Predicting the Trajectory of a Rosette Jet in Crossflow
Synthetic Year Generation for Irrigation Systems: Optimizing Networks using a Distribution-based Methodology in MATLAB