L Díaz-González, R A Aguilar-Rodríguez, J C Pérez-Sansalvador, N Lakouari
{"title":"AQuA-P: A machine learning-based tool for water quality assessment.","authors":"L Díaz-González, R A Aguilar-Rodríguez, J C Pérez-Sansalvador, N Lakouari","doi":"10.1016/j.jconhyd.2025.104498","DOIUrl":null,"url":null,"abstract":"<p><p>This study addresses the critical challenge of assessing the quality of groundwater and surface water, which are essential resources for various societal needs. The main contribution of this study is the application of machine learning models for evaluating water quality, using a national database from Mexico that includes groundwater, lotic (flowing), lentic (stagnant), and coastal water quality parameters. Notably, no comparable water quality classification system currently exists. Five advanced machine learning techniques were employed: extreme gradient boosting (XGB), support vector machines, K-nearest neighbors, decision trees, and multinomial logistic regression. The performance of the models was evaluated using the accuracy, precision, and F1 score metrics. The decision tree models emerged as the most effective across all water body types, closely followed by XGB. Therefore, the decision tree models were integrated into the AQuA-P software, which is currently the only software of its kind. It is recommended that these innovative water classification models be used through the AQuA-P software to facilitate informed decision-making in water quality management. This software provides a probability-based classification system that contributes to a deeper understanding of water quality dynamics. Lastly, an open-access repository containing all the datasets and Python notebooks used in our analysis is provided, allowing for easy adaptation and implementation of our methodology for other datasets worldwide.</p>","PeriodicalId":15530,"journal":{"name":"Journal of contaminant hydrology","volume":"269 ","pages":"104498"},"PeriodicalIF":3.5000,"publicationDate":"2025-01-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of contaminant hydrology","FirstCategoryId":"93","ListUrlMain":"https://doi.org/10.1016/j.jconhyd.2025.104498","RegionNum":3,"RegionCategory":"环境科学与生态学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"ENVIRONMENTAL SCIENCES","Score":null,"Total":0}
引用次数: 0
Abstract
This study addresses the critical challenge of assessing the quality of groundwater and surface water, which are essential resources for various societal needs. The main contribution of this study is the application of machine learning models for evaluating water quality, using a national database from Mexico that includes groundwater, lotic (flowing), lentic (stagnant), and coastal water quality parameters. Notably, no comparable water quality classification system currently exists. Five advanced machine learning techniques were employed: extreme gradient boosting (XGB), support vector machines, K-nearest neighbors, decision trees, and multinomial logistic regression. The performance of the models was evaluated using the accuracy, precision, and F1 score metrics. The decision tree models emerged as the most effective across all water body types, closely followed by XGB. Therefore, the decision tree models were integrated into the AQuA-P software, which is currently the only software of its kind. It is recommended that these innovative water classification models be used through the AQuA-P software to facilitate informed decision-making in water quality management. This software provides a probability-based classification system that contributes to a deeper understanding of water quality dynamics. Lastly, an open-access repository containing all the datasets and Python notebooks used in our analysis is provided, allowing for easy adaptation and implementation of our methodology for other datasets worldwide.
期刊介绍:
The Journal of Contaminant Hydrology is an international journal publishing scientific articles pertaining to the contamination of subsurface water resources. Emphasis is placed on investigations of the physical, chemical, and biological processes influencing the behavior and fate of organic and inorganic contaminants in the unsaturated (vadose) and saturated (groundwater) zones, as well as at groundwater-surface water interfaces. The ecological impacts of contaminants transported both from and to aquifers are of interest. Articles on contamination of surface water only, without a link to groundwater, are out of the scope. Broad latitude is allowed in identifying contaminants of interest, and include legacy and emerging pollutants, nutrients, nanoparticles, pathogenic microorganisms (e.g., bacteria, viruses, protozoa), microplastics, and various constituents associated with energy production (e.g., methane, carbon dioxide, hydrogen sulfide).
The journal''s scope embraces a wide range of topics including: experimental investigations of contaminant sorption, diffusion, transformation, volatilization and transport in the surface and subsurface; characterization of soil and aquifer properties only as they influence contaminant behavior; development and testing of mathematical models of contaminant behaviour; innovative techniques for restoration of contaminated sites; development of new tools or techniques for monitoring the extent of soil and groundwater contamination; transformation of contaminants in the hyporheic zone; effects of contaminants traversing the hyporheic zone on surface water and groundwater ecosystems; subsurface carbon sequestration and/or turnover; and migration of fluids associated with energy production into groundwater.