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


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.


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

Full Text:



Wiranda L, Sadikin M. Penerapan Long Short Term Memory Pada Data Time Series untuk Memprediksi Penjualan Produk PT. Metiska Farma. vol. 8. n.d.

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.

Widi Hastomo, Sutarno, Sudjiran. Analisis Risiko Investasi dan Prediksi Saham Menggunakan Algortime Machine Learning. Jurnal Ilmiah Komputasi 2022;21:453–62.

Sagheer A, Kotb M. Time series forecasting of petroleum production using deep LSTM recurrent networks. Neurocomputing 2019;323:203–13.

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.

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.

DiPietro R, Hager GD. Deep learning: RNNs and LSTM. Handbook of Medical Image Computing and Computer Assisted Intervention, Elsevier; 2020, p. 503–19.

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.

Sagheer A, Kotb M. Time series forecasting of petroleum production using deep LSTM recurrent networks. Neurocomputing 2019;323:203–13.

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.

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.

Abbasimehr H, Paki R. Improving time series forecasting using LSTM and attention models. J Ambient Intell Humaniz Comput 2022;13:673–91.

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.

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.



  • 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
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