Application Of The Recurrent Neural Network Long Short-Term Memory Algorithm For Daily Temperature Prediction in Mataram City
DOI:
https://doi.org/10.29303/semeton.v3i2.521Keywords:
ARIMA, step-function intervention, consumer price index, base-year change, forecastingAbstract
This study discusses the application of the Recurrent Neural Network with Long Short-Term Memory (RNN-LSTM) architecture for daily air temperature prediction in Mataram City. Air temperature is an important climatic variable that affects various sectors such as agriculture, tourism, and regional planning. The data used consist of daily temperature records from 2015 to 2024 obtained from NASA POWER. The data were preprocessed through cleaning, normalization, and division into training and testing datasets. The LSTM model was trained using various epoch settings and evaluated using the Root Mean Square Error (RMSE) metric. The results indicate that the best model configuration was achieved with a batch size of 32 and 50 epochs, resulting in an RMSE value of 0.39. The LSTM model successfully captured temperature fluctuation patterns with an accuracy of 93.81% and relatively low prediction error. These findings demonstrate that the RNN-LSTM algorithm is effective and reliable for daily temperature prediction in Mataram City
References
Badan Meteorologi, Klimatologi, dan Geofisika (BMKG). (2023). Data Iklim Kota Mataram Tahun 2018–2023. BMKG Mataram.
[2] Gong, Y., Zhang, Y., Wang, F., & Lee, C.-H. (2024). Deep learning for weather forecasting: A CNN-LSTM hybrid model for predicting historical temperature data. arXiv preprint arXiv:2410.14963.
[3] Goodfellow, I., Bengio, Y., & Courville, A. (2016). Deep learning. MIT Press.
[4] Hou, J., Liu, R., Zhang, P., & Li, Q. (2022). Prediction of hourly air temperature based on CNN–LSTM model. Journal of Weather Forecasting and Climate Science, 5(3), 210–224.
[5] Jeong, S., Kim, D., & Park, J. (2021). Temperature prediction based on bidirectional long short-term memory. Sensors, 21(4), 1123.
[6] Prasetyo, A., Rahmawati, D., & Santoso, F. (2023). Prediksi Suhu Harian Menggunakan Model LSTM dan ARIMA. Jurnal Informatika dan Sains Data, 7(2), 45–53.
[7] Putra, I. N., & Hidayat, M. (2024). Prediksi Suhu dan Kelembapan Menggunakan Long Short-Term Memory (LSTM) di Wilayah Denpasar. Jurnal Teknologi Informasi dan Komputer, 12(1), 22–31.
[8] Wei, W. W. S. (2019). Time series analysis: Univariate and multivariate methods (2nd ed.). Pearson Education.
[9] Wulandari, R., Sari, P., & Kurniawan, T. (2025). Implementasi LSTM dengan Dropout Regularization untuk Prediksi Suhu di Yogyakarta. Jurnal Sistem Cerdas dan Komputasi, 8(1), 10–19.
Downloads
Published
How to Cite
Issue
Section
License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.



