This research aims to evaluate the effectiveness of machine learning algorithms in determining the potability of water. In the study, a total of 3276 water samples were analyzed for 10 different features that determine the potability of water. Besides that, the study's consideration is to evaluate the impact of trimming, IQR, and percentile methods on the performance of machine learning algorithms. The models were built using nine different classification algorithms (Logistic Regression, Decision Trees, Random Forest, XGBoost, Naive Bayes, K-Nearest Neighbors, Support Vector Machine, AdaBoost, and Bagging Classifier). According to the results, filling the missing data with the population mean and handling outliers with Trimming and IQR methods improved the performance of the models. Random Forest and Decision Tree algorithms were the most accurate in determining the potability of water. The findings of this research are of high importance to sustainable water resource management and serve as a crucial input for the decision-making process on the quality of water. The study also offers an example for researchers working on datasets that contain missing values and outliers.
Primary Language | English |
---|---|
Subjects | Artificial Intelligence (Other) |
Journal Section | Research Articles |
Authors | |
Publication Date | September 29, 2024 |
Submission Date | January 7, 2024 |
Acceptance Date | July 15, 2024 |
Published in Issue | Year 2024 Issue: 058 |