Jurnal Aplikasi Sains Data
Vol. 2 No. 2 (2026): Journal of Data Science Applications

NEXT-DAY RAINFALL CATEGORY PREDICTION USING ENSEMBLE MACHINE LEARNING AND SHAP

Ulfa Emi Rahmawati (Unknown)
Muhammad Galang Satrio Wicaksono (Universitas Pembangunan Nasional "Veteran" Jawa Timur)



Article Info

Publish Date
30 Oct 2026

Abstract

Rainfall intensity varies substantially over time and is difficult to classify using simple linear approaches because meteorological variables interact nonlinearly. This study develops a day-ahead rainfall-category classification framework using meteorological observations from BMKG for 2025. The dataset contains 366 daily observations of rainfall, temperature, humidity, wind speed, and wind direction. Temporal feature engineering was applied through three-, five-, and seven-day rainfall accumulation as well as rolling humidity and wind-speed features. Random Forest, XGBoost, and LightGBM were trained and compared using accuracy, weighted precision, weighted recall, and weighted F1-score. Hyperparameter tuning was performed using cross-validation, and SHAP was employed to interpret the selected model. XGBoost produced the best balance between precision and recall, with accuracy of 0.8356, weighted precision of 0.7710, weighted recall of 0.8356, and weighted F1-score of 0.8010. The five-fold cross-validation score was 0.8528. SHAP analysis identified humidity as the most influential feature, followed by seven-day rainfall accumulation and five-day rainfall accumulation. These findings indicate that short-term meteorological history and atmospheric humidity are important signals for day-ahead rainfall-category classification.

Copyrights © 2026






Journal Info

Abbrev

jasid

Publisher

Subject

Computer Science & IT Decision Sciences, Operations Research & Management Economics, Econometrics & Finance Electrical & Electronics Engineering

Description

Jurnal Aplikasi Sains Data (JASID) is a peer-reviewed scientific journal published by the Data Science Study Program at Universitas Pembangunan Nasional "Veteran" East Java (UPN "Veteran" Jatim). Serving as a dedicated platform, JASID facilitates the dissemination of knowledge and practical ...