Claim Missing Document
Check
Articles

Found 1 Documents
Search

NEXT-DAY RAINFALL CATEGORY PREDICTION USING ENSEMBLE MACHINE LEARNING AND SHAP Ulfa Emi Rahmawati; Muhammad Galang Satrio Wicaksono
Jurnal Aplikasi Sains Data Vol. 2 No. 2 (2026): Journal of Data Science Applications
Publisher : Program Studi Sains Data UPN "Veteran" Jawa Timur

Show Abstract | Download Original | Original Source | Check in Google Scholar

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.