An Analysis And Forecasting The Foodstuffs Prices In Surabaya Traditional Market Using LSTM
DOI:
https://doi.org/10.24014/coreit.v10i2.27855Abstract
Food is one of the essential things in society. Foodstuffs prices are important factors in the stability economy. In Indonesian society, some foodstuffs, e.g., rice, beef, chicken egg, cooking oil, and sugar are the main ingredients in their cuisine. Analyzing and predicting the foodstuffs price is interesting job. This research is conducted to develop models for forecasting the price of rice, beef, chicken egg, cooking oil, and sugar. It implements the Long Short-Term Memory (LSTM) model and a daily time-series dataset from a traditional market in Surabaya. Surabaya is the capital city of East Java province, and it is one of the densest cities in Indonesia. The experiments run univariate time-series forecasting. The experimental results show that LSTM works well to forecast the price of rice, beef, chicken egg, cooking oil, and sugar. The evaluation results obtain MAPE scores as 0.12%, 0.03%, 0.72%, 0.36%, and 0.08% for models of rice, beef, chicken egg, cooking oil, and sugar, respectively. The annual average price of beef, chicken egg, and cooking oil show an increasing trend and those foodstuffs have positive correlations with each other.
References
A. Samal, M. Ummalla and P. Goyari, “The impact of macroeconomic factors on food price inflation: an evidence from India,” Future Business Journal volume, vol. 8, no. 15, pp. 1-14, 2022.
S. Bairagi, A. K. Mishra and K. A. Mottaleb, “Impacts of the COVID-19 pandemic on food prices: Evidence from storable and perishable commodities in India,” Plos One, vol. 17, no. 3, pp. 1-15, 2022.
L. W. Ngare and O. W. Derek, “The Effect of Fuel Prices on Food Prices in Kenya,” International Journal of Energy Economics and Policy, vol. 11, no. 4, pp. 127-131, 2021.
Y. Wang, X. Ye and Y. Huo, “Prediction of household food retail prices based on ARIMA Model,” in International Conference on Multimedia Technology, Hangzhou, 2011.
S. F. Asnhari, P. H. Gunawan and Y. Rusmawati, “Predicting Staple Food Materials Price Using Multivariables Factors (Regression and Fourier Models with ARIMA),” in 7th International Conference on Information and Communication Technology (ICoICT), Kuala Lumpur, 2019.
M. Astiningrum, V. N. Wijayaningrum and I. K. Putri, “Analysis of Staple Food Price Forecasting Results Using Various Approaches,” in 7th International Conference on Electrical, Electronics and Information Engineering (ICEEIE), Malang, 2021.
N. H. M. Yusri, N. A. Shafie and N. A. M. Ghani, “Rice Price Prediction in Malaysia,” in IEEE International Conference on Computing (ICOCO), Kota Kinabalu, 2022.
S. A. Almufarida, R. Batari, A. Hidayat and A. A. Pravitasari, “Indonesian Food Price Prediction with Adaptive Neuro Fuzzy Inference System,” in International Conference on Artificial Intelligence and Big Data Analytics, Bandung, 2021.
T. Widiyaningtyas, I. A. E. Zaeni and T. I. Zahrani, “Food Commodity Price Prediction in East Java Using Extreme Learning Machine (ELM) Method,” in International Seminar on Application for Technology of Information and Communication (iSemantic), Semarang, 2020.
H. Haviluddin, T. Khosyi, H. J. Setyadi, A. P. Wibawa, F. A. Dwiyanto, A. Pranolo, F. Kurniawan and M. Muslimin, “A backpropagation neural network algorithm in agricultural product prices prediction,” in 3rd East Indonesia Conference on Computer and Information Technology (EIConCIT), Surabaya, 2021.
S. Amalia, A. Dhini and Z. Zulkarnain, “Indonesia’s Food Commodity Price Forecasting using Recurrent Neural Networks,” in International Conference on Computing, Communication, Security and Intelligent Systems (IC3SIS), Kochi, 2022.
S. Wijaya, “Indonesian food culture mapping: a starter contribution to promote Indonesian culinary tourism,” Journal of Ethnic Foods, vol. 6, no. 9, pp. 1-10, 2019.
BPS, “Proyeksi Penduduk Kota Surabaya (Jiwa), 2018-2020,” BPS, 2023. [Online]. Available: https://surabayakota.bps.go.id/indicator/12/197/1/proyeksi-penduduk-kota-surabaya.html. [Accessed 15 July 2023].
S. A. Marhon, C. J. Cameron and S. C. Kremer, “Recurrent Neural Networks,” in Handbook on Neural Information Processing, Berlin, Springer, 2013, p. 29–65.
R. DiPietro and G. D. Hager, “Chapter 21 - Deep learning: RNNs and LSTM,” in Handbook of Medical Image Computing and Computer Assisted Intervention, Science Direct, 2020, pp. 503-519.
S. Hochreiter and J. Schmidhuber, “Long Short-Term Memory,” Neural Computation, vol. 9, no. 8, p. 1735{1780, 1997.
T. Handhayani, I. Lewenusa, D. E. Herwindiati and J. Hendryli, “A Comparison of LSTM and BiLSTM for Forecasting the Air Pollution Index and Meteorological Conditions in Jakarta,” in 5th International Seminar on Research of Information Technology and Intelligent Systems (ISRITI), Yogyakarta, 2022.
T. Handhayani, “An integrated analysis of air pollution and meteorological conditions in Jakarta,” Teny Handhayani, vol. 13, no. 1, pp. 1-11, 2023.
G. I. Drewil and R. J. Al-Bahadili, “Air pollution prediction using LSTM deep learning and metaheuristics algorithms,” Measurement: Sensors, vol. 24, pp. 1-7, 2022.
A. Bekkar, B. H. S. Douzi and K. Douzi, “Air-pollution prediction in smart city, deep learning approach,” Journal of Big Data , vol. 8, no. 161, pp. 1-21, 2021.
K. H. Waseem, H. Mushtaq, F. Abid, A. M. Abu-Mahfouz, A. Shaikh, M. Turan and J. Rasheed, “Forecasting of Air Quality Using an Optimized Recurrent Neural Network,” Processes, vol. 10, no. 10, pp. 1-20, 2022.
W. Budiharto, “Data science approach to stock prices forecasting in Indonesia during Covid-19 using Long Short-Term Memory (LSTM),” Journal of Big Data, vol. 8, no. 47, pp. 1-9, 2021.
A. Lawi, H. Mesra and S. Amir, “Implementation of Long Short-Term Memory and Gated Recurrent Units on grouped time-series data to predict stock prices accurately,” Journal of Big Data, vol. 9, no. 89, pp. 1-19, 2022.
H. N. Bhandari, B. Rimal, N. R. Pokhrel, R. Rimal, K. R. Dahal and R. K. Khatri, “Predicting stock market index using LSTM,” Machine Learning with Applications, vol. 9, pp. 1-15, 2022.
PIHPS Nasional, “Informasi Harga Pangan Antar Daerah,” 2022. [Online]. Available: https://www.bi.go.id/hargapangan/.
M. Abadi, A. Agarwal, P. Barham, E. Brevdo, Z. Chen, C. Citro, G. . S. Corrado, A. Davis, J. Dean, M. Devin, S. Ghemawat, I. Goodfellow, A. Harp, G. Irving, M. Isard, R. Jozefowicz, Y. Jia, L. Kaiser, M. Kudlur, J. Levenberg, D. Mané, M. Schuster, R. Monga, . S. Moore, D. Murray, . C. Olah, J. Shlens, B. Steiner, I. Sutskever, K. Talwar, P. Tucker, V. Vanhoucke, V. Vasudevan, F. Viégas, O. Vinyals, P. Warden, M. Wattenberg, M. Wicke, Y. Yu and X. Zheng, “TensorFlow: Large-scale machine learning on heterogeneous system,” 2015. [Online]. Available: https://www.tensorflow.org/api_docs/python/tf/keras/layers/LSTM. [Accessed 15 July 2023].
Downloads
Published
Issue
Section
License
The Authors submitting a manuscript do so on the understanding that if accepted for publication, copyright of the article shall be assigned to CoreIT journal and published by Informatics Engineering Department Universitas Islam Negeri Sultan Syarif Kasim Riau as publisher of the journal.
Authors who publish with this journal agree to the following terms:
Authors automatically transfer the copyright to the journal and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-ShareAlike (CC BY SA) that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
Authors are able to enter into separate permission for non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).