Rainfall Prediction Using Random Forest with Synthetic Minority Over-Sampling Technique (SMOTE)
DOI:
https://doi.org/10.24076/intechnojournal.2026v8i1.2939Keywords:
Rainfall, Random Forest, SMOTE; , Machine Learning, Tanjung PerakAbstract
Rainfall is a crucial meteorological parameter that directly affects maritime activities and port operations, particularly in coastal regions. Tanjung Perak Port, as one of the busiest ports in Indonesia, is highly vulnerable to weather disturbances due to rainfall variability. This study develops a rainfall prediction model based on machine learning using the Random Forest algorithm optimized with the Synthetic Minority Over-Sampling Technique (SMOTE) to address data imbalance. Daily meteorological data for 2013-2024 were obtained from NASA POWER, including rainfall, minimum and maximum temperature, relative and specific humidity, wind speed, and surface pressure. Model performance was evaluated using Mean Absolute Error (MAE), Mean Squared Error (MSE), and Root Mean Squared Error (RMSE). SMOTE improved the model's ability to identify high-intensity rainfall events. The combined 2024-2025 evaluation produced an MAE of 1.457 mm, an RMSE of 1.819 mm, and R² of 0.861. The model therefore captures seasonal rainfall patterns and has potential as a decision-support tool for weather-risk mitigation at Tanjung Perak Port.
References
[1] C. P. Chang, Z. Wang, J. McBride, and C. H. Liu, “Annual cycle of Southeast Asia-Maritime Continent rainfall and the asymmetric monsoon transition,” Journal of Climate, vol. 30, pp. 1-21, 2017.
[2] BMKG, Informasi Iklim dan Prakiraan Musim di Indonesia. Jakarta, Indonesia: Badan Meteorologi, Klimatologi, dan Geofisika, 2023.
[3] A. Kristianto, Y. Prasetyo, and S. Nugroho, “Evaluasi model numerik cuaca untuk prediksi curah hujan di wilayah tropis,” Jurnal Meteorologi dan Geofisika, vol. 19, no. 3, pp. 145-154, 2018.
[4] L. Breiman, “Random forests,” Machine Learning, vol. 45, pp. 5-32, 2001.
[5] G. Fibarkah, M. A. Tondang, N. W. Yulistyaningrum, and M. Afrad, “Prediksi curah hujan menggunakan model Random Forest di wilayah pesisir,” Jurnal Meteorologi dan Geofisika, vol. 24, no. 2, pp. 87-98, 2024.
[6] H. N. Irmanda, Ermatita, M. K. Awang, and M. Adrezo, “Enhancing weather prediction models through the application of Random Forest method,” International Journal on Informatics Visualization, vol. 8, no. 3, pp. 1506-1514, 2024.
[7] N. V. Chawla, K. W. Bowyer, L. O. Hall, and W. P. Kegelmeyer, “SMOTE: Synthetic minority over-sampling technique,” Journal of Artificial Intelligence Research, vol. 16, pp. 321-357, 2002.
[8] T. Akiba, S. Sano, T. Yanase, T. Ohta, and M. Koyama, “Optuna: A next-generation hyperparameter optimization framework,” in Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, 2019.
[9] M. Taqiyuddin and T. B. Sasongko, “Prediksi cuaca menggunakan algoritma Random Forest,” Jurnal Media Informatika Budidarma, vol. 8, no. 3, pp. 1683-1692,
[10] H. Hewamalage, C. Bergmeir, and K. Bandara, “Recurrent neural networks for time series forecasting: Current status and future directions,” International Journal of Forecasting, vol. 39, pp. 388-427, 2023.
Downloads
Published
License
Copyright (c) 2026 Intechno Journal : Information Technology Journal

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












