Journal of Mathematics, Computation and Statistics (JMATHCOS)
Vol. 9 No. 2 (2026): Volume 09 Issue 02 (June 2026)

Comparison of Support Vector Regression and Random Forest Methods for Rainfall Prediction in Makassar City

Ilmadinah Kadir (Universitas Negeri Makassar)
Wahidah Sanusi (Universitas Negeri Makassar)
Ja'faruddin Ja'faruddin (Universitas Negeri Makassar)



Article Info

Publish Date
23 May 2026

Abstract

This study aims to compare the performance of Support Vector Regression (SVR) and Random Forest (RF) methods in predicting daily rainfall in Makassar City and to identify the most influential meteorological factors. The dataset consists of daily climate data from 2019 to 2024, including rainfall as the response variable and temperature, humidity, wind speed, and sunshine duration as predictor variables. Data preprocessing was conducted through missing value imputation, time-series structuring, and normalization using the Z-score method for the SVR model. The SVR model was developed using several kernel functions, including linear, polynomial, radial basis function (RBF), and sigmoid, with hyperparameter tuning performed using grid search and k-fold cross-validation. Meanwhile, the Random Forest model was constructed using bootstrap aggregation and random feature selection, with optimal parameters determined based on the minimum out-of-bag (OOB) error. The results show that the SVR model with the RBF kernel achieved the best performance, with RMSE of 16.52 mm and MAE of 9.01 mm, outperforming the Random Forest model, which produced RMSE of 18.15 mm and MAE of 10.93 mm. Furthermore, feature importance analysis indicates that humidity and temperature are the most dominant variables influencing rainfall. Therefore, the SVR method is more accurate and reliable for rainfall prediction in Makassar City.

Copyrights © 2026






Journal Info

Abbrev

JMATHCOS

Publisher

Subject

Mathematics

Description

Fokus yang didasarkan tidak hanya untuk penelitian dan juga teori-teori pengetahuan yang tidak menerbitkan plagiarism. Ruang lingkup jurnal ini adalah teori matematika, matematika terapan, program perhitungan, perhitungan matematika, statistik, dan statistik ...