Peramalan Kelembapan Relatif di Kabupaten Bogor Menggunakan Model CNN-LSTM

Thariq Abdullah, Achmad Lukman, Dede Rohidin

Abstract


Air humidity is a parameter that influences the environment and human activities. Accurate air humidity prediction can be helpful for various purposes, including weather-based decision-making. However, a single model has limitations in capturing non-linear patterns and long-term dependencies in time-series data, making it difficult to predict data well, especially complex and time-series data such as weather. Therefore, a model with a hybrid approach is needed. Hybrid modeling is a combination of two or more learning methods. This study proposes a hybrid approach by combining Convolutional Neural Network (CNN) and Long Short-Term Memory (LSTM) layers to predict air humidity more accurately and effectively than a single model. CNN is used to extract temporal representations from historical weather data in the form of time sequences, while LSTM is for long-term memory. Prediction is carried out by collecting weather data, data preprocessing, feature transformation (including cyclic feature transformation), designing the CNN-LSTM architecture, model training, and evaluation using evaluation metrics such as mean absolute error (MAE), mean square error (MSE), root mean square error (RMSE), and coefficient of determination (R²). This study uses weather data from Bogor Regency for the period January 1, 2020 to October 31, 2025 obtained from the Citeko Meteorological Station at coordinates Latitude -6.70000, Longitude 106.85000, and an altitude of 920 meters. The results obtained are that the CNN-LSTM model has an average MAE value of 4.3596, MSE 29.9126, RMSE 5.4689, and R² 0.0756 show that the CNN-LSTM hybrid model is able to improve the accuracy of air humidity prediction compared to a single model.

Keywords


CNN; Deret Waktu; Humidity; LSTM

Full Text:

References


M. Muhaimin, E. Alviawati, and P. Angriani, “Urgensi kenyamanan termal dalam perspektif pembelajaran,” vol. 7, pp. 23–32, 2023, doi: 10.29408/geodika.v7i1.6451.

I. P. Suwarna, F. Pramudita, R. Yulianto, and L. D. Tamala, “Analisis kelembaban udara dan tingkat kenyamanan lingkungan kos-kosan di area sekitar kampus UIN Jakarta,” vol. 6, no. 1, pp. 49–56, 2025.

S. M. Makruf et al., “Analisis Kelembaban Udara terhadap Tingginya Suhu di Sekaran Semarang,” vol. 4, no. 1, pp. 93–100, 2025.

E. Sartati et al., “Analisis Korelasi Kelembaban Udara terhadap Epidemi Demam Berdarah yang Terjadi di Kota Bengkulu,” vol. 3, no. 2, pp. 170–175, 2024, doi: 10.55123/insologi.v3i2.3384.

O. Access, J. Info, J. Journal, and O. F. Mathematics, “Implementasi CNN-BiLSTM untuk Prediksi Harga Saham Bank Syariah di Indonesia Implementasi CNN-BiLSTM untuk Prediksi Harga Saham Bank Syariah di Indonesia,” vol. 6, no. 2, pp. 195–203, 2024.

P. Wardana, N. Daratha, M. K. A. Rosa, T. Elektro, U. Bengkulu, and E. Metrics, “Perbandingan Metode-Metode Deep learning Dalam Prediksi Konsumsi Daya Listrik Rumah Jangka Pendek,” vol. 14, no. 1, 2024.

G. Tugas and P. Penanganan, “OPTIMALISASI DATA TERBATAS PREDIKSI JANGKA PANJANG COVID-19 DENGAN KOMBINASI LSTM DAN GRU,” vol. 4, no. September, 2020.

T. Lattifia, P. Wira, N. Kadek, and D. Rusjayanthi, “Model Prediksi Cuaca Menggunakan Metode LSTM,” vol. 3, no. 1, 2022.

C. C. Islamy, A. Wahabi, P. Studi, T. Informatika, and F. Teknik, “Perbandingan Model LSTM dan GRU untuk Peramalan Angin A Comparative Study of LSTM and GRU Models for Wind Forecasting,” vol. 14, pp. 2817–2831, 2025.

G. R. Units, “PREDIKSI POLUSI UDARA KOTA JAKARTA MENGGUNAKAN RECURRENT NEURAL NETWORK-GATED RECURRENT UNITS,” vol. 1, no. November 2022, pp. 807–814, 2023.

F. Kurniawan and A. Triayudi, “Analysis of Interrelationships between Weather Parameters in North Jakarta and Central Jakarta Based on Predictions Using LSTM and GRU,” vol. 2, no. 4, pp. 328–343, 2024, doi: 10.58905/SAGA.v2i4.398.

Y. Karyadi, H. Santoso, S. B. Park, P. Magister, and T. Infomasi, “Prediksi Kualitas Udara Dengan Metoda LSTM , Bidirectional LSTM , dan GRU,” vol. 9, no. 1, 2022.

V. P. Sientika and T. Handayani, “PREDIKSI INDEKS STANDAR PENCEMARAN UDARA DI KOTA YOGYAKARTA DENGAN MODEL LONG SHORT-TERM MEMORY DAN GATED RECURRENT UNIT,” vol. 9, no. 5, pp. 8776–8781, 2025.

M. I. Yafik and C. Chairani, “BULLETIN OF COMPUTER SCIENCE RESEARCH Optimalisasi Akurasi Prediksi Curah Hujan Bulanan Menggunakan Deep learning,” vol. 5, no. 5, pp. 1021–1028, 2025, doi: 10.47065/bulletincsr.v5i5.735.

M. R. Febrian, A. Rahman, and M. A. Yahya, “Perbandingan LSTM dan GRU untuk Prediksi Kebutuhan Air pada Pertanian Modern Cerdas Berbasis Internet Of Things,” vol. 11, no. November, pp. 290–303, 2025.

A. Fauzul, A. Kustiwa, M. A. Akbar, and A. Pinandito, “Studi Perbandingan pada Metode CNN-LSTM dan LSTM dalam Mendeteksi Emosi pada Data Teks Berbahasa Indonesia pada Media Sosial Twitter,” vol. 1, no. 1, pp. 1–9, 2017.




DOI: https://doi.org/10.30591/jpit.v11i2.10063

Refbacks

  • There are currently no refbacks.


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

JPIT INDEXED BY

  
  

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