Application of a Levenberg–Marquardt-Based Backpropagation Neural Network for Rainfall Prediction Using a Single Weather Station
DOI:
10.29303/jppipa.v12i2.13845Published:
2026-02-25Downloads
Abstract
This study aims to develop an accurate monthly rainfall prediction model for Sabang City, Indonesia, to support agriculture, disaster mitigation, and water resource management in coastal regions with complex climatic conditions. An Artificial Neural Network (ANN) trained using the Levenberg–Marquardt (LM) algorithm was employed, combining the Gradient Descent and the Gauss–Newton methods to enhance convergence speed and training stability. Meteorological data from 2015–2024, including temperature, humidity, air pressure, sunshine duration, wind direction, wind speed, and rainfall, were obtained from the Maimun Saleh Meteorological Station. Model performance was assessed using Mean Squared Error (MSE), Root Mean Squared Error (RMSE), Mean Absolute Error (MAE), Mean Absolute Percentage Error (MAPE), and the coefficient of determination (R²). The optimal architecture consisted of a single hidden layer with 25 neurons, producing an MSE of 955.84 mm², an RMSE of 30.91 mm, an MAE of 23.06 mm, a MAPE of 34.8%, and an R² of 0.93. These results indicate that the ANN-LM model effectively captures nonlinear climatic relationships and seasonal rainfall variability. The MAPE value falls within the acceptable range reported in forecasting literature, demonstrating practical reliability. Overall, the ANN-LM approach outperformed conventional backpropagation in accuracy and training efficiency, indicating its suitability for rainfall prediction in coastal areas.
Keywords:
Artificial neural network Forecasting Levenberg-Marquardt Rainfall predictionReferences
Aïzansi, A. N., Ogunjobi, K. O., & Ogou, F. K. (2024). Monthly rainfall prediction using artificial neural network (case study: Republic of Benin). Environmental Data Science, 3, 1–25. https://doi.org/10.1017/eds.2024.10
Ardana, D., Irwandi, I., Muksin, U., & Idris, M. V. (2025). Rainfall Prediction Using Adaptive Neuro-Fuzzy Inference System Method. Jurnal Penelitian Pendidikan IPA, 11(2), 593–601. https://doi.org/10.29303/jppipa.v11i2.10148
Aslim, M. A. F. I., Jasruddin, J., Palloan, P., Helmi, H., Arsyad, M., & Triwibowo, H. (2023). Monthly Rainfall Prediction Using the Backpropagation Neural Network (BPNN) Algorithm in Maros Regency. Scientific Journal of Informatics, 10(1), 13–24. https://doi.org/10.15294/sji.v10i1.37982
Beddal, D., Achite, M., & Baahmed, D. (2020). Streamflow prediction using data-driven models: Case study of Wadi Hounet, northwestern Algeria. Journal of Water and Land Development, 47(1), 16–24. https://doi.org/10.24425/jwld.2020.135027
Deepa, B., & Ramesh, K. (2022). Epileptic seizure detection using deep learning through min max scaler normalization. International Journal of Health Sciences, 6(April), 10981–10996. https://doi.org/10.53730/ijhs.v6ns1.7801
Desai, C. (2024). Impact of Weight Initialization Techniques on Neural Network Efficiency and Performance: A Case Study with MNIST Dataset. International Journal of Engineering And Computer Science, 13(April), 26115–26120. https://doi.org/10.18535/ijecs/v13i04.4809
Doddy, P., Ardana, H., Sudika, I. G. M., Astariani, N. K., & Sumarda, G. (2020). Application of feed forward backpropagation neural network in monthly rainfall prediction. International Journal of Advanced Trends in Computer Science and Engineering, 8(15). https://doi.org/10.30534/ijatcse/2019/3681.52019
Dutta, K. (2020). Rainfall Prediction using Machine Learning and Neural Network. International Journal of Recent Technology and Engineering (IJRTE), 9(1), 1954–1961. https://doi.org/10.35940/ijrte.a2747.059120
Esteves, J. T., de Souza Rolim, G., & Ferraudo, A. S. (2019). Rainfall prediction methodology with binary multilayer perceptron neural networks. Climate Dynamics, 52(3), 2319–2331. https://doi.org/10.1007/s00382-018-4252-x
Heng, S. Y., Ridwan, W. M., Kumar, P., Ahmed, A. N., Fai, C. M., Birima, A. H., & El-Shafie, A. (2022). Artificial neural network model with different backpropagation algorithms and meteorological data for solar radiation prediction. Scientific Reports, 12(1), 1–18. https://doi.org/10.1038/s41598-022-13532-3
Irwandi, Zulfakriza, Muzli, Hassan, H. M., & Makoto Okubo. (2025). Seismic Hazard for Regional-Scale Sumatra Island Based on Realistic Physical Computation of Seismic Wave Propagation. Journal of Geoscience, Engineering, Environment, and Technology, 10(02), 224–231. https://doi.org/10.25299/jgeet.2025.10.02.21751
Jesus, R. J., Antunes, M. L., da Costa, R. A., Dorogovtsev, S. N., Mendes, J. F. F., & Aguiar, R. L. (2021). Effect of initial configuration of weights on training and function of artificial neural networks. Mathematics, 9(18), 1–16. https://doi.org/10.3390/math9182246
Kumar, V., Kedam, N., Sharma, K. V., Khedher, K. M., & Alluqmani, A. E. (2023). A Comparison of Machine Learning Models for Predicting Rainfall in Urban Metropolitan Cities. Sustainability (Switzerland), 15(18). https://doi.org/10.3390/su151813724
Lee, J., Kim, C. G., Lee, J. E., Kim, N. W., & Kim, H. (2018). Application of artificial neural networks to rainfall forecasting in the Geum River Basin, Korea. Water (Switzerland), 10(10). https://doi.org/10.3390/w10101448
Li, X., & Zhang, X. (2023). A comparative study of statistical and machine learning models on carbon dioxide emissions prediction of China. Environmental Science and Pollution Research, 30(55), 117485–117502. https://doi.org/10.1007/s11356-023-30428-5
Li, Z., Ma, Y., Liu, J., Liu, Y., Ren, W., & Zhao, Q. (2023). Short-Term Rainfall Forecasting by Combining BP-NN Algorithm and GNSS Technique for Landslide-Prone Areas. Atmosphere, 14(8). https://doi.org/10.3390/atmos14081309
Makridakis, S., Spiliotis, E., & Assimakopoulos, V. (2020). The M4 Competition: 100,000 time series and 61 forecasting methods. International Journal of Forecasting, 36(1), 54–74. https://doi.org/10.1016/j.ijforecast.2019.04.014
Mishra, N., Soni, H. K., Sharma, S., & Upadhyay, A. K. (2018). Development and analysis of Artificial Neural Network models for rainfall prediction by using time-series data. International Journal of Intelligent Systems and Applications, 10(1), 16–23. https://doi.org/10.5815/ijisa.2018.01.03
Mzyece, L., Nyirenda, M., & Phiri, J. (2024). Forecasting Seasonal Rainfall using a Feed Forward Neural Network with Back-Propagation: A Case of Zambia. IOSR Journal of Computer Engineering (IOSR-JCE), 25(6), 8–18. https://doi.org/10.9790/0661-2506030818
Nabila, U., Ramadhani, I., & Saumi, F. (2024). Penerapan Backpropagation Neural Network pada Prediksi Curah Hujan di Sumatera Utara. Jurnal Informatika Dan Teknologi Komputer, 4(1), 63–70. https://doi.org/10.55377/j-icom.v4i1.10503
Patro, S. G. K., & sahu, K. K. (2015). Normalization: A Preprocessing Stage. Iarjset, 2(3), 20–22. https://doi.org/10.17148/iarjset.2015.2305
Permai, S. D., Ohyver, M., & Aziz, M. K. B. M. (2021). Daily rainfall modeling using Neural Network. Journal of Physics: Conference Series, 1988(1). https://doi.org/10.1088/1742-6596/1988/1/012040
Ritha, N., & Wardoyo, R. (2016). Implementasi Neural Fuzzy Inference System dan Algoritma Pelatihan Levenberg-Marquardt untuk Prediksi Curah Hujan. IJCCS (Indonesian Journal of Computing and Cybernetics Systems), 10(2), 125. https://doi.org/10.22146/ijccs.15532
Rizaldi, M., Putri, R. D., Nur, M., Amin, S., Akli, M., & Setyawan, N. (2021). Pengaplikasian Artificial Neural Network (ANN) dalam Memprediksi Curah Hujan Menggunakan Python. Seminar Nasional Fortei, 369–373. Retrieved from https://journal.fortei7.org/index.php/sinarFe7/article/view/112
Rudrappa, G., Vijapur, N., & Hosamane, S. (2025). Levenberg-Marquardt-optimized neural network for rainfall forecasting. IAES International Journal of Artificial Intelligence, 14(1), 182–192. https://doi.org/10.11591/ijai.v14.i1.pp182-192
Saputra, A., Sulistiyanti, S. R., Marjunus, R., Yuliant, Y., Junaidi, J., & Surtono, A. (2023). Penerapan Jaringan Saraf Tiruan/JST (Backpropagation) untuk Prakiraan Cuaca di Bandar Udara Radin Inten II Lampung. Jurnal Teori Dan Aplikasi Fisika, 11(01), 63–72. https://doi.org/10.23960/jtaf.v11i1.3164
Satria Wibawa, M. (2017). Pengaruh Fungsi Aktivasi, Optimisasi dan Jumlah Epoch Terhadap Performa Jaringan Saraf Tiruan. Jurnal Sistem Dan Informatika, 11(2), 167–174. Retrieved from http://archive.ics.uci.edu/ml/datasets/Wine
Setiawan, W., Barokah, A., & Mula’ab. (2022). Rainfall Prediction Using Backpropagation with Parameter Tuning. MATEC Web of Conferences, 372, 07003. https://doi.org/10.1051/matecconf/202237207003
Setiyaris, S., Hariyadi, M. A., & Crysdian, C. (2023). Prediksi Curah Hujan Bulanan Berdasrkan Parameter Cuaca Menggunakan Jaringan Saraf Tiruan Levenberg Marquardt. Jurnal Media Informatika Budidarma, 7(3), 1125. https://doi.org/10.30865/mib.v7i3.6328
Sheikhi, Y., Ashrafi, S. M., Nikoo, M. R., & Haghighi, A. (2023). Enhancing daily rainfall prediction in urban areas: a comparative study of hybrid artificial intelligence models with optimization algorithms. Applied Water Science, 13(12), 1–19. https://doi.org/10.1007/s13201-023-02036-8
Sholahudin, S., Kurniawan, A., Nurhidayat, W. D., Alfaturisya, M. A., Aminuddin, I., Dwiyanto, A., Damey, Y., Afifuddin, A., Fauzi, M. S., Sugih, F., & Yudono, M. A. S. (2022). Backpropagation and Radial Basis Function Methods for Predicting Rainfall in Sukabumi City Using Artificial Neural Networks: A Comparative Analysis. FIDELITY : Jurnal Teknik Elektro, 4(2), 25–28. https://doi.org/10.52005/fidelity.v4i2.69
Skorski, M., Temperoni, A., & Theobald, M. (2021). Revisiting Weight Initialization of Deep Neural Networks. Proceedings of Machine Learning Research, 157(2019), 1192–1207. Retrieved from https://proceedings.mlr.press/v157/skorski21a
Syaharuddin, Fatmawati, & Suprajitno, H. (2022). Experimental Analysis of Training Parameters Combination of ANN Backpropagation for Climate Classification. Mathematical Modelling of Engineering Problems, 9(4), 994–1004. https://doi.org/10.18280/mmep.090417
Syaharuddin, Pramita, D., Nusantara, T., Subanji, & Negara, H. R. P. (2020). Analysis of accuracy parameters of ANN backpropagation algorithm through training and testing of hydro-climatology data based on GUI MATLAB. IOP Conference Series: Earth and Environmental Science, 413(1). https://doi.org/10.1088/1755-1315/413/1/012008
Thakur, N., Karmakar, S., & Soni, S. (2021). Rainfall Forecasting Using Various Artificial Neural Network Techniques - A Review. International Journal of Scientific Research in Computer Science, Engineering and Information Technology, 3307, 506–526. https://doi.org/10.32628/cseit2173159
Utama, A. K., & Sidharta, J. (2022). Jaringan Saraf Tiruan Menggunakan Metode Backpropagation untuk Prediksi Curah Hujan Artificial Neural Network Using Backpropagation Method for Rainfall Prediction. Telekontran, 10(1). Retrieved from https://repository.widyakartika.ac.id/3181/
Wong, K., Dornberger, R., & Hanne, T. (2024). An analysis of weight initialization methods in connection with different activation functions forfeedforward neural networks. Evolutionary Intelligence, 17(3), 2081–2089. https://doi.org/10.1007/s12065-022-00795-y
Yaseen, Z. M., Sulaiman, S. O., Deo, R. C., & Chau, K. W. (2019). An enhanced extreme learning machine model for river flow forecasting: State-of-the-art, practical applications in water resource engineering area and future research direction. Journal of Hydrology, 569(December), 387–408. https://doi.org/10.1016/j.jhydrol.2018.11.069
Zulfiani, A., & Fauzi, C. (2023). Penerapan Algorimta Backpropagation Untuk Prakiraan Cuaca Harian Dibandingkan Dengan Support Vector Machine dan Logistic Regression. Jurnal Media Informatika Budidarma, 7(3), 1229. https://doi.org/10.30865/mib.v7i3.6173
License
Copyright (c) 2026 Wahyu Sukmananda, Irwandi, Edwar Iswardy, Kadarsah, Yopi Ilhamsyah, Yuwaldi Away, Chakrit Chotamongsak, Dedy Ardana

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with Jurnal Penelitian Pendidikan IPA, agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution 4.0 International License (CC-BY License). This license allows authors to use all articles, data sets, graphics, and appendices in data mining applications, search engines, web sites, blogs, and other platforms by providing an appropriate reference. The journal allows the author(s) to hold the copyright without restrictions and will retain publishing rights without restrictions.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in Jurnal Penelitian Pendidikan IPA.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).






