Prediksi Harga Komoditas Pangan Menggunakan Algoritma Long Short-Term Memory (LSTM)


  • Rizki Mugi Setya Adi Institut Teknologi Telkom Purwokerto, Banyumas, Indonesia
  • Sudianto Sudianto * Mail Institut Teknologi Telkom Purwokerto, Banyumas, Indonesia
  • (*) Corresponding Author
Keywords: Artificial Intelligence; Food; LSTM; Prediction; Price

Abstract

Food is a basic need for human survival. The existence of food is influenced by production and selling prices. The problem that exists is that food producers lose out with the dynamics of selling prices. In addition, the low selling price is not commensurate with the production costs that have been spent, especially for food producers in agricultural commodities, namely local farmers. Local farmers lose money because they do not know the price of commodities when selling their agricultural products. In addition, the game of intermediaries causes local farmers to sell their crops at low prices. So from the existing problems, it is necessary to predict commodity prices to help farmers determine the commodity prices before selling their agricultural products to the market. This study aims to predict the price of food commodities, especially in Banyumas, so that local farmers can find the price of commodities before they are sold to the market. The Deep Learning method used is Long Short-Term Memory (LSTM), which can remember a collection of information that has been stored for a long time with time series data. The results obtained, the model can predict food commodity prices. Meanwhile, the prediction model with epoch 50 shows the lowest Root Mean Squared Error (RMSE) with a value of 79.19%

Downloads

Download data is not yet available.

References

[BPS] Badan Pusat Statistik, “Badan Pusat Statistik Kabupaten Banyumas,” 2021.

BPS Jawa Tengah, “Jawa Tengah Dalam Angka 2021,” pp. 1–935, 2021.

Badan Pusat Statistik, “Provinsi Jawa Tengah Dalam Angka Jawa Tengah Province in Figures 2022,” 2022.

W. Afandi, S. N. Saputro, A. M. Kusumaningrum, H. Ardiansyah, M. H. Kafabi, and S. Sudianto, “Klasifikasi Judul Berita Clickbait menggunakan RNN-,” J. Pengemb. IT, vol. 7, no. 2, pp. 85–89, 2022.

Sudianto, Y. Herdiyeni, A. Haristu, and M. Hardhienata, “Chilli quality classification using deep learning,” 2020. doi: 10.1109/ICOSICA49951.2020.9243176.

S. Saadah and H. Salsabila, “Prediksi Harga Ponsel Menggunakan Metode Random Forest,” J. Komput. Terap., vol. 7, no. 1, pp. 24–32, 2021.

A. D. Arisandi and L. Atika, “Prediksi Mata Uang Bitcoin Menggunakan LSTM Dan Sentiment Analisis Pada Sosial Media,” J. Ilm. Komputasi, vol. 19, no. 4, pp. 559–566, 2020, doi: 10.32409/jikstik.19.4.370.

F. Valencia, A. Gómez-Espinosa, and B. Valdés-Aguirre, “Price movement prediction of cryptocurrencies using sentiment analysis and machine learning,” Entropy, vol. 21, no. 6, 2019, doi: 10.3390/e21060589.

Moch Farryz Rizkilloh and Sri Widiyanesti, “Prediksi Harga Cryptocurrency Menggunakan Algoritma Long Short Term Memory (LSTM),” J. RESTI (Rekayasa Sist. dan Teknol. Informasi), vol. 6, no. 1, pp. 25–31, 2022, doi: 10.29207/resti.v6i1.3630.

J. Veri, Surmayanti, and Guslendra, “Prediksi Harga Minyak Mentah Menggunakan Jaringan Syaraf Tiruan Crude Oil Price Prediction Using Artificial Neural Network,” vol. 21, no. 3, pp. 503–512, 2022, doi: 10.30812/matrik.v21i3.1382.

Sabar Sautomo and Hilman Ferdinandus Pardede, “Prediksi Belanja Pemerintah Indonesia Menggunakan Long Short-Term Memory (LSTM),” J. RESTI (Rekayasa Sist. dan Teknol. Informasi), vol. 5, no. 1, pp. 99–106, 2021, doi: 10.29207/resti.v5i1.2815.

I. N. K. Wardana, N. Jawas, and I. K. A. A. Aryanto, “Prediksi Penggunaan Energi Listrik pada Rumah Hunian Menggunakan Long Short-Term Memory,” TIERS Inf. Technol. J., vol. 1, no. 1, pp. 1–11, 2020.

S. Hochreiter and J. Schmidhuber, “Long Short-Term Memory,” Neural Comput., vol. 9, no. 8, pp. 1735–1780, 1997, doi: 10.1162/neco.1997.9.8.1735.

X. Bai, “Text Classification based on LSTM and Attention,” pp. 29–32, 2018, doi: 10.1109/ICDIM.2018.8847061.

R. Jing, “A Self-attention Based LSTM Network for Text Classification,” J. Phys. Conf. Ser., vol. 1207, no. 1, 2019, doi: 10.1088/1742-6596/1207/1/012008.

S. Sudianto, P. Wahyuningtias, H. W. Utami, U. A. Raihan, and H. N. Hanifah, “Comparison Of Random Forest And Support Vector Machine Methods On Twitter Sentiment Analysis ( Case Study : Internet Selebgram Rachel Vennya Escape From Quarantine ) Perbandingan Metode Random Forest Dan Support Vector Machine Pada Analisis Sentimen Twitt,” Jutif, vol. 3, no. 1, pp. 141–145, 2022.

S. Chandra Ayunda Apta, N. Trivetisia, N. A. Winanti, D. P. Martiyaningsih, T. W. Utami, and S. Sudianto, “Analisis Komparasi Algoritma Machine Learning untuk Sentiment Analysis,” J. Pengemb. IT, vol. 7, no. 2, pp. 80–84, 2022.

T. Chai and R. R. Draxler, “Root mean square error (RMSE) or mean absolute error (MAE),” Geosci. Model Dev., vol. 7, no. 3, pp. 1247–1250, 2014, doi: 10.5194/gmd-7-1247-2014.


Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Prediksi Harga Komoditas Pangan Menggunakan Algoritma Long Short-Term Memory (LSTM)

Dimensions Badge
Article History
Submitted: 2022-09-01
Published: 2022-09-30
Abstract View: 88 times
PDF Download: 67 times
How to Cite
Adi, R., & Sudianto, S. (2022). Prediksi Harga Komoditas Pangan Menggunakan Algoritma Long Short-Term Memory (LSTM). Building of Informatics, Technology and Science (BITS), 4(2), 1137−1145. https://doi.org/10.47065/bits.v4i2.2229
Issue
Section
Articles