Prediction of water quality parameters of Nahand River using random forest model optimized with genetic algorithm

This research aims to enhance the accuracy of water quality predictions using machine learning models. The focus was on evaluating the performance of the Random Forest (RF) model and its hybrid version with a Genetic Algorithm (GA-RF) in predicting biochemical oxygen demand (BOD) and dissolved oxygen (DO) in the Nahand River Basin, Iran. The hybrid model was developed using eleven years of daily water quality data from 2013 to 2023, incorporating 11 input variables—including total nitrogen, total phosphate, nitrite, nitrate, phosphate, nephelometric turbidity unit, water temperature, air temperature, electrical conductivity, pH, and flow. Additionally, six scenarios were created using different combinations of these inputs. The models' performance was statistically evaluated through the coefficient of determination (R²), root mean square error (RMSE), Nash-Sutcliffe efficiency (NS), and Willmott’s index of agreement (WI). Results demonstrated that GA-RF consistently outperformed the standalone RF. In BOD prediction, the GA-RF-6 and RF-5 models achieved R² values of 0.563 and 0.548, respectively. For DO prediction, GA-RF-5 and RF-6 yielded R² values of 0.81 and 0.792, respectively. The findings indicate that integrating the Genetic Algorithm with Random Forest can enhance predictive accuracy in water quality assessments, supporting more informed and sustainable water resource management decisions.

Institutions

Publication Details

Journal
SHILAP Revista de lepidopterología
Published
2025-05-01
DOI
https://doi.org/10.22034/ewe.2025.503129.2000
Primary Topic
Hydrological Forecasting Using AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Prediction of water quality parameters of Nahand River using random forest model optimized with genetic algorithm

SHILAP Revista de lepidopterología
Hydrological Forecasting Using AI
article

Prediction of water quality parameters of Nahand River using random forest model optimized with genetic algorithm

article en

Abstract

This research aims to enhance the accuracy of water quality predictions using machine learning models. The focus was on evaluating the performance of the Random Forest (RF) model and its hybrid version with a Genetic Algorithm (GA-RF) in predicting biochemical oxygen demand (BOD) and dissolved oxygen (DO) in the Nahand River Basin, Iran. The hybrid model was developed using eleven years of daily water quality data from 2013 to 2023, incorporating 11 input variables—including total nitrogen, total phosphate, nitrite, nitrate, phosphate, nephelometric turbidity unit, water temperature, air temperature, electrical conductivity, pH, and flow. Additionally, six scenarios were created using different combinations of these inputs. The models' performance was statistically evaluated through the coefficient of determination (R²), root mean square error (RMSE), Nash-Sutcliffe efficiency (NS), and Willmott’s index of agreement (WI). Results demonstrated that GA-RF consistently outperformed the standalone RF. In BOD prediction, the GA-RF-6 and RF-5 models achieved R² values of 0.563 and 0.548, respectively. For DO prediction, GA-RF-5 and RF-6 yielded R² values of 0.81 and 0.792, respectively. The findings indicate that integrating the Genetic Algorithm with Random Forest can enhance predictive accuracy in water quality assessments, supporting more informed and sustainable water resource management decisions.

SHILAP Revista de lepidopterología
Urmia University (IR), University of Tabriz (IR)
Clean water and sanitation
Openalex Percentile: Top 51%
Hydrological Forecasting Using AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.