Rainfall Trend Analysis in Tangerang City Using Linear Regression and Random Forest

Main Article Content

Rizaldi Wisnu Wardana

Abstract

Rainfall is an important element in the hydrological cycle that has a significant impact on the environment and human life, especially in tropical areas such as Tangerang City. This study aims to analyze annual and monthly rainfall trends and compare the performance of Linear Regression and Random Forest methods in predicting daily rainfall. Daily rainfall data from the Soekarno-Hatta Meteorological Station during the period 2019–2024 are used as model input. The results show that Random Forest has superior performance in capturing complex and extreme rainfall fluctuation patterns, with lower Mean Squared Error (MSE) and higher R-squared (R²) compared to Linear Regression. Linear Regression is only able to predict linear trends simply but is less accurate in handling non-linear variations. This study provides practical contributions to flood risk mitigation, water resource management, and urban infrastructure planning. The development of more accurate prediction models, such as Random Forest, is an important step in supporting climate change adaptation and environmental management in urban areas. Further research is recommended to include additional atmospheric variables and more complex validation techniques to improve prediction accuracy.

Downloads

Download data is not yet available.

References

Barrera-Animas, A.Y., Oyedele, L.O., Bilal, M., Akinosho, T.D., Delgado, J.M.D., & Akanbi, L.A. (2022). Rainfall prediction: A comparative analysis of modern machine learning algorithms for time-series forecasting. Machine Learning with Applications, 7 (August 2021), 100204. https://doi.org/10.1016/j.mlwa.2021.100204

Bellido‐Jiménez, J.A., Gualda, J.E., & García‐Marín, A.P. (2021). Assessing machine learning models for gap filling daily rainfall series in a semiarid region of Spain. Atmosphere, 12(9). https://doi.org/10.3390/atmos12091158

Bhusal, A., Parajuli, U., Regami, S., & Kalra, A. (2022). Application of Machine Learning and Process-Based Models for. Hydrology, 9(117), 1–20.

BMKG. (2023). Annual Report on Climate Change: Impacts and Trends of Extreme Weather in Indonesia. Meteorology, Climatology, and Geophysics Agency. Retrieved from https://www.bmkg.go.id/iklim/perubahan-iklim-indonesia

Colombia, G. de. (2017). Smart Cities - SMART CITIES. Research Gate, 1–51. https://bibliotecadigital.fgv.br/dspace/handle/10438/18386

Diez-Sierra, J., & del Jesus, M. (2019). Subdaily rainfall estimation through daily rainfall downscaling using random forests in Spain. Water (Switzerland), 11(1). https://doi.org/10.3390/w11010125

Fuladipanah, M., Shahhosseini, A., Rathnayake, N., Azamathulla, H.M., Rathnayake, U., Meddage, D.P.P., & Tota-Maharaj, K. (2024). In-depth simulation of rainfall–runoff relationships using machine learning methods. Water Practice & Technology, 19(6), 2442–2459. https://doi.org/10.2166/wpt.2024.147

Hill, A. J., & Schumacher, R. S. (2021). Forecasting Excessive Rainfall with Random Forests and a Deterministic Convection-Allowing Model. Weather and Forecasting, 36(5), 1693–1711. https://doi.org/10.1175/WAF-D-21-0026.1

Kühnlein, M., Appelhans, T., Thies, B., & Nauss, T. (2014). Improving the accuracy of rainfall rates from optical satellite sensors with machine learning - A random forests-based approach applied to MSG SEVIRI. Remote Sensing of Environment, 141, 129–143. https://doi.org/10.1016/j.rse.2013.10.026

Kumar, R., & Goyal, M. K. (2022). Comparative analysis of rainfall prediction models using linear regression and machine learning methods. Journal of Hydrology: Regional Studies, 40, 101015. https://doi.org/10.1016/j.ejrh.2022.101015

Kuradusenge, M., Kumaran, S., & Zennaro, M. (2020). Rainfall-induced landslide prediction using machine learning models: The case of Ngororero district, Rwanda. International Journal of Environmental Research and Public Health, 17(11), 1–20. https://doi.org/10.3390/ijerph17114147

Latif, S.D., Alyaa Binti Hazrin, N., Hoon Koo, C., Lin Ng, J., Chaplot, B., Feng Huang, Y., El-Shafie, A., & Najah Ahmed, A. (2023). Assessing rainfall prediction models: Exploring the advantages of machine learning and remote sensing approaches. Alexandria Engineering Journal, 82(July), 16–25. https://doi.org/10.1016/j.aej.2023.09.060

Liyew, C. M., & Melese, H. A. (2021). Machine learning techniques to predict daily rainfall amount. Journal of Big Data, 8(1). https://doi.org/10.1186/s40537-021-00545-4

Mohammed, M., Kolapalli, R., Golla, N., & Maturi, S.S. (2020). Prediction of rainfall using machine learning techniques. International Journal of Scientific and Technological Research, 9(1), 3236–3240. https://doi.org/10.46647/ijetms.2023.v07i05.006

Ojo, O.S., & Ogunjo, S.T. (2022). Machine learning models for prediction of rainfall over Nigeria. Scientific African, 16, e01246. https://doi.org/10.1016/j.sciaf.2022.e01246

Parmar, A., Mistree, K., & Sompura, M. (2017). Machine Learning Techniques For Rainfall Prediction: A Review. International Conference on Innovations in Embedded Information and Communication Systems, 3, 6.

Pham, Q.B., Yang, T.C., Kuo, C.M., Tseng, H.W., & Yu, P.S. (2019). Combining random forest and least square support vector regression for improving extreme rainfall downscaling. Water (Switzerland), 11(3). https://doi.org/10.3390/w11030451

Praveen, B., Talukdar, S., Shahfahad, Mahato, S., Mondal, J., Sharma, P., Islam, A.R.M.T., & Rahman, A. (2020). Analyzing trends and forecasting of rainfall changes in India using non-parametrical and machine learning approaches. Scientific Reports, 10(1), 1–21. https://doi.org/10.1038/s41598-020-67228-7

Reddy, P.C.S., Sucharitha, Y., & Narayana, G.S. (2022). Development of Rainfall Forecasting Model Using Machine Learning With Singular Spectrum Analysis. IIUM Engineering Journal, 23(1), 172–186. https://doi.org/10.31436/IIUMEJ.V23I1.1822

Ridwan, W.M., Sapitang, M., Aziz, A., Kushiar, K.F., Ahmed, A.N., & El-Shafie, A. (2021). Rainfall forecasting model using machine learning methods: Case study Terengganu, Malaysia. Ain Shams Engineering Journal, 12(2), 1651–1663. https://doi.org/10.1016/j.asej.2020.09.011

Sarvani, K., Sai Priya, Y., Teja, C., Lokesh, T., Bala, E., & Rao, B. (2021). Rainfall Analysis and Prediction Using Machine Learning Techniques. 12(06), 531–537. www.jespublication.com

Skarlatos, K., Bekri, E.S., Georgakellos, D., Economou, P., & Bersimis, S. (2023). Projecting Annual Rainfall Timeseries Using Machine Learning Techniques. Energies, 16(3), 1–20. https://doi.org/10.3390/en16031459

Tazhibayeva, I., & Kabdulov, R. (2021). Analysis of rainfall variability using statistical and regression methods in Kazakhstan. Geosciences, 11(10), 415. https://doi.org/10.3390/geosciences11100415

Zhang, Y., Li, H., & Ma, X. (2019). Rainfall trend analysis and prediction using Linear Regression and time series models. Water, 11(5), 1–12. https://doi.org/10.3390/w11050978

Zhang, Y., Wang, X., & Jiang, H. (2021). Linear regression for climate and hydrological trend analysis: A case study in eastern China. Environmental Research, 196, 110392. https://doi.org/10.1016/j.envres.2021.110392

Similar Articles

You may also start an advanced similarity search for this article.