Skip to content
Open access

A Machine Learning Framework for Long-term Precipitation Prediction Using Gradient Boosting and Ensemble Techniques

Jul 2026 · The eurasia proceedings of science, technology, engineering & mathematics · Vol 40, pp. 391-396 · 0 citations · 6 references

TL;DR

Findings confirm that machine learning provides a reliable and effective approach for long-term precipitation forecasting in the region, with potential applications in agriculture, transportation, and environmental planning.

Abstract

Long-term precipitation prediction remains a challenging task due to the nonlinear and dynamic interactions among meteorological variables, particularly in regions with complex climatic conditions. This study proposes a Machine Learning framework based on XGBoost combined with temporal feature engineering for predicting rainfall, snowfall, and total precipitation in North Macedonia. Given the limitations of traditional numerical weather prediction models and the lack of region-specific studies focused on the Balkan climate, this research investigates whether advanced supervised learning algorithms can improve the accuracy and stability of precipitation forecasting.A comprehensive dataset covering the period from 2000 to 2025 was obtained from Visual Crossing, followed by extensive preprocessing and feature engineering. The engineered features include lag variables, rolling statistics, seasonal indicators, and interaction terms to better capture temporal dependencies and complex relationships in the data.Three predictive models were developed: a rainfall classifier, a snowfall classifier, and a general precipitation classifier. The primary algorithm employed was XGBoost, while the snowfall prediction model utilized an ensemble stacking approach combining XGBoost, Random Forest, and LightGBM to address class imbalance and enhance model robustness. Model validation was conducted using a TimeSeriesSplit strategy with temporal gaps to prevent data leakage.The results demonstrate significant performance improvements using gradient boosting-based methods. The snowfall model achieved an accuracy ranging from 90% to 97%, rainfall prediction reached 81% to 84%, and the general precipitation model achieved 80% to 81% accuracy. Feature importance analysis identified temperature, humidity, atmospheric pressure patterns, and cloud cover as the most influential predictors. These findings confirm that machine learning provides a reliable and effective approach for long-term precipitation forecasting in the region, with potential applications in agriculture, transportation, and environmental planning.

Read PDF

Similar papers

Open access Sep 2026

A Comprehensive Comparative Analysis of Machine Learning Models for Daily Precipitation Forecasting Using Satellite-Based Meteorological Data

This research establishes that with robust, automated feature engineering, modern machine learning models can explain approximately 68% of the variance in daily precipitation, providing a valuable and rigorously validated tool for a wide range of hydrological applications and setting a realistic performance benchmark.

Tevfik Denizhan Müftüoğlu · 0 citations
Open access Sep 2026

Weather Forecasting Using a PCA-Based Optimized Random Forest Classification Technique

Accurate weather prediction is essential for agriculture, aviation, transportation and disaster management, yet conventional statistical and physics-based forecasting models struggle to capture the non-linear and highly correlated relationships that exist among meteorological variables such as temperature, humidity, wi...

Chandan Mahto, Renu Bagoria · 0 citations
Open access Aug 2026

Rainfall Prediction Using Feature Engineering, SMOTE, and Random Forest-XGBoost Soft Voting Ensemble on WeatherAUS Dataset

Rainfall prediction remains a critical challenge in meteorological science due to the non-linear and non-stationary nature of weather data. A persistent obstacle in building accurate rainfall classifiers is class imbalance, where no-rain observations significantly outnumber rain events, causing models to underperform o...

Fareza Ahmad Kurniawan, M. A. Al Hakim · 0 citations
Open access Sep 2026

Comparative Study of Lstm, Xgboost and Hybrid Lstm-xgboost Models for Rainfall Forecasting in Semi-arid Regions

The XGBoost, LSTM and Hybrid LSTM-XGBoost models outperformed the baseline, achieving a Coefficient of Determination of approximately 0.61 compared with 0.52, and the hybrid model performed best overall, with an RMSE of 38.68 mm.

Rony Muriithi, P. Gachoki, Mutua Kilai · 0 citations
Open access 2026

An Improved AI Weather Prediction System

An improved AI-driven weather prediction system that enhances forecasting accuracy for temperature, humidity, wind speed, and atmospheric pressure through a Random Forest predictive model integrated with the Open Weather Map API and geolocation services is developed.

I. Alabere · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.