An Alternative to Laboratory Testing: Random Forest-Based Water Quality Prediction Framework for Inland and Nearshore Water Bodies

Water quality monitoring plays a vital role in the water environment management, while efficient monitoring provides direction and verification of the effectiveness of water management. Traditional water quality monitoring for a variety of water parameters requires the placement of multiple sensors,...

Descripción completa

Guardado en:
Detalles Bibliográficos
Autores principales: Jianlong Xu, Zhuo Xu, Jianjun Kuang, Che Lin, Lianghong Xiao, Xingshan Huang, Yufeng Zhang
Formato: article
Lenguaje:EN
Publicado: MDPI AG 2021
Materias:
Acceso en línea:https://doaj.org/article/748aeb620b3b483e931c6a4bdeeb7d7b
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
id oai:doaj.org-article:748aeb620b3b483e931c6a4bdeeb7d7b
record_format dspace
spelling oai:doaj.org-article:748aeb620b3b483e931c6a4bdeeb7d7b2021-11-25T19:16:11ZAn Alternative to Laboratory Testing: Random Forest-Based Water Quality Prediction Framework for Inland and Nearshore Water Bodies10.3390/w132232622073-4441https://doaj.org/article/748aeb620b3b483e931c6a4bdeeb7d7b2021-11-01T00:00:00Zhttps://www.mdpi.com/2073-4441/13/22/3262https://doaj.org/toc/2073-4441Water quality monitoring plays a vital role in the water environment management, while efficient monitoring provides direction and verification of the effectiveness of water management. Traditional water quality monitoring for a variety of water parameters requires the placement of multiple sensors, and some water quality data (e.g., total nitrogen (TN)) requires testing instruments or laboratory analysis to obtain results, which takes longer than the sensors. In this paper, we designed a water quality prediction framework, which uses available water quality variables (e.g., temperature, pH, conductivity, etc.) to predict total nitrogen concentrations in inland water bodies. The framework was also used to predict nearshore seawater salinity and temperature using remote sensing bands. We conducted experiments on real water quality datasets and random forest was chosen to be the core algorithm of the framework by comparing and analyzing the performance of different machine learning algorithms. The results show that among all tested machine learning models, random forest performs the best. The data prediction error rate of the random forest model in predicting the total nitrogen concentration in inland rivers was 4.9%. Moreover, to explore the prediction effect of random forest algorithm when the independent variable is non-water quality data, we took the reflectance of remote sensing bands as the independent variables and successfully inverted the salinity distribution of Shenzhen Bay in the Google Earth Engine (GEE) platform. According to the experimental results, the random forest-based water quality prediction framework can achieve 92.94% accuracy in predicting the salinity of nearshore waters.Jianlong XuZhuo XuJianjun KuangChe LinLianghong XiaoXingshan HuangYufeng ZhangMDPI AGarticlewater quality predictionmachine learningtotal nitrogenrandom forestgoogle earth engineHydraulic engineeringTC1-978Water supply for domestic and industrial purposesTD201-500ENWater, Vol 13, Iss 3262, p 3262 (2021)
institution DOAJ
collection DOAJ
language EN
topic water quality prediction
machine learning
total nitrogen
random forest
google earth engine
Hydraulic engineering
TC1-978
Water supply for domestic and industrial purposes
TD201-500
spellingShingle water quality prediction
machine learning
total nitrogen
random forest
google earth engine
Hydraulic engineering
TC1-978
Water supply for domestic and industrial purposes
TD201-500
Jianlong Xu
Zhuo Xu
Jianjun Kuang
Che Lin
Lianghong Xiao
Xingshan Huang
Yufeng Zhang
An Alternative to Laboratory Testing: Random Forest-Based Water Quality Prediction Framework for Inland and Nearshore Water Bodies
description Water quality monitoring plays a vital role in the water environment management, while efficient monitoring provides direction and verification of the effectiveness of water management. Traditional water quality monitoring for a variety of water parameters requires the placement of multiple sensors, and some water quality data (e.g., total nitrogen (TN)) requires testing instruments or laboratory analysis to obtain results, which takes longer than the sensors. In this paper, we designed a water quality prediction framework, which uses available water quality variables (e.g., temperature, pH, conductivity, etc.) to predict total nitrogen concentrations in inland water bodies. The framework was also used to predict nearshore seawater salinity and temperature using remote sensing bands. We conducted experiments on real water quality datasets and random forest was chosen to be the core algorithm of the framework by comparing and analyzing the performance of different machine learning algorithms. The results show that among all tested machine learning models, random forest performs the best. The data prediction error rate of the random forest model in predicting the total nitrogen concentration in inland rivers was 4.9%. Moreover, to explore the prediction effect of random forest algorithm when the independent variable is non-water quality data, we took the reflectance of remote sensing bands as the independent variables and successfully inverted the salinity distribution of Shenzhen Bay in the Google Earth Engine (GEE) platform. According to the experimental results, the random forest-based water quality prediction framework can achieve 92.94% accuracy in predicting the salinity of nearshore waters.
format article
author Jianlong Xu
Zhuo Xu
Jianjun Kuang
Che Lin
Lianghong Xiao
Xingshan Huang
Yufeng Zhang
author_facet Jianlong Xu
Zhuo Xu
Jianjun Kuang
Che Lin
Lianghong Xiao
Xingshan Huang
Yufeng Zhang
author_sort Jianlong Xu
title An Alternative to Laboratory Testing: Random Forest-Based Water Quality Prediction Framework for Inland and Nearshore Water Bodies
title_short An Alternative to Laboratory Testing: Random Forest-Based Water Quality Prediction Framework for Inland and Nearshore Water Bodies
title_full An Alternative to Laboratory Testing: Random Forest-Based Water Quality Prediction Framework for Inland and Nearshore Water Bodies
title_fullStr An Alternative to Laboratory Testing: Random Forest-Based Water Quality Prediction Framework for Inland and Nearshore Water Bodies
title_full_unstemmed An Alternative to Laboratory Testing: Random Forest-Based Water Quality Prediction Framework for Inland and Nearshore Water Bodies
title_sort alternative to laboratory testing: random forest-based water quality prediction framework for inland and nearshore water bodies
publisher MDPI AG
publishDate 2021
url https://doaj.org/article/748aeb620b3b483e931c6a4bdeeb7d7b
work_keys_str_mv AT jianlongxu analternativetolaboratorytestingrandomforestbasedwaterqualitypredictionframeworkforinlandandnearshorewaterbodies
AT zhuoxu analternativetolaboratorytestingrandomforestbasedwaterqualitypredictionframeworkforinlandandnearshorewaterbodies
AT jianjunkuang analternativetolaboratorytestingrandomforestbasedwaterqualitypredictionframeworkforinlandandnearshorewaterbodies
AT chelin analternativetolaboratorytestingrandomforestbasedwaterqualitypredictionframeworkforinlandandnearshorewaterbodies
AT lianghongxiao analternativetolaboratorytestingrandomforestbasedwaterqualitypredictionframeworkforinlandandnearshorewaterbodies
AT xingshanhuang analternativetolaboratorytestingrandomforestbasedwaterqualitypredictionframeworkforinlandandnearshorewaterbodies
AT yufengzhang analternativetolaboratorytestingrandomforestbasedwaterqualitypredictionframeworkforinlandandnearshorewaterbodies
AT jianlongxu alternativetolaboratorytestingrandomforestbasedwaterqualitypredictionframeworkforinlandandnearshorewaterbodies
AT zhuoxu alternativetolaboratorytestingrandomforestbasedwaterqualitypredictionframeworkforinlandandnearshorewaterbodies
AT jianjunkuang alternativetolaboratorytestingrandomforestbasedwaterqualitypredictionframeworkforinlandandnearshorewaterbodies
AT chelin alternativetolaboratorytestingrandomforestbasedwaterqualitypredictionframeworkforinlandandnearshorewaterbodies
AT lianghongxiao alternativetolaboratorytestingrandomforestbasedwaterqualitypredictionframeworkforinlandandnearshorewaterbodies
AT xingshanhuang alternativetolaboratorytestingrandomforestbasedwaterqualitypredictionframeworkforinlandandnearshorewaterbodies
AT yufengzhang alternativetolaboratorytestingrandomforestbasedwaterqualitypredictionframeworkforinlandandnearshorewaterbodies
_version_ 1718410097332322304