Evaluating the Accuracy of a Hybrid Neural Model with RBF-Polynomial Kernel for Rainfall Prediction: A Comparative Analysis of Trainlm and Trainrp Functions

Authors

  • Syaharuddin Syaharuddin Universitas Airlangga
  • Abdillah Abdillah Universitas Muhammadiyah Mataram
  • Alfiana Sahraini Universitas Muhammadiyah Mataram
  • Lilis Suriani Universitas Muhammadiyah Mataram

DOI:

https://doi.org/10.29207/resti.v9i5.6388

Keywords:

backpropagation, neural network, RBF-polynomial, relevance vector machine, rainfall

Abstract

Accurate rainfall prediction is crucial for effective water management and disaster mitigation. This study introduces a novel hybrid neural model that employs a fourth-degree polynomial kernel and provides the first empirical comparison of the trainlm and trainrp functions to enhance forecasting accuracy. This study explored the application of a neural network algorithm with RBF-Polynomial (degree 4) kernel for training and testing data in rainfall forecasting. This study focused on monthly rainfall data collected from Mataram City, Indonesia. We developed a hybrid BP-RVM algorithm as the main algorithm that offers a predictive approach to compare the trainlm and trainrp functions. We conducted 20 trials with combinations of learning, momentum, and gamma-RBF at internal values of 0.01-0.9. The training results from trainrp with more than 118 iterations yielded the best performance with learning rate 0.8 and momentum 0.2; MSE value of 2,236.25 and RMSE of 47.29. These results indicate a relatively low error rate for the proposed method. In contrast, the trainlm method, which only requires 18 iterations with a learning rate of 0.6 and momentum of 0.4, produces an MSE of 2,689.25 and RMSE of 51.86, showing its efficiency in reducing the computation time but with a slightly higher error rate than trainrp. Overall, the trainrp method was more accurate in capturing actual rainfall patterns with lower error rates, whereas the trainlm method exhibited good stability but greater sensitivity to parameter variations. This comparative analysis highlights the potential of trainrp to achieve more precise rainfall predictions within the study area.

Downloads

Download data is not yet available.

References

G. Giani, L. Tarasova, R. A. Woods, and M. A. Rico-Ramirez, “An Objective Time-Series-Analysis Method for Rainfall-Runoff Event Identification,” Water Resour. Res., vol. 58, no. 2, pp. 1–18, 2022, doi: 10.1029/2021WR031283.

A. Al Mutairi, “A new alpha logarithmic-generated class to model precipitation data with theory and inference,” Heliyon, vol. 9, no. 9, p. e19561, 2023, doi: 10.1016/j.heliyon.2023.e19561.

E. G. Wahyuni, L. M. F. Fauzan, F. Abriyani, N. F. Muchlis, and M. Ulfa, “Rainfall prediction with backpropagation method,” in Journal of Physics: Conference Series, 2018. doi: 10.1088/1742-6596/983/1/012059.

L. G. Wright et al., “Deep physical neural networks trained with backpropagation,” Nature, vol. 601, no. 7894, pp. 549–555, 2022, doi: 10.1038/s41586-021-04223-6.

D. Huang and Z. Wu, “Forecasting outpatient visits using empirical mode decomposition coupled with backpropagation artificial neural networks optimized by particle swarm optimization,” PLoS One, vol. 12, no. 2, pp. 1–17, 2017, doi: 10.1371/journal.pone.0172539.

J. Tarigan, Nadia, R. Diedan, and Y. Suryana, “Plate Recognition Using Backpropagation Neural Network and Genetic Algorithm,” in Procedia Computer Science, 2017, pp. 365–372. doi: 10.1016/j.procs.2017.10.068.

S. M. Acosta, A. L. Amoroso, Â. M. O. Sant’Anna, and O. C. Junior, “Predictive modeling in a steelmaking process using optimized relevance vector regression and support vector regression,” Ann. Oper. Res., vol. 316, no. 4, pp. 905–926, 2022, doi: https://doi.org/10.1007/s10479-021-04053-9.

A. Bharathi and K. Anandakumar, “Cancer classification using relevance vector machine learning approach,” J. Med. Imaging Heal. Informatics, vol. 5, no. 3, pp. 630–634, 2015, doi: 10.1166/jmihi.2015.1412.

R. K. Agrawal, F. Muchahary, and M. M. Tripathi, “Ensemble of relevance vector machines and boosted trees for electricity price forecasting,” Appl. Energy, vol. 250, pp. 540–548, 2019, doi: 10.1016/j.apenergy.2019.05.062.

Q. Bing, B. Gong, Z. Yang, Q. Shang, and X. Zhou, “Short-Term Traffic Flow Local Prediction Based on Combined Kernel Function Relevance Vector Machine Model,” Math. Probl. Eng., vol. 2015, 2015, doi: 10.1155/2015/154703.

I. M. Sofian, A. K. Affandi, I. Iskandar, and Y. Apriani, “Monthly rainfall prediction based on artificial neural networks with backpropagation and radial basis function,” Int. J. Adv. Intell. Informatics, vol. 4, no. 2, pp. 154–166, 2018, doi: 10.26555/ijain.v4i2.208.

Syaharuddin, D. Pramita, T. Nusantara, Subanji, and H. R. P. Negara, “Analysis of accuracy parameters of ANN backpropagation algorithm through training and testing of hydro-climatology data based on GUI MATLAB,” in IOP Conference Series: Earth and Environmental Science, Institute of Physics Publishing, Jan. 2020. doi: 10.1088/1755-1315/413/1/012008.

D. Z. Zurkarnain, A. Damayanti, and E. Winarko, “Hybrid Jaringan Saraf Tiruan Backpropagation dengan Firefly Algorithm dan Simulated Annealing untuk Peramalan Curah Hujan di Surabaya,” Contemp. Math. Appl., vol. 3, no. 1, p. 56, 2021, doi: 10.20473/conmatha.v3i1.26942.

V. Mandailina, A. Nurhalimah, S. Mehmood, Syaharuddin, and Ibrahim, “Study of Climate Change in the Mandalika International Circuit Area Using Neural Network Backpropagation,” Rev. d’Intelligence Artif., vol. 36, no. 6, pp. 847–853, 2022, doi: 10.18280/ria.360604.

Syaharuddin, Fatmawati, H. Suprajitno, and Ibrahim, “Hybrid Algorithm of Backpropagation and Relevance Vector Machine with Radial Basis Function Kernel for Hydro-Climatological Data Prediction,” Math. Model. Eng. Probl., vol. 10, no. 5, pp. 1706–1716, 2023, doi: 10.18280/mmep.100521.

M. A. Saleh, H. M. Rasel, and B. Ray, “A comprehensive review towards resilient rainfall forecasting models using artificial intelligence techniques,” Green Technol. Sustain., vol. 2, no. 3, p. 100104, 2024, doi: 10.1016/j.grets.2024.100104.

A. Hussain, A. Aslam, S. Tripura, V. Dhanawat, and V. Shinde, “Weather Forecasting Using Machine Learning Techniques: Rainfall and Temperature Analysis,” J. Adv. Inf. Technol., vol. 15, no. 12, pp. 1329–1338, 2024, doi: 10.12720/jait.15.12.1329-1338.

K.-C. Lin, W.-T. Chen, P.-L. Chang, Z.-Y. Ye, and C.-C. Tsai, “Enhancing the Rainfall Forecasting Accuracy of Ensemble Numerical Prediction Systems via Convolutional Neural Networks,” Artif. Intell. Earth Syst., vol. 3, no. 4, pp. 1–22, 2024, doi: https://doi.org/10.1175/AIES-D-23-0105.1.

A. Surana, S. E. Pawar, S. Raha, N. Mali, and T. Mukherjee, “Ensemble Fine Tuned Multi Layer Perceptron For Predictive Analysis Of Weather Patterns and Rainall Forecasting From Satellite Data,” ICTACT J. Soft Comput., vol. 15, no. 2, pp. 3491–3496, 2024, doi: https://www.i-scholar.in/index.php/IJSC/article/view/226424.

S. R. Alve, A. J. Pial, M. Z. Mahmud, and S. Islam, “Harnessing Historical Weather Data with Machine Learning for Rainfall Forecasting in Bangladesh: A Time Series Analysis,” Cogniz. J. Multidiscip. Stud., vol. 4, no. 8, pp. 274–289, 2024, doi: 10.47760/cognizance.2024.v04i08.017.

A. Prahutama and H. Yasin, “Prediction of Weekly Rainfall in Semarang City Use Support Vector Regression (SVR) with Quadratic Loss Function,” Int. J. Sci. Eng., vol. 9, no. 1, pp. 13–16, 2015, doi: https://doi.org/10.12777/ijse.0.0.

L. Zhang, C. Chen, Y. Xia, Q. Song, and J. Cao, “Prediction of Blade Tip Timing Sensor Waveforms Based on Radial Basis Function Neural Network,” Appl. Sci., vol. 13, no. 17, pp. 1–19, 2023, doi: 10.3390/app13179838.

E. Dong, G. Zhu, C. Chen, J. Tong, Y. Jiao, and S. Du, “Introducing chaos behavior to kernel relevance vector machine (RVM) for four-class EEG classification,” PLoS One, vol. 13, no. 6, pp. 1–19, 2018, doi: 10.1371/journal.pone.0198786.

C. McCall et al., “Distinguishing radiation mechanisms and particle populations in blazar jets through long-term multiband monitoring with RINGO3 and Fermi,” Mon. Not. R. Astron. Soc., vol. 532, no. 2, pp. 2788–2819, 2024, doi: 10.1093/mnras/stae1693.

N. Fariq, Y. Visuvanathan, S. H. Syam, A. Jamil, and M. S. Mohd, “Log-sigmoid Activation Function based MLP Network for Aggregate Classi fi cation,” J. Kejuruter., vol. 37, no. 1, pp. 471–475, 2025, doi: https://doi.org/10.17576/jkukm-2025-37(1)-34 471.

L. C. Velasco, J. M. Aca-ac, J. J. Cajes, N. J. Lactuan, and S. C. Chit, “Rainfall Forecasting using Support Vector Regression Machines,” Int. J. Adv. Comput. Sci. Appl., vol. 13, no. 3, pp. 231–237, 2022, doi: 10.14569/IJACSA.2022.0130329.

W. Setiawan, A. Barokah, and Mula’ab, “Rainfall Prediction Using Backpropagation with Parameter Tuning,” MATEC Web Conf., vol. 372, p. 07003, 2022, doi: 10.1051/matecconf/202237207003.

Syaharuddin, Fatmawati, and H. Suprajitno, “Long-term forecasting for climate classification using hybrid backpropagation relevance vector machine algorithm,” IOP Conf. Ser. Earth Environ. Sci., vol. 1441, no. 1, pp. 1–6, 2025, doi: 10.1088/1755-1315/1441/1/012010.

H. Ihsan, A. Illa, and E. Nensi, “Implementation Of Backpropagation And Hybrid Arima-Nn Methods In Predicting Accuracy Levels Of Rainfall In Makassar City,” BAREKENG J. Ilmu Mat. dan Terap., vol. 18, no. 4, pp. 2435–2448, 2024, doi: https://doi.org/10.30598/barekengvol18iss4pp2435-2448.

C. D. Usman, A. P. Widodo, K. Adi, and R. Gernowo, “Rainfall prediction model in Semarang City using machine learning,” Indones. J. Electr. Eng. Comput. Sci., vol. 30, no. 2, pp. 1224–1231, 2023, doi: 10.11591/ijeecs.v30.i2.pp1224-1231.

P. Kumar, R. Lakshmi, and B. Behera, “Performance Analysis and Evaluation of Machine Learning Algorithms in Rainfall Prediction,” Int. J. Adv. Sci. Technol., vol. 29, no. 5, pp. 5727–5741, 2020, doi: https://sersc.org/journals/index.php/IJAST/article/view/15057

.

Downloads

Published

2025-10-11

Issue

Section

Computer Science Applications

How to Cite

Syaharuddin, S., Abdillah, A., Alfiana Sahraini, & Lilis Suriani. (2025). Evaluating the Accuracy of a Hybrid Neural Model with RBF-Polynomial Kernel for Rainfall Prediction: A Comparative Analysis of Trainlm and Trainrp Functions. Jurnal RESTI (Rekayasa Sistem Dan Teknologi Informasi), 9(5), 1038-1046. https://doi.org/10.29207/resti.v9i5.6388