Enhancing Machine Learning Accuracy in Water Quality Assessment and Potability Prediction Using Imputation and Balancing Techniques

Clean and safe water is essential for human health and recognized as a fundamental right. However, the degradation of water quality worldwide, due to pollution and inadequate water management, poses serious risks to public health, making it crucial to evaluate water potability effectively. This study aims to classify water potability more accurately by leveraging machine learning models. The research utilized the Water Potability Dataset, which contains 3,276 records and 10 parameters, such as pH, hardness, and solids, all of which were analyzed to ensure a comprehensive assessment of water quality. Missing values in the dataset were addressed through imputation techniques, while class imbalance was resolved with data balancing methods. The dataset was divided into 80% for training and 20% for testing, ensuring reliable model validation. Decision Tree and Random Forest models were applied due to their efficiency in managing complex datasets and providing interpretable outputs. The Random Forest model outperformed the Decision Tree, achieving higher accuracy and demonstrating superior reliability in classifying water as potable or non-potable. Evaluation results indicate that these models effectively classify water as potable or non-potable, showcasing the potential of machine learning to improve water quality analysis. The findings of this study provide a reliable, data-driven framework that can support policymakers, water management authorities, and public health organizations in addressing water quality challenges. By facilitating timely and accurate assessment, this research contributes to safeguarding public health and promoting sustainable water management practices.

Authors

Institutions

Publication Details

Published
2025-02-20
DOI
https://doi.org/10.1145/3731806.3743506
Primary Topic
Water Quality Monitoring Technologies
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing Machine Learning Accuracy in Water Quality Assessment and Potability Prediction Using Imputation and Balancing Techniques

Erna Hikmawati, Rigel Rafiq Setiawan
Water Quality Monitoring Technologies
article

Enhancing Machine Learning Accuracy in Water Quality Assessment and Potability Prediction Using Imputation and Balancing Techniques

Erna Hikmawati, Rigel Rafiq Setiawan
article en

Abstract

Clean and safe water is essential for human health and recognized as a fundamental right. However, the degradation of water quality worldwide, due to pollution and inadequate water management, poses serious risks to public health, making it crucial to evaluate water potability effectively. This study aims to classify water potability more accurately by leveraging machine learning models. The research utilized the Water Potability Dataset, which contains 3,276 records and 10 parameters, such as pH, hardness, and solids, all of which were analyzed to ensure a comprehensive assessment of water quality. Missing values in the dataset were addressed through imputation techniques, while class imbalance was resolved with data balancing methods. The dataset was divided into 80% for training and 20% for testing, ensuring reliable model validation. Decision Tree and Random Forest models were applied due to their efficiency in managing complex datasets and providing interpretable outputs. The Random Forest model outperformed the Decision Tree, achieving higher accuracy and demonstrating superior reliability in classifying water as potable or non-potable. Evaluation results indicate that these models effectively classify water as potable or non-potable, showcasing the potential of machine learning to improve water quality analysis. The findings of this study provide a reliable, data-driven framework that can support policymakers, water management authorities, and public health organizations in addressing water quality challenges. By facilitating timely and accurate assessment, this research contributes to safeguarding public health and promoting sustainable water management practices.

Telkom University (ID)
Universitas Telkom
Openalex Percentile: Top 76%
Water Quality Monitoring Technologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.