Penerapan Metode Principal Component Analysis (PCA) dan Long Short-Term Memory (LSTM) dalam Memprediksi Prediksi Curah Hujan Harian


  • Musfiroh Musfiroh * Mail UIN Sunan Ampel Surabaya, Indonesia
  • Dian Candra Rini Novitasari UIN Sunan Ampel Surabaya, Surabaya, Indonesia
  • Putroue Keumala Intan UIN Sunan Ampel Surabaya, Surabaya, Indonesia
  • Gede Gangga Wisnawa Badan Meteorologi Klimatologi dan Geofisika, Surabaya, Indonesia
  • (*) Corresponding Author
Keywords: Rainfall; Feature Extraction; Hydrology; LSTM; North Luwu; PCA

Abstract

Since the last three years North Luwu has experienced frequent hydrological disasters in the form of floods and landslides. The disaster had a negative impact on the availability of clean water, failed to plant and even tended to reduce the quality of the harvest. Cocoa is one of the leading commodities of North Luwu Regency whose productivity has decreased due to the impact of climate change so that it will affect the sustainability of the local population's income. Therefore, the purpose of this research is to anticipate rainfall that will occur to prevent or reduce the risk of failure and loss. Principal Component Analysis (PCA) Method is used as feature extraction to find out the most influential variables and the Long Short-Term Memory (LSTM) method is used as a prediction method. Future rainfall is predicted using meteorological variables such as pressure, evaporation, maximum temperature, average humidity, and sunshine duration from 1 January 2017 to 30 September 2022. Based on the PCA results, 4 variables are obtained that have the most influence on rainfall, namely: variable evaporation, maximum temperature, average humidity, and length of sunlight. These variables are used as input to predict rainfall using LSTM. In this study using trial parameters, namely the number of hidden, batch size, and learn rate drop period. The best prediction results were obtained for MAPE of 0.0018 with the number of hidden, batch size and learn rate drop periods of 100, 32, and 50 respectively. The prediction results show very heavy rainfall occurring on August 28, 2021 of 101.9734 mm, 21 September 2021 of 108.6528 mm, and 5 April 2022 of 116.5510 mm. In this study PCA was able to increase accuracy in considering all parameters and choosing the most effective.

Downloads

Download data is not yet available.

References

F. Zul, Kaimuddin, and Rafiuddin, “Analysis of climate and population dynamics of Conomoporpha cramerella pest in North Luwu,” IOP Conf. Ser. Earth Environ. Sci., vol. 486, no. 1, 2020, doi: 10.1088/1755-1315/486/1/012084.

A. Nugraha, M. A. Heryanto, E. Wulandari, and P. Pardian, “Heading towards sustainable cacao agribusiness system (a case study in North Luwu, South Sulawesi, Indonesia),” IOP Conf. Ser. Earth Environ. Sci., vol. 306, no. 1, 2019, doi: 10.1088/1755-1315/306/1/012035.

A. S. Ahmar, M. A. Tiro, and R. P. Utama, “Rainfall forecasting using backpropagation neural network : a case in of North Luwu , Indonesia,” Jt. Work. KO2PI 1st Int. Conf. Adv. Sci. Innov., no. January, pp. 1–7, 2018, doi: 10.4108/eai.23-4-2018.2277580.

Kaimuddin et al., “Water requirement for cocoa (Theobroma cacao L.) plant and the effect of climate factors on the distribution of the cocoa pod borer attacks (Conopomorpha cramerella Snellen) in North Luwu Regency using Cropwat 8.0,” IOP Conf. Ser. Earth Environ. Sci., vol. 575, no. 1, pp. 0–11, 2020, doi: 10.1088/1755-1315/575/1/012116.

N. H. Muzaki, Eriska Febriati, and Yosafat Donni Haryanto, “Pemanfaatan satelit himawari-8 untuk estimasi curah hujan dengan metode Convective Stratiform Technique (CST) Dan Modified Convective Stratiform Technique (Mcst) di wilayah ekuatorial dan monsunal (studi kasus Sulawesi 2020),” J Stat., vol. 14, no. 2, pp. 67–73, 2022, doi: 10.36456/jstat.vol14.no2.a3860.

S. Nurdiati, A. Sopaheluwakan, and P. Septiawan, “Joint distribution analysis of forest fires and precipitation in response to ENSO, IOD, and MJO (study case: Sumatra, Indonesia),” Atmosphere (Basel)., vol. 13, no. 4, pp. 1–20, 2022, doi: 10.3390/atmos13040537.

J. A. I. Paski et al., “Analysis of multi-scale hydrometeorological triggering flash flood event of the 13 July 2020 in North Luwu, South Sulawesi,” IOP Conf. Ser. Earth Environ. Sci., vol. 893, no. 1, 2021, doi: 10.1088/1755-1315/893/1/012014.

M. T. R. Abdullah, H. Cangara, and Arianto, “The analysis of communication strategies of North Luwu regency government in socio-economic recovery after landslides and flash flood,” Proc. 2nd Int. Conf. Sci. Technol. Mod. Soc. (ICSTMS 2020), vol. 576, no. 24, pp. 453–461, 2021, doi: 10.2991/assehr.k.210909.098.

M. P. Hatta, F. Fadlin, R. Harun, Y. Elfita, and I. Renreng, “Application of 2D numerical simulation for the analysis of July 2020 North Luwu flood,” IOP Conf. Ser. Earth Environ. Sci., vol. 841, no. 1, 2021, doi: 10.1088/1755-1315/841/1/012028.

Herman, “Banjir terjang pemukiman di Luwu Utara, 982 warga terdampak banjir,” liputan6.com, 2021. https://www.liputan6.com/news/read/4655925/banjir-terjang-pemukiman-di-luwu-utara-982-warga-terdampak-banjir (accessed Aug. 27, 2022).

A. Setyadi, “Banjir kembali terjang Luwu Utara, 76 KK terdampak,” news.okezone.com/, 2022. https://news.okezone.com/read/2022/07/06/340/2624736/banjir-kembali-terjang-luwu-utara-76-kk-terdampak (accessed Aug. 05, 2022).

Y. P. Pasaribu, H. Fitrianti, and D. R. Suryani, “Rainfall forecast of Merauke using Autoregressive Integrated Moving Average model,” E3S Web Conf., vol. 73, pp. 1–5, 2018, doi: 10.1051/e3sconf/20187312010.

S. Sunardi, A. Yudhana, and G. Z. Muflih, “Sistem prediksi curah hujan bulanan menggunakan jaringan saraf tiruan backpropagation,” J. Sist. Inf. Bisnis 02(2020), vol. 02, pp. 155–162, 2020.

R. E. Caraka et al., “Generalized Spatio Temporal Autoregressive rainfall-ENSO pattern in East Java Indonesia,” 1st 2018 Indones. Assoc. Pattern Recognit. Int. Conf. Ina. 2018 - Proc., no. September, pp. 75–79, 2019, doi: 10.1109/INAPR.2018.8627042.

J. Badriyah, A. Fariza, and T. Harsono, “Prediksi curah hujan menggunakan Long Short Term Memory,” J. Media Inform. Budidarma, vol. 6, pp. 1297–1303, 2022, doi: 10.30865/mib.v6i3.4008.

Y. C. Chen, J. J. Gao, Z. H. Bin, J. Z. Qian, R. L. Pei, and H. Zhu, “Application study of IFAS and LSTM models on runoff simulation and flood prediction in the Tokachi River basin,” J. Hydroinformatics, vol. 23, no. 5, pp. 1098–1111, 2021, doi: 10.2166/hydro.2021.035.

C. Chen et al., “Forecast of rainfall distribution based on fixed sliding window long short-term memory,” Eng. Appl. Comput. Fluid Mech., vol. 16, no. 1, pp. 248–261, 2022, doi: 10.1080/19942060.2021.2009374.

Z. Chao, F. Pu, Y. Yin, B. Han, and X. Chen, “Research on real-time local rainfall prediction based on MEMS sensors,” J. Sensors, vol. 2018, 2018, doi: 10.1155/2018/6184713.

S. Poornima and M. Pushpalatha, “Prediction of rainfall using intensified LSTM based Recurrent Neural Network with Weighted Linear Units,” Atmosphere (Basel)., vol. 10, no. 11, 2019, doi: 10.3390/atmos10110668.

A. G. Salman, Y. Heryadi, E. Abdurahman, and W. Suparta, “single layer & multi-layer Long Short-Term Memory (LSTM) model with intermediate variables for weather forecasting,” Procedia Comput. Sci., vol. 135, pp. 89–98, 2018, doi: 10.1016/j.procs.2018.08.153.

J. Kang, H. Wang, F. Yuan, Z. Wang, J. Huang, and T. Qiu, “Prediction of precipitation based on recurrent neural networks in jingdezhen, jiangxi province, China,” Atmosphere (Basel)., vol. 11, no. 3, pp. 1–17, 2020, doi: 10.3390/atmos11030246.

J. Zhang et al., “Daily runoff forecasting by deep recursive neural network,” J. Hydrol., vol. 596, no. December 2020, p. 126067, 2021, doi: 10.1016/j.jhydrol.2021.126067.

G. Mao et al., “Comprehensive comparison of artificial neural networks and long short-term memory networks for rainfall-runoff simulation,” Phys. Chem. Earth, vol. 123, p. 103026, 2021, doi: 10.1016/j.pce.2021.103026.

R. Pujianto, Adiwijaya, and A. A. Rahmawati, “Analisis Ekstraksi Fitur Principle Component Analysis pada Klasifikasi Microarray Data Menggunakan Classification And Regression Trees,” eProceedings …, vol. 6, no. 1, pp. 2368–2379, 2019.

B. Rahmani, S. Javadi, and S. M. H. Shahdany, “Evaluation of aquifer vulnerability using PCA technique and various clustering methods,” Geocarto Int., vol. 36, no. 18, pp. 2117–2140, 2021, doi: 10.1080/10106049.2019.1690057.

M. Tripathi and S. K. Singal, “Use of Principal Component Analysis for parameter selection for development of a novel Water Quality Index: A case study of river Ganga India,” Ecol. Indic., vol. 96, no. September 2018, pp. 430–436, 2019, doi: 10.1016/j.ecolind.2018.09.025.

Y. Wen, P. Lin, and X. Nie, “Research of stock price prediction based on PCA-LSTM model,” IOP Conf. Ser. Mater. Sci. Eng., vol. 790, no. 1, 2020, doi: 10.1088/1757-899X/790/1/012109.

D. Geng, H. Zhang, and H. Wu, “Short-term wind speed prediction based on principal component analysis and LSTM,” Appl. Sci., vol. 10, no. 13, 2020, doi: 10.3390/app10134416.

Y. Ling, Q. Yue, C. Chai, Q. Shan, D. Hei, and W. Jia, “Nuclear accident source term estimation using Kernel Principal Component Analysis, Particle Swarm Optimization, and Backpropagation Neural Networks,” Ann. Nucl. Energy, vol. 136, p. 107031, 2020, doi: 10.1016/j.anucene.2019.107031.

BMKG, “Data online pusat database BMKG.” http://dataonline.bmkg.go.id/home.

I. G. W. Sena, J. W. Dillak, P. Leunupun, and A. J. Santoso, “Predicting rainfall intensity using Naïve Bayes and Information Gain methods ( case study : Sleman Regency ),” J. Phys. Conf. Ser. 1577(1), 2020, doi: 10.1088/1742-6596/1577/1/012011.

I. I. Zulfa, D. C. R. Novitasari, F. Setiawan, A. Fanani, and M. Hafiyusholeh, “Prediction of sea surface current velocity and direction using LSTM,” IJEIS (Indonesian J. Electron. Instrum. Syst., vol. 11, no. 1, p. 93, 2021, doi: 10.22146/ijeis.63669.

E. A. Kusnanti, D. C. R. Novitasari, F. Setiawan, A. Fanani, M. Hafiyusholeh, and G. I. Permata Sari, “Predicting velocity and direction of ocean surface currents using Elman Recurrent Neural Network method,” J. Inf. Syst. Eng. Bus. Intell., vol. 8, no. 1, pp. 21–30, 2022, doi: 10.20473/jisebi.8.1.21-30.

N. Hasan, “A methodological approach for predicting COVID-19 epidemic using EEMD-ANN hybrid model,” Internet of Things (Netherlands), vol. 11, 2020, doi: 10.1016/j.iot.2020.100228.

Z. Chang, Y. Zhang, and W. Chen, “Electricity price prediction based on hybrid model of adam optimized LSTM neural network and wavelet transform,” Energy, vol. 187, p. 115804, 2019, doi: 10.1016/j.energy.2019.07.134.

B. Deepa and K. Ramesh, “Epileptic seizure detection using deep learning through min max scaler normalization,” Int. J. Health Sci. (Qassim)., vol. 6, no. April, pp. 10981–10996, 2022, doi: 10.53730/ijhs.v6ns1.7801.

M. Abdipour, M. Younessi-Hmazekhanlu, S. H. R. Ramazani, and A. hassan omidi, “Artificial neural networks and multiple linear regression as potential methods for modeling seed yield of safflower (Carthamus tinctorius L.),” Ind. Crops Prod., vol. 127, no. November 2018, pp. 185–194, 2019, doi: 10.1016/j.indcrop.2018.10.050.

S. Manandhar, S. Dev, Y. H. Lee, S. Winkler, and Y. S. Meng, “Systematic study of weather variables for rainfall detection,” no. 2, pp. 3035–3038, 2018.

N. M. Sunariadi, S. N. Fadilah, D. Candra, R. Novitasari, S. Teknologi, and U. I. N. S. Ampel, “Analisis resiko kanker serviks menggunakan PCA-ANFIS berdasarkan historical medical record,” J. Media Inform. Budidarma, vol. 6, pp. 1349–1355, 2022, doi: 10.30865/mib.v6i3.3901.

L. N. Desinaini, A. Mualimah, D. C. R. Novitasari, and M. Hafiyusholeh, “Application of Fuzzy K-Nearest Neighbor (FKNN) to Detect the Parkinson’s Disease,” Inpr. Indones. J. Pure Appl. Math., vol. 1, no. 1, pp. 8–16, 2019, doi: 10.15408/inprime.v1i1.12827.

B. Tian, G. Wang, Z. Xu, Y. Zhang, and X. Zhao, “Communication delay compensation for string stability of CACC system using LSTM prediction,” Veh. Commun., vol. 29, p. 100333, 2021, doi: 10.1016/j.vehcom.2021.100333.

J. Mejia, L. Avelar-Sosa, B. Mederos, E. S. Ramírez, and J. D. Díaz Roman, “Prediction of time series using an analysis filter bank of LSTM units,” Comput. Ind. Eng., vol. 157, p. 107371, 2021, doi: 10.1016/j.cie.2021.107371.

H. Tian, P. Wang, K. Tansey, J. Zhang, S. Zhang, and H. Li, “An LSTM neural network for improving wheat yield estimates by integrating remote sensing data and meteorological data in the Guanzhong Plain, PR China,” Agric. For. Meteorol., vol. 310, no. 17, p. 108629, 2021, doi: 10.1016/j.agrformet.2021.108629.

T. Lattifia, P. Wira, N. Kadek, and D. Rusjayanthi, “Model prediksi cuaca menggunakan metode LSTM,” J. Ilm., vol. 3, no. 1, 2018.

B. Y. Phiadelvira, D. Z. Haq, D. C. R. Novitasari, and F. Setiawan, “Prediksi besar daya Listrik Tenaga Gelombang Laut Metode Oscillating Water Coloumn (PLTGL-OWC) di Banyuwangi menggunakan Extreme Learning Machine (ELM),” Unnes J. Math., vol. 11, no. 1, pp. 1–7, 2022, doi: 10.15294/ujm.v11i1.50967.

M. E. Ervina, R. Silvi, and I. R. N. Wisisono, “Peramalan jumlah penumpang kereta api di Indonesia dengan Resilient Back-Propagation (Rprop) Neural Network,” J. Mat. “MANTIK,” vol. 4, no. 2, pp. 90–99, 2018, doi: 10.15642/mantik.2018.4.2.90-99.

T. Moon, S. Hong, H. Y. Choi, D. H. Jung, S. H. Chang, and J. E. Son, “Interpolation of greenhouse environment data using multilayer perceptron,” Comput. Electron. Agric., vol. 166, no. July, p. 105023, 2019, doi: 10.1016/j.compag.2019.105023.

M. Chhetri, S. Kumar, P. P. Roy, and B. G. Kim, “Deep BLSTM-GRU model for monthly rainfall prediction: A case study of Simtokha, Bhutan,” Remote Sens., vol. 12, no. 19, pp. 1–13, 2020, doi: 10.3390/rs12193174.

H. F. Nurrohman, D. C. R. Novitasari, F. Setiawan, Rochimah, A. Taufiq, and A. Hamid, “Rainfall Prediction Using Gated Recurrent Unit Based on DMI and Nino3.4 Index,” in 2022 IEEE International Conference on Industry 4.0, Artificial Intelligence, and Communications Technology (IAICT), Jul. 2022, pp. 191–196, doi: 10.1109/IAICT55358.2022.9887474.

D. Z. Haq et al., “Long Short-Term Memory algorithm for rainfall prediction based on El-Nino and IOD data,” Procedia Comput. Sci., vol. 179, no. 2019, pp. 829–837, 2021, doi: 10.1016/j.procs.2021.01.071.

I. Salehin, I. M. Talha, M. Mehedi Hasan, S. T. Dip, M. Saifuzzaman, and N. N. Moon, “An artificial intelligence based rainfall prediction using LSTM and Neural Network,” Proc. 2020 IEEE Int. Women Eng. Conf. Electr. Comput. Eng. WIECON-ECE 2020, pp. 5–8, 2020, doi: 10.1109/WIECON-ECE52138.2020.9398022.

O. Darnius and S. Sitorus, “Plant calendar pattern based on rainfall forecast and the probability of its success in Deli Serdang regency of Indonesia,” J. Phys. Conf. Ser., vol. 983, no. 1, 2018, doi: 10.1088/1742-6596/983/1/012113.

M. R. Arif Yudianto, T. Agustin, R. Morgan James, F. Imannisa Rahma, A. Rahim, and E. Utami, “Rainfall forecasting to recommend crops varieties using moving Average and Naive Bayes methods,” Int. J. Mod. Educ. Comput. Sci., vol. 13, no. 3, pp. 23–33, 2021, doi: 10.5815/ijmecs.2021.03.03.


Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Penerapan Metode Principal Component Analysis (PCA) dan Long Short-Term Memory (LSTM) dalam Memprediksi Prediksi Curah Hujan Harian

Dimensions Badge
Article History
Submitted: 2023-02-07
Published: 2023-06-27
Abstract View: 1855 times
PDF Download: 1684 times
How to Cite
Musfiroh, M., Novitasari, D., Intan, P., & Wisnawa, G. (2023). Penerapan Metode Principal Component Analysis (PCA) dan Long Short-Term Memory (LSTM) dalam Memprediksi Prediksi Curah Hujan Harian. Building of Informatics, Technology and Science (BITS), 5(1), 1−11. https://doi.org/10.47065/bits.v5i1.3114
Issue
Section
Articles