3
3
3
Prediction of Weather Forecast for Smart Agriculture supported by Machine Learning (364)
This paper entitled "Forecasting Weather Conditions for Smart Agriculture Using Machine Learning"
introduces machine learning regression methods to predict weather conditions for the development of smart
irrigation systems. It investigates various machine learning regression algorithms such as Random Forest
(RF), Neural Networks (NN), Decision Trees (DT), and Linear Regression (LR) to forecast weather
parameters for upcoming hours. Through cross-validation, it demonstrates that Random Forests and
Decision Trees exhibit the highest efficiency. The model takes input parameters such as field location
(latitude and longitude), date (day, month, and year), and outputs predicted weather forecasts including
temperature, wind speed, precipitation, and evapotranspiration. This prediction capability aims to reduce
water wastage and promote sustainable agricultural practices.
Dataset:The dataset utilized is sourced from the "JRC MARS Meteorological Database," containing
meteorological observations interpolated on a 25x25 km grid, on a daily basis from 1979 to the most recent
complete calendar year, covering the European Union and neighboring countries, obtained from the
Agri4Cast database.
Methodology:The methodology involves initially using default configuration values with the scikit-learn
library in Python for model development. Subsequently, hyperparameter tuning is performed using
Randomized Search CV to optimize model performance. Stratified K-Fold cross-validation is employed to
ensure the model's generalization.
Target/ Objectives: The objective is to obtain the best possible model for weather forecasting based on
field location and date.
Mathematical Model and Result: The mathematical models utilized include Random Forest, Neural
Networks, Decision Trees, and Linear Regression. The dataset is divided into three groups: 70% for
training, 20% for validation, and 10% for testing. Model performance is evaluated using the Mean Absolute
Error (MAE) metric.
The Temperature Regression Result indicates that the default MAE for Random Forest is 0.476, optimized
to 0.473, with a validation MAE of 0.639, suggesting the model's effectiveness.
Conclusion: In conclusion, MAE values of 0.639 degrees for temperature, 0.472 km/h for wind speed, and
0.194 mm for evapotranspiration are achieved using Random Forest, while a MAE of 0.324 mm is attained
for precipitation using Decision Trees. Neural Networks and Linear Regression exhibit inferior
performance.
Future Scope: Future directions involve developing an algorithm to implement this model, automatically
determining optimal irrigation periods based on weather forecasts, and testing it in real-world scenarios.