Rice Price Prediction In East Java Based on Weather Using Long Short-Term Memory (LSTM)

Authors

  • Davina Mufidah Institut Teknologi Sepuluh Nopember
  • Noviyanti Santoso Institut Teknologi Sepuluh Nopember
  • Moch. Abdillah Nafis Institut Teknologi Sepuluh Nopember

DOI:

https://doi.org/10.30871/jaic.v10i2.12515

Keywords:

Rice, Price Prediction, Weather, Long Short-Term Memory

Abstract

Rice is the primary staple food commodity in Indonesia, crucial for food security and economic stability, with price fluctuations significantly affecting public purchasing power. Data from Statistics Indonesia (BPS) in May 2025 indicated a 0.15% decline in medium-quality rice prices in East Java; however, price disparities between regions remain high, necessitating accurate prediction models. East Java, as one of the major production hubs contributing 20% to the national paddy production, is vulnerable to climate change phenomena such as El Niño and La Niña, which impact harvests and prices. Rice price fluctuations are influenced by various complex factors, including non-linear weather conditions such as rainfall, temperature, and humidity. This study focuses on forecasting the price of medium-quality rice, the most widely consumed variety in Indonesia. The multivariate Long Short-Term Memory (LSTM) model is proposed due to its capability in handling long-term dependencies and non-linear patterns within time-series data. This study analyzes the performance of LSTM using historical rice price data and integrates weather factors to enhance prediction accuracy. Daily data from January 1, 2020, to December 31, 2025, was utilized, sourced from the National Strategic Food Price Information Center (PIHPS) and BMKG East Java, covering variables such as medium rice price, rainfall, wind speed, humidity, sunshine duration, and temperature. The results indicate that the LSTM model with a configuration of 45 timesteps, a dropout rate of 0.3, a batch size of 16, 150 neurons, and 150 epochs yielded the most optimal performance, achieving a Train MAPE of 0.73% and a Test MAPE of 1.40%. These findings empirically demonstrate that a historical memory of approximately 1.5 months plays a crucial role in prediction accuracy, perfectly aligning with the short-to-medium-term supply chain dynamics. Based on the out-of-sample forecasting results for January to March 2026, the model predicts a sharp price correction in early January, followed by a gradual increase that stabilizes in the range of Rp14,380–Rp14,400 per kilogram. This projection visualizes a new equilibrium, confirming that historical climate damage establishes a permanent baseline price shift, while the high forecast accuracy (MAPE 0.25%) provides a highly reliable basis for government policy formulation.

Downloads

Download data is not yet available.

References

[1] N. Nafi’iyah and P. A. Wulandari, “Prediksi Harga Beras Berdasarkan Kualitas Beras dengan Metode Long Short Term Memory,” Jurnal Inovtek Polbeng-Seri Informatika, vol. 7, no. 2, pp. 278–288, 2022.

[2] Y. R. Mahariani and E. R. Arifianti, “Prediksi Harga Beras di Jawa Timur Menggunakan Metode Triple Eksponensial Smoothing,” MULTIPLE: Journal of Global and Multidisciplinary, vol. 3, no. 1, pp. 2988–7828, 2025, [Online]. Available: https://journal.institercom-edu.org/index.php/multiple

[3] S. Sari Busnita, R. Oktaviani, and T. Novianti, “How far climate change affects the Indonesian paddy production and rice price volatility?,” 2017.

[4] I. Gede et al., “Predictive Time-Series Modelling of Rice Price Fluctuations in East Nusa Tenggara Using ARIMAX: A Data Driven Case Study Regional Agricultural Market Dynamics,” 2024. [Online]. Available: https://powertechjournal.com

[5] Y. Kong et al., “Unlocking the Power of LSTM for Long Term Time Series Forecasting,” 2024.

[6] R. A. Falah and M. Rachmaniah, “Model prediksi harga komoditas cabai merah besar dan keriting dengan metode Long Short Term Memory,” Institut Pertanian Bogor, Bogor, 2022.

[7] Y. Novialdi and L. S. Hasibuan, “Prediksi harga minyak goreng curah dan kemasan menggunakan algoritme Long Short Term Memory (LSTM),” Institut Pertanian Bogor, Bogor, 2023.

[8] R. Hidayat and I. Wibisonya, “Rice Price Prediction with Long Short-Term Memory (LSTM) Neural Network,” Jurnal RESTI, vol. 8, no. 5, pp. 658–664, Oct. 2024, doi: 10.29207/resti.v8i5.6041.

[9] Y. Ashari and A. Suhendar, “Implementasi Algoritma Long Short-Term Memory (LSTM) Untuk Memprediksi Harga Beras Di Jawa Tengah Berdasarkan Cuaca,” Jurnal Teknologi Informasi, vol. 5, no. 3, 2024, doi: 10.46576/djtechno.

[10] Y. H. Gu, D. Jin, H. Yin, R. Zheng, X. Piao, and S. J. Yoo, “Forecasting Agricultural Commodity Prices Using Dual Input Attention LSTM,” Agriculture (Switzerland), vol. 12, no. 2, Feb. 2022, doi: 10.3390/agriculture12020256.

[11] N. Awalloedin, W. Gata, and H. Setiawan, “Prediksi Harga Beras Super dan Medium Menggunakan LSTM dan BILSTM (Moving Average Smoothing),” Jurnal Ilmu Komputer, vol. 16, no. 1, pp. 32–43, 2023, [Online]. Available: https://hargapangan.id/

[12] H. M. Firdausi, S. B. Utomo, G. A. Rahardi, and D. H. T. Prasetiyo, “A Multivariate LSTM Approach for Monthly Rice Production Forecasting in East Java”, JSC, vol. 8, no. 3, pp. 364 - 374, Dec. 2025.

[13] V. P. Musdani, D. Lestari, and G. Ardaneswari, “Forecasting the National Rice Price Using Long Short-Term Memory”, ajmesc, vol. 5, no. 02, pp. 155-172, Mar. 2025.

[14] P. D. M. Bintang, N. L. W. S. R. Ginantra, I. B. A. I. Iswara and N. M. M. R. Desmayani, "Performance Evaluation of Ensemble Learning Stacking in Rice Price Prediction," 2024 Ninth International Conference on Informatics and Computing (ICIC), Medan, Indonesia, 2024, pp. 1-6, doi: 10.1109/ICIC64337.2024.10957374.

[15] A. T. Damaliana, S. W. Tyas, A. Muhaimin, Trimono, S. S. M. Wara and M. Idhom, "Deep Stacking Ensemble with Stacked LSTM and SVR for Analysis and Forecasting: A Case Study of Rice Price in East Java," 2025 IEEE 11th Information Technology International Seminar (ITIS), Mataram, Indonesia, 2025, pp. 356-361, doi: 10.1109/ITIS67966.2025.11309025.

Downloads

Published

2026-04-17

How to Cite

[1]
D. Mufidah, N. Santoso, and M. A. Nafis, “Rice Price Prediction In East Java Based on Weather Using Long Short-Term Memory (LSTM)”, JAIC, vol. 10, no. 2, pp. 1561–1567, Apr. 2026.

Similar Articles

<< < 19 20 21 22 > >> 

You may also start an advanced similarity search for this article.