Enhancing Weather Forecasting Accuracy: A Machine Learning Approach Using Genetic Algorithm and Random Forest
DOI:
https://doi.org/10.53762/grjnst.03.03.14Keywords:
Weather Forecasting, Machine Learning, Random Forest Algorithm, Genetic Algorithm, Feature Selection.Abstract
Weather prediction plays a vital role in numerous fields, including agriculture, transportation, and emergency response. However, the intricate and nonlinear nature of atmospheric progressions makes accurate forecasting a persistent challenge. This research explores the application of machine learning, particularly Random Forest (RF) algorithm to improve weather prediction using historical meteorological data. The study employs a dataset comprising 13,202 records with 11 weather-related variables. Two distinct models were developed: one using raw, unprocessed data and another incorporating Genetic Algorithm (GA)-based feature selection to identify optimal predictors. Both models were evaluated on a test of 3,960 instances. Results indicate that the GA-enhanced model outperformed the baseline, achieving an accuracy of 92.65% compared to 91.31%. Additional metrics, including kappa statistics, MAE, RMSE, precision, recall, and F-measure further validated the model’s robustness. Notably, both models exhibited strong discriminative ability, with ROC and PRC areas exceeding 0.98, while the optimized model maintained high performance with reduced dimensionality. This study demonstrates that combining Random Forest with Genetic Algorithm-driven feature selection significantly enhances weather prediction accuracy. The proposed approach offers a reliable framework for developing efficient forecasting systems, with potential applications in real-time and long-term meteorological analysis.
Downloads
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Fardad Ali Shah, Ayesha Bint E Meraj , Malak Roman, Masood Anwar, Awrang Zaib, Sana Shaiza Shams, Farzana Hussain (Author)

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.



