Journal of Electrical Engineering and Computer (JEECOM)
Vol 8, No 2 (2026)

Comparing Random Forest and XGBoost for Dasarian Rainfall Forecasting in East Java

Ayuningtyas, Selina (Unknown)
Miftahul Arif, Yunifa (Unknown)
Nugroho, Fresy (Unknown)
Pagalay, Usman (Unknown)
Supriyatno, Triyo (Unknown)



Article Info

Publish Date
27 Jun 2026

Abstract

Ten-day (dasarian) rainfall forecasts support agricultural planning and water management in East Java, Indonesia, where rainfall differs strongly among seasonal zones. This study compares two tree-based ensemble algorithms, Random Forest and Extreme Gradient Boosting (XGBoost), for dasarian rainfall forecasting in 74 Seasonal Zones (Zona Musim, ZOM). Historical dasarian rainfall, the Oceanic NiƱo Index, the Dipole Mode Index, and sea surface temperature anomalies, together with lag, seasonal, and rolling-mean features, were used as predictors. A direct multi-step strategy was applied, in which a separate model was trained for each forecast horizon from 1 to 36 dasarian in every ZOM. Models were built with data from 1993 to 2022 and evaluated chronologically on 108 dasarian per ZOM (August 2022 to July 2025; 7,992 observations in total) using mean absolute error (MAE), root mean squared error (RMSE), and the correlation coefficient. Random Forest obtained a mean MAE of 40.11 mm per dasarian and a mean RMSE of 52.56 mm per dasarian, compared with 43.09 and 57.87 mm per dasarian for XGBoost. Random Forest had the lower RMSE in 73 of the 74 ZOM and the lower MAE in 66. Performance varied considerably among zones, and both algorithms underestimated high rainfall and overestimated near-zero rainfall. No systematic hyperparameter tuning or statistical significance test was performed, so the results describe the compared configurations rather than the general superiority of either algorithm.

Copyrights © 2026






Journal Info

Abbrev

jeecom

Publisher

Subject

Control & Systems Engineering Electrical & Electronics Engineering Energy

Description

Journal of Electrical Engineering and Computer (JEECOM) is published by Engineering Faculty of Nurul Jadid University, Probolinggo, East Java, Indonesia. This journal encompasses research articles, original research report, : 1) Power Systems, 2) Signal, System, and Electronics, 3) Communication ...