Peramalan Harga Cabai Rawit Merah Menggunakan Attention Mechanism Berbasis Long Short-Term Memory

Red cayenne pepper is a commodity that has important economic value in Indonesia, especially in West Java Province. Cayenne pepper often experiences significant price fluctuations which can cause inflation. In 2022 there will be the highest inflation in West Java in the last eight years due to incr...

Full description

Saved in:
Bibliographic Details
Main Authors: Wina Witanti, Setyo Arie Anggara, Melina Melina
Format: Article
Language:Indonesian
Published: Indonesian Society of Applied Science (ISAS) 2024-12-01
Series:Journal of Applied Computer Science and Technology
Subjects:
Online Access:https://journal.isas.or.id/index.php/JACOST/article/view/875
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849240266480812032
author Wina Witanti
Setyo Arie Anggara
Melina Melina
author_facet Wina Witanti
Setyo Arie Anggara
Melina Melina
author_sort Wina Witanti
collection DOAJ
description Red cayenne pepper is a commodity that has important economic value in Indonesia, especially in West Java Province. Cayenne pepper often experiences significant price fluctuations which can cause inflation. In 2022 there will be the highest inflation in West Java in the last eight years due to increased commodity prices, including cayenne pepper. There needs to be an effort to maintain the stability of the price of red cayenne pepper in West Java. This research aims to create a price forecasting system for red cayenne peppers in West Java by comparing two deep learning approaches, namely Long-Short Term Memory (LSTM) and Long-Short Term Memory with Attention Mechanism (LSTM-Attention-LSTM) to obtain high accuracy in predicting the price of red cayenne pepper. The results of this research show that the LSTM model using 3 hidden layers, 100 neurons, 128 dense, 1 dense, and 32 batch sizes, produces Mean Absolute Error (MAE) values ​​of 0.023, Root Mean Square Error (RMSE) of 0.152, and Mean Absolute Percentage Error (MAPE) is 3.68%. Meanwhile, the LSTM-Attention-LSTM model with the same configuration produces an MAE value of 0.017, RMSE of 0.130, and MAPE of 2.74%. The results of this research can be a reference for the community and government in maintaining price stability for cayenne pepper in West Java.
format Article
id doaj-art-f0e458211cdf4ca390fc598e4d0930bb
institution Kabale University
issn 2723-1453
language Indonesian
publishDate 2024-12-01
publisher Indonesian Society of Applied Science (ISAS)
record_format Article
series Journal of Applied Computer Science and Technology
spelling doaj-art-f0e458211cdf4ca390fc598e4d0930bb2025-08-20T04:00:40ZindIndonesian Society of Applied Science (ISAS)Journal of Applied Computer Science and Technology2723-14532024-12-015210.52158/jacost.v5i2.875875Peramalan Harga Cabai Rawit Merah Menggunakan Attention Mechanism Berbasis Long Short-Term MemoryWina Witanti0Setyo Arie Anggara1Melina Melina2Universitas Jenderal Achmad YaniUniversitas Jenderal Achmad YaniUniversitas Jenderal Achmad Yani Red cayenne pepper is a commodity that has important economic value in Indonesia, especially in West Java Province. Cayenne pepper often experiences significant price fluctuations which can cause inflation. In 2022 there will be the highest inflation in West Java in the last eight years due to increased commodity prices, including cayenne pepper. There needs to be an effort to maintain the stability of the price of red cayenne pepper in West Java. This research aims to create a price forecasting system for red cayenne peppers in West Java by comparing two deep learning approaches, namely Long-Short Term Memory (LSTM) and Long-Short Term Memory with Attention Mechanism (LSTM-Attention-LSTM) to obtain high accuracy in predicting the price of red cayenne pepper. The results of this research show that the LSTM model using 3 hidden layers, 100 neurons, 128 dense, 1 dense, and 32 batch sizes, produces Mean Absolute Error (MAE) values ​​of 0.023, Root Mean Square Error (RMSE) of 0.152, and Mean Absolute Percentage Error (MAPE) is 3.68%. Meanwhile, the LSTM-Attention-LSTM model with the same configuration produces an MAE value of 0.017, RMSE of 0.130, and MAPE of 2.74%. The results of this research can be a reference for the community and government in maintaining price stability for cayenne pepper in West Java. https://journal.isas.or.id/index.php/JACOST/article/view/875attention mechanismscabai rawit merahLSTMperamalanharga
spellingShingle Wina Witanti
Setyo Arie Anggara
Melina Melina
Peramalan Harga Cabai Rawit Merah Menggunakan Attention Mechanism Berbasis Long Short-Term Memory
Journal of Applied Computer Science and Technology
attention mechanisms
cabai rawit merah
LSTM
peramalan
harga
title Peramalan Harga Cabai Rawit Merah Menggunakan Attention Mechanism Berbasis Long Short-Term Memory
title_full Peramalan Harga Cabai Rawit Merah Menggunakan Attention Mechanism Berbasis Long Short-Term Memory
title_fullStr Peramalan Harga Cabai Rawit Merah Menggunakan Attention Mechanism Berbasis Long Short-Term Memory
title_full_unstemmed Peramalan Harga Cabai Rawit Merah Menggunakan Attention Mechanism Berbasis Long Short-Term Memory
title_short Peramalan Harga Cabai Rawit Merah Menggunakan Attention Mechanism Berbasis Long Short-Term Memory
title_sort peramalan harga cabai rawit merah menggunakan attention mechanism berbasis long short term memory
topic attention mechanisms
cabai rawit merah
LSTM
peramalan
harga
url https://journal.isas.or.id/index.php/JACOST/article/view/875
work_keys_str_mv AT winawitanti peramalanhargacabairawitmerahmenggunakanattentionmechanismberbasislongshorttermmemory
AT setyoarieanggara peramalanhargacabairawitmerahmenggunakanattentionmechanismberbasislongshorttermmemory
AT melinamelina peramalanhargacabairawitmerahmenggunakanattentionmechanismberbasislongshorttermmemory