Recurrent Neural Networks (RNN) and Long Short-Term Memory (LSTM) Methods to Forecast Daily Turnover at BM Motor Ngawi

Larasati Larasati, Siti Saadah, Prasti Eko Yunanto

Abstract


The number of motorcycles on the report of Indonesian BPS statistics from the Indonesian State Police between 2019 to 2021 by its type has increased annually. Routine motorcycle checks, services, and maintenance are essential to keep a motorcycle in good condition and more durable; therefore, buying spare parts is enlarged in line with the growth of public motorcycle ownership. The necessity of buying spare parts increases with the growth of public motorcycle ownership. Numerous stores in Ngawi offer motorcycle spare parts and check services for routine motorcycle maintenance. One of these stores is BM Motor. To develop an effective product-selling strategy, it is essential to forecast the daily turnover of the shop. To achieve this, the present research aims to analyze the daily turnover using Recurrent Neural Networks (RNN) and Long Short-Term Memory (LSTM). These methods were applied to a time-series dataset, allowing for an in-depth examination of the patterns and trends in the shop's turnover. The research compares several hyperparameter tunings and scenarios to optimize the models that forecast daily turnover data at the store. The outcomes presented that the LSTM model achieved a lesser MAE score of 0.087, while the RNN model scored 0.092. These findings proved that the LSTM model achieved lower MAE than the RNN model, it means LSTM is more accurate than the RNN model.

Keywords


BM Motor Ngawi; Daily Turnover; Forecasting; LSTM; RNN

Full Text:

PDF

References


Wiranda L, Sadikin M. Penerapan Long Short Term Memory Pada Data Time Series untuk Memprediksi Penjualan Produk PT. Metiska Farma. vol. 8. n.d. https://doi.org/https://doi.org/10.23887/janapati.v8i3.19139.

Sugiyarto AW, Abadi AM. Prediction of Indonesian Palm Oil Production Using Long Short-Term Memory Recurrent Neural Network (LSTM-RNN). 2019 1st International Conference on Artificial Intelligence and Data Sciences (AiDAS), IEEE; 2019, p. 53–7. https://doi.org/10.1109/AiDAS47888.2019.8970735.

Widi Hastomo, Sutarno, Sudjiran. Analisis Risiko Investasi dan Prediksi Saham Menggunakan Algortime Machine Learning. Jurnal Ilmiah Komputasi 2022;21:453–62. https://doi.org/10.32409/jikstik.21.3.3104.

Sagheer A, Kotb M. Time series forecasting of petroleum production using deep LSTM recurrent networks. Neurocomputing 2019;323:203–13. https://doi.org/10.1016/j.neucom.2018.09.082.

Selle N, Yudistira N, Dewi C. Perbandingan Prediksi Penggunaan Listrik dengan Menggunakan Metode Long Short Term Memory (LSTM) dan Recurrent Neural Network (RNN). Jurnal Teknologi Informasi Dan Ilmu Komputer 2022;9:155. https://doi.org/10.25126/jtiik.2022915585.

Rafi SH, Nahid-Al-Masood, Deeba SR, Hossain E. A Short-Term Load Forecasting Method Using Integrated CNN and LSTM Network. IEEE Access 2021;9:32436–48. https://doi.org/10.1109/ACCESS.2021.3060654.

DiPietro R, Hager GD. Deep learning: RNNs and LSTM. Handbook of Medical Image Computing and Computer Assisted Intervention, Elsevier; 2020, p. 503–19. https://doi.org/10.1016/B978-0-12-816176-0.00026-0.

Zhu R, Tu X, Xiangji Huang J. Deep learning on information retrieval and its applications. Deep Learning for Data Analytics, Elsevier; 2020, p. 125–53. https://doi.org/10.1016/B978-0-12-819764-6.00008-9.

Sagheer A, Kotb M. Time series forecasting of petroleum production using deep LSTM recurrent networks. Neurocomputing 2019;323:203–13. https://doi.org/10.1016/j.neucom.2018.09.082.

Siami-Namini S, Tavakoli N, Namin AS. The Performance of LSTM and BiLSTM in Forecasting Time Series. 2019 IEEE International Conference on Big Data (Big Data), IEEE; 2019, p. 3285–92. https://doi.org/10.1109/BigData47090.2019.9005997.

Kim S, Kang M. Financial series prediction using Attention LSTM 2019.

Abdel-Nasser M, Mahmoud K. Accurate photovoltaic power forecasting models using deep LSTM-RNN. Neural Comput Appl 2019;31:2727–40. https://doi.org/10.1007/s00521-017-3225-z.

Abbasimehr H, Paki R. Improving time series forecasting using LSTM and attention models. J Ambient Intell Humaniz Comput 2022;13:673–91. https://doi.org/10.1007/s12652-020-02761-x.

Shah AA, Ahmed K, Han X, Saleem A. A Novel Prediction Error-Based Power Forecasting Scheme for Real PV System Using PVUSA Model: A Grey Box-Based Neural Network Approach. IEEE Access 2021;9:87196–206. https://doi.org/10.1109/ACCESS.2021.3088906.

Tian C, Ma J, Zhang C, Zhan P. A deep neural network model for short-term load forecast based on long short-term memory network and convolutional neural network. Energies (Basel) 2018;11. https://doi.org/10.3390/en11123493.




DOI: http://dx.doi.org/10.24014/ijaidm.v7i1.27643

Refbacks

  • There are currently no refbacks.


Office and Secretariat:

Big Data Research Centre
Puzzle Research Data Technology (Predatech)
Laboratory Building 1st Floor of Faculty of Science and Technology
UIN Sultan Syarif Kasim Riau

Jl. HR. Soebrantas KM. 18.5 No. 155 Pekanbaru Riau – 28293
Website: http://predatech.uin-suska.ac.id/ijaidm
Email: ijaidm@uin-suska.ac.id
e-Journal: http://ejournal.uin-suska.ac.id/index.php/ijaidm
Phone: 085275359942

Click Here for Information


Journal Indexing:

Google Scholar | ROAD | PKP Index | BASE | ESJI | General Impact Factor | Garuda | Moraref | One Search | Cite Factor | Crossref | WorldCat | Neliti  | SINTA | Dimensions | ICI Index Copernicus 

IJAIDM Stats