Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

mehdiby/Water-Level-Prediction-in-Tunisian-Dams

Domain:

environment and energy

Record type:

project
Creator:
meh
Host:
This project aims to predict the water level in various dams across Tunisia using machine learning algorithms. The dataset used in this project is sourced from the Tunisian Ministry of Agriculture. # Water Level Prediction in Tunisian Dams Water scarcity is a real threat facing not only Tunisia but the entire world. With water being a finite resource, it's essential to measure and manage it accurately to avoid shortages and ensure access to clean water for all. This project aims to predict the water level in various dams across Tunisia using machine learning algorithms, which could be used to improve water management and mitigate the risk of water shortages. ## Data The data for this project consists of two CSV files: - `dam_data.csv`: Contains the water level measurements for 28 Tunisian dams from 1/8/2014 to 2/5/2019. - `weather_data.csv`: Contains daily weather data (temperature, precipitation, wind speed, etc.) for weather stations located near the dams. ## Methodology We used Jupyter Notebook and Python to preprocess the data and train machine learning models. After cleaning the data and exploring its features, we trained several models, including Random Forest, XGBoost, and Gradient Boosting, to predict the water level in each dam. We evaluated the models using root mean squared error (RMSE) and found that the combination of Random Forest, XGBoost, and Gradient Boosting algorithms provided the best results, achieving an RMSE of 15.4. ## Visualization We used Matplotlib and Seaborn to visualize the water level predictions for each dam and the correlation between the water level and weather features. The visualizations provided insights into the relationships between the variables and helped us to better understand the data. We also generated a report of the data using pandas profiling, which provided a quick and easy way to get insights into the data. You can view the report by clicking here. ## Notebook To reproduce the results of this project, please refer to the Jupyter notebook `water_level_prediction.ipynb`. ## Conclusion This project demonstrates the effectiveness of machine learning algorithms in predicting water levels in dams when …

Visit

github.com