Optimizing machine learning for water safety: A comparative analysis with dimensionality reduction and classifier performance in potability prediction

Debashis Chatterjee, Prithwish Ghosh, Amlan Banerjee, S. S. Das
{"title":"Optimizing machine learning for water safety: A comparative analysis with dimensionality reduction and classifier performance in potability prediction","authors":"Debashis Chatterjee, Prithwish Ghosh, Amlan Banerjee, S. S. Das","doi":"10.1371/journal.pwat.0000259","DOIUrl":null,"url":null,"abstract":"In this study, we investigated the effectiveness of machine learning techniques in predicting water potability based on water quality attributes. Initially, we applied seven classification-based methods directly to the original dataset, yielding varying accuracy scores. Notably, the Support Vector Machine (SVM) achieved the highest accuracy of 69%, while other methods such as XGBoost, k-Nearest Neighbors, Gaussian Naive Bayes, and Random Forest demonstrated competitive performance with scores ranging from 62% to 68%. Subsequently, we employed Principal Component Analysis (PCA) to reduce the dataset’s dimensionality to six principal components, followed by reapplication of the machine learning techniques. The results showed an increase in accuracy across all classifiers, increasing to nearly 100%. This study provides insights into the impact of dimensionality reduction on predictive accuracy and underscores the importance of selecting appropriate techniques for water potability prediction.","PeriodicalId":93672,"journal":{"name":"PLOS water","volume":"2 3","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-08-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"PLOS water","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1371/journal.pwat.0000259","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

In this study, we investigated the effectiveness of machine learning techniques in predicting water potability based on water quality attributes. Initially, we applied seven classification-based methods directly to the original dataset, yielding varying accuracy scores. Notably, the Support Vector Machine (SVM) achieved the highest accuracy of 69%, while other methods such as XGBoost, k-Nearest Neighbors, Gaussian Naive Bayes, and Random Forest demonstrated competitive performance with scores ranging from 62% to 68%. Subsequently, we employed Principal Component Analysis (PCA) to reduce the dataset’s dimensionality to six principal components, followed by reapplication of the machine learning techniques. The results showed an increase in accuracy across all classifiers, increasing to nearly 100%. This study provides insights into the impact of dimensionality reduction on predictive accuracy and underscores the importance of selecting appropriate techniques for water potability prediction.
优化机器学习,促进水安全:可饮用性预测中的降维与分类器性能比较分析
在本研究中,我们调查了机器学习技术在根据水质属性预测水的可饮用性方面的有效性。最初,我们将七种基于分类的方法直接应用于原始数据集,得到了不同的准确率。值得注意的是,支持向量机(SVM)的准确率最高,达到了 69%,而 XGBoost、k-Nearest Neighbors、高斯直觉贝叶斯和随机森林等其他方法的准确率在 62% 到 68% 之间,表现出了很强的竞争力。随后,我们采用主成分分析法(PCA)将数据集的维度降低到六个主成分,然后重新应用机器学习技术。结果显示,所有分类器的准确率都有所提高,接近 100%。这项研究深入揭示了降维对预测准确性的影响,并强调了选择适当技术进行水的可饮用性预测的重要性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信