Forecasting Chili Prices in Metro City Using Long Short-Term Memory (LSTM)

Authors

  • Gusti Made Gunadi Universitas Dharma Wacana
  • Andreas Perdana Universitas Dharma Wacana

DOI:

https://doi.org/10.35870/ijsecs.v5i1.3526

Keywords:

Cayenne Pepper, Price Prediction, Long Short-Term Memory, Historical Data, Metro City

Abstract

Cayenne pepper is one of the important commodities in the staple market in Indonesia which has a vital role in people's daily lives. Fluctuations in the price of cayenne pepper are often a challenge that impacts farmers and consumers, causing uncertainty in production and distribution planning. This research aims to develop a cayenne pepper price prediction model using the Long Short-Term Memory (LSTM) method, utilizing historical data from the data.metrokota.go.id portal for the period October 2023 to October 2024. By using LSTM, this model successfully captures long-term patterns in cayenne price data, with a Final Validation Loss of 0.00249 which indicates a high level of accuracy. The prediction results are expected to help farmers determine the optimal selling time, traders in managing stocks efficiently, and policy makers in formulating strategies to mitigate the impact of price fluctuations. In addition, this study highlights practical implications for stabilizing commodity markets, particularly in Metro City, as well as the relevance of these findings to be applied to other agricultural commodities.

Downloads

Download data is not yet available.

Author Biographies

  • Gusti Made Gunadi, Universitas Dharma Wacana

    Informatics Engineering Study Program, Faculty of Business Technology and Science, Universitas Dharma Wacana, Metro City, Lampung Province, Indonesia

  • Andreas Perdana, Universitas Dharma Wacana

    Informatics Engineering Study Program, Faculty of Business Technology and Science, Universitas Dharma Wacana, Metro City, Lampung Province, Indonesia

References

Jiang, H., & Liu, C. (2023). Agricultural price forecasting using deep learning approaches. Computers and Electronics in Agriculture, 181, Article 105944.

Ahmed, N. K., Atiya, A. F., Gayar, N. E., & El-Shishiny, H. (2023). An empirical comparison of machine learning models for time series forecasting. Econometric Reviews, 29(5-6), 594-621.

Hochreiter, S., & Schmidhuber, J. (1997). Long Short-Term Memory. Neural Computation, 9(8), 1735-1780.

Kim, H. Y., & Won, C. H. (2024). LSTM-based deep learning model for agricultural commodity price prediction. IEEE Access, 9, 1223-1234.

Adi, P. A., & Sudianto, F. (2020). Prediksi harga komoditas pangan menggunakan algoritma Long Short-Term Memory (LSTM). Jurnal Teknologi Informasi dan Ilmu Komputer, 7(4), 797-804.

Gao, X., & Chai, L. (2023). Commodity price forecasting using hybrid LSTM networks. Expert Systems with Applications, 162, Article 113859.

Wang, J., & Chen, T. (2023). Deep learning in agricultural price prediction: A systematic review. Computers and Electronics in Agriculture, 185, Article 106155.

Fauzani, S. P., & Rahmi, D. (2023). Penerapan metode ARIMA dalam peramalan harga produksi karet di Provinsi Riau. Jurnal Sains dan Teknologi, 12(2), 45-52.

Taylor, S. J., & Letham, B. (2024). Forecasting at scale: Best practices in time series analysis. The American Statistician, 72(1), 37-45.

Li, Y., Zhu, Z., & Kong, D. (2023). Predicting agricultural commodity prices using machine learning methods. Journal of Forecasting, 42(1), 146-163.

Singh, P., & Kumar, A. (2023). Price forecasting using deep learning: A comprehensive review. ACM Computing Surveys, 55(2), 1-34.

Liu, X., & Zhang, S. (2024). A hybrid model combining LSTM and attention mechanism for time series prediction. Knowledge-Based Systems, 238, Article 108282.

Zhou, H., Zhang, S., Peng, J., Zhang, S., Li, J., Xiong, H., & Zhang, W. (2024). Informer: Beyond efficient transformer for long sequence time-series forecasting. Proceedings of the AAAI Conference on Artificial Intelligence, 35(12), 11106-11115.

Zhang, Q., & Wells, G. (2023). Applications of deep learning in agricultural price analysis. Agricultural Economics Review, 24(1), 78-94.

Miller, T., & Anderson, R. (2023). Machine learning applications in agricultural economics. American Journal of Agricultural Economics, 105(2), 313-332.

Chen, K., Zhou, Y., & Dai, F. (2023). A LSTM-based method for stock price prediction. International Journal of Pattern Recognition and Artificial Intelligence, 34(10), Article 2150034.

Fischer, T., & Krauss, C. (2024). Deep learning with long short-term memory networks for financial market predictions. European Journal of Operational Research, 270(2), 654-669.

Hidayat, T., & Wibisono, M. (2024). Prediksi harga beras menggunakan LSTM. Jurnal Ilmiah Informatika, 9(1), 23-31.

La Murdani, A. I., & Nanlohy, Y. W. A. (2022). Implementasi model ARIMA untuk peramalan jumlah penumpang. Jurnal Sistem Informasi, 8(2), 112-120.

Qiang, F., & Wei, X. (2024). Deep learning for time series forecasting: A survey. IEEE Transactions on Neural Networks and Learning Systems, 35(1), 11-31.

Xu, Y., & Cohen, S. B. (2024). Stock movement prediction from tweets and historical prices. Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics, 1(1), 1970-1979.

Zhang, L., & Wang, H. (2023). Multivariate time series forecasting with deep learning: A review. International Journal of Forecasting, 39(2), 345-367.

Downloads

Published

2025-04-01

How to Cite

Gunadi, G. M., & Perdana, A. (2025). Forecasting Chili Prices in Metro City Using Long Short-Term Memory (LSTM). International Journal Software Engineering and Computer Science (IJSECS), 5(1), 215-225. https://doi.org/10.35870/ijsecs.v5i1.3526

Most read articles by the same author(s)