Related Experiment Video
Updated: Sep 6, 2025

Watershed Planning within a Quantitative Scenario Analysis Framework
Published on: July 24, 2016
Pre- and post-dam river water temperature alteration prediction using advanced machine learning models
Dinesh Kumar Vishwakarma1, Rawshan Ali2, Shakeel Ahmad Bhat3
1Department of Irrigation and Drainage Engineering, G.B. Pant University of Agriculture and Technology, Pantnagar, 263145, India. dinesh.vishwakarma4820@gmail.com.
This study evaluated machine learning models to predict water temperature changes in the Yangtze River at Cuntan, before and after dam construction. Four models—M5P, RF, RSS, and REPTree—were tested using historical water level data with a day lag. The M5P model performed best, with high accuracy metrics like R² and low error rates. The findings suggest that machine learning can reliably forecast water temperature in dam-impacted rivers. This could help in managing water resources and protecting aquatic habitats. The study supports the use of M5P as a cost-effective and accurate tool for temperature prediction.
Area of Science:
- Hydrology and water resource management
- Machine learning in environmental science
- River ecosystem modeling
Background:
Dams alter river hydrology by changing flow patterns, affecting both low and high flows. This impacts downstream water quality, including temperature. Accurate temperature prediction is essential for agricultural planning and aquatic habitat preservation. While dams are known to modify flow regimes, the precise effects on water temperature remain unclear. Prior research has shown that dam construction influences downstream ecosystems, but the extent of temperature changes is less understood. This gap motivated a study to assess how machine learning can predict temperature changes. No prior work had resolved how different models compare in this context. This paper contributes by evaluating machine learning models for water temperature prediction. The study focuses on the Yangtze River at Cuntan.
Purpose Of The Study:
The goal was to predict daily water temperature changes in the Yangtze River at Cuntan before and after dam construction. This helps in managing water resources and protecting aquatic habitats. The study aimed to compare machine learning models for their accuracy in temperature prediction. A specific problem was the lack of reliable temperature forecasting methods in dam-impacted rivers. The motivation was to find cost-effective and accurate models for real-time use. This work builds on prior knowledge of dam effects on flow but extends it to temperature. The study addresses a gap in predictive modeling for water temperature. The findings could support better dam management and ecological planning.
Main Methods:
The study used four machine learning models: M5P, RF, RSS, and REPTree. Input variables were selected based on correlation coefficients. The focus was on predicting water temperature using lagged water level data. The models were trained and tested using historical temperature data. Goodness-of-fit criteria were used to evaluate model performance. Graphical analysis compared predicted and recorded temperatures. The comparison included R², PCC, MAE, RMSE, RAE, and RRSE metrics. The best-performing model was identified for pre- and post-dam conditions.
Main Results:
The M5P model showed the highest accuracy in predicting water temperature. It achieved an R² of 0.9920 and 0.9708 for pre- and post-dam conditions. The PCC values were 0.9960 and 0.9853, respectively. MAE and RMSE were 0.2387 and 0.3449 for pre-dam and 0.4285 for post-dam. RAE and RRSE values indicated strong model fit. These results suggest M5P outperformed other models in this context. The study found that machine learning can reliably estimate temperature changes. The models used a day lag time input for water level data.
Conclusions:
The study found that machine learning models can accurately predict river water temperature changes. M5P was the most effective model for both pre- and post-dam conditions. These findings support the use of machine learning in water resource management. The models provide cost-effective forecasting methods for dam-impacted rivers. The study highlights the potential of M5P for real-time temperature prediction. The results align with the authors’ claim that dams alter hydrologic regimes. The authors propose that these models can aid in ecological planning. The findings suggest that machine learning is a reliable tool for this application.
Frequently Asked Questions
The M5 Pruned (M5P) model showed the highest accuracy with R² values of 0.9920 and 0.9708 for pre- and post-dam conditions.
The best input variables were determined based on correlation coefficients, with a focus on water level data with a day lag time.
The lag time was used to capture historical water level patterns that influence current temperature changes.
Goodness-of-fit criteria included R², PCC, MAE, RMSE, RAE, and RRSE for comparison with recorded data.
M5P outperformed other models, suggesting it is a reliable method for forecasting water temperature in dam-impacted rivers.
The authors propose that these models can help ecologists and river experts plan reservoirs to maintain flows and minimize temperature changes.
More Related Videos
12:26Integrating Remote Sensing with Species Distribution Models; Mapping Tamarisk Invasions Using the Software for Assisted Habitat Modeling SAHM
Published on: October 11, 2016
04:09Predicting Treatment Response to Image-Guided Therapies Using Machine Learning: An Example for Trans-Arterial Treatment of Hepatocellular Carcinoma
Published on: October 10, 2018
Related Concept Videos
Design Example: Creating a Hydraulic Model of a Dam Spillway
Typical Model Studies
Multiple Regression
Farmers can use multiple regression to determine the crop yield based on more than one factor, such as water availability, fertilizer, soil properties, etc. Here, the crop yield is the response or dependent variable as it depends on the other independent variables. The analysis requires the construction of a scatter plot...
Modeling and Similitude
Regression Analysis
In regression analysis, a regression equation is determined based on the line of best fit– a line that best fits the data points plotted in a graph. This line is also called the regression line. The algebraic equation for the regression line is called the regression equation. It is represented as:
Steps in Outbreak Investigation