Issue |
BIO Web Conf.
Volume 116, 2024
EBWFF 2024 - International Scientific Conference Ecological and Biological Well-Being of Flora and Fauna
|
|
---|---|---|
Article Number | 03024 | |
Number of page(s) | 12 | |
Section | Protection of Water and Forest Resources | |
DOI | https://doi.org/10.1051/bioconf/202411603024 | |
Published online | 03 July 2024 |
Machine learning approaches for water potability prediction: Addressing class imbalance with SMOTE
1 Krasnoyarsk State Agrarian University, Krasnoyarsk, Russia
2 Reshetnev Siberian State of Science and Technology, Krasnoyarsk, Russia
3 Siberian Federal University, Krasnoyarsk, Russia
4 Artificial Intelligence Technology Scientific and Education Center, Bauman Moscow State Technical University, Moscow, Russia
5 SPE «Radiosvyaz JSC, ERP department, 19 Dekabristov Str., Krasnoyarsk, 660021, Russia
* Corresponding author: vasi4244@gmail.com
Ensuring access to safe drinking water is a fundamental public health priority. Traditional methods for assessing water quality are laborintensive and require specialized equipment, which may not be feasible for continuous monitoring. This study explores the use of machine learning models to predict water potability based on various chemical properties. Specifically, we evaluate the performance of Logistic Regression and Random Forest models in the presence of class imbalance, a common issue in environmental datasets. To mitigate this, we apply the Synthetic Minority Over-sampling Technique (SMOTE). Our results indicate that before applying SMOTE, both models exhibited a strong bias towards the majority class (non-potable water), achieving an accuracy of 69.36% and a ROCAUC of 0.63. However, the application of SMOTE significantly improved the model’s ability to identify potable water samples, particularly for the Random Forest model, which achieved an accuracy of 67.07% and a ROCAUC of 0.64 post-SMOTE. In contrast, the Logistic Regression model showed a decline in performance after SMOTE, suggesting the need for further optimization or alternative approaches. This study highlights the importance of addressing class imbalance in machine learning tasks, especially for critical applications like water quality assessment. Our findings suggest that the Random Forest model, combined with SMOTE, offers a robust solution for predicting water potability. These insights can aid environmental scientists and public health officials in implementing more efficient and accurate water quality monitoring systems. Future research should explore a broader range of models and advanced techniques to further enhance prediction accuracy.
© The Authors, published by EDP Sciences, 2024
This is an Open Access article distributed under the terms of the Creative Commons Attribution License 4.0, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.