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.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
优化机器学习,促进水安全:可饮用性预测中的降维与分类器性能比较分析
在本研究中,我们调查了机器学习技术在根据水质属性预测水的可饮用性方面的有效性。最初,我们将七种基于分类的方法直接应用于原始数据集,得到了不同的准确率。值得注意的是,支持向量机(SVM)的准确率最高,达到了 69%,而 XGBoost、k-Nearest Neighbors、高斯直觉贝叶斯和随机森林等其他方法的准确率在 62% 到 68% 之间,表现出了很强的竞争力。随后,我们采用主成分分析法(PCA)将数据集的维度降低到六个主成分,然后重新应用机器学习技术。结果显示,所有分类器的准确率都有所提高,接近 100%。这项研究深入揭示了降维对预测准确性的影响,并强调了选择适当技术进行水的可饮用性预测的重要性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Assessing state partner use of the Model Aquatic Health Code (MAHC): A cross comparison of five states with varying degrees of self-reported adoption status Virtual water flows in a real world Optimizing machine learning for water safety: A comparative analysis with dimensionality reduction and classifier performance in potability prediction Assessing the sustained effects of a water filter intervention: A 30-month longitudinal study in Rwamagana, Rwanda 222 nm causes greater protein damage and repair inhibition of E. coli than 254 nm for water disinfection
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1