Penerapan Long Short-Term Memory (LSTM) untuk Peramalan Penjualan Produk Rokok pada Sektor Ritel
DOI:
https://doi.org/10.54065/artificial.2016Keywords:
Deret Waktu, Long Short-Term Memory, Peramalan Penjualan, Perencanaan Persediaan, Produk RokokAbstract
Perencanaan persediaan pada sektor ritel memerlukan estimasi penjualan yang mampu menggambarkan pola permintaan pada periode mendatang. Perbedaan karakteristik penjualan antarproduk menyebabkan kebutuhan peramalan perlu disesuaikan dengan pola historis masing-masing produk. Penelitian ini bertujuan menerapkan metode Long Short-Term Memory (LSTM) untuk meramalkan penjualan produk rokok dan menghasilkan informasi yang dapat mendukung perencanaan persediaan. Data yang digunakan berupa penjualan bulanan lima produk, yaitu Djarum Coklat, Dji Sam Soe, Marlboro, Surya, dan Vigor pada periode Januari 2018–Desember 2025. Data diolah melalui tahapan seleksi, pembersihan, pengurutan berdasarkan waktu, normalisasi, dan pembentukan data time series sebelum diterapkan pada model LSTM. Konfigurasi model dipilih berdasarkan nilai validation Mean Absolute Percentage Error (MAPE) terendah, sedangkan kinerja model dievaluasi menggunakan MAE, RMSE, dan MAPE. Hasil peramalan tahun 2026 menunjukkan nilai MAPE masing-masing sebesar 23,72% untuk Djarum Coklat, 34,54% untuk Dji Sam Soe, 22,11% untuk Marlboro, 40,29% untuk Surya, dan 24,47% untuk Vigor. Hasil tersebut menunjukkan bahwa LSTM mampu menghasilkan estimasi penjualan dengan tingkat kesalahan yang berbeda pada setiap produk. Peramalan yang dihasilkan dapat digunakan sebagai informasi pendukung dalam menentukan kebutuhan persediaan, meskipun keputusan persediaan tetap perlu mempertimbangkan faktor operasional lainnya.
References
Bi, X., Adomavicius, G., Li, W., & Qu, A. (2022). Improving sales forecasting accuracy: A tensor factorization approach with demand awareness. INFORMS Journal on Computing, 34(3), 1541–1558. https://doi.org/10.1287/ijoc.2021.114
Eglite, L., & Birzniece, I. (2022). Retail sales forecasting using deep learning: Systematic literature review. Complex Systems Informatics and Modeling Quarterly, 30, 53–62. https://doi.org/10.7250/csimq.2022-30.03
Falatouri, T., Darbanian, F., Brandtner, P., & Udokwu, C. (2022). A comparison of SARIMA and LSTM in retail SCM. Procedia Computer Science, 200, 993–1003. https://doi.org/10.1016/j.procs.2022.01.298
Fatmawati, E. F., & Sudarmilah, E. (2026). Forecasting Permintaan Persediaan Berbasis Long Short-Term Memory untuk Penentuan Safety Stock dan Reorder Point . Jurnal Sistem Komputer Dan Informatika (JSON), 7(3), 1131–1144. https://doi.org/10.30865/json.v7i3.9648
He, Q. Q., Wu, C., & Si, Y. W. (2022). LSTM with particle swarm optimization for sales forecasting. Electronic Commerce Research and Applications, 51, Article 101118. https://doi.org/10.1016/j.elerap.2022.101118
Huber, J., & Stuckenschmidt, H. (2020). Daily retail demand forecasting using machine learning with emphasis on calendric special days. International Journal of Forecasting, 36(4), 1420–1438. https://doi.org/10.1016/j.ijforecast.2020.02.005
Joseph, R. V., Mohanty, A., Tyagi, S., Mishra, S., Satapathy, S. K., & Mohanty, S. N. (2022). A hybrid deep learning framework with CNN and Bi-directional LSTM for store item demand forecasting. Computers & Electrical Engineering, 103, 108358. https://doi.org/10.1016/j.compeleceng.2022.108358
Kilimci, Z. H., Akyuz, A. O., Uysal, M., Akyokus, S., Uysal, M. O., Atak Bulbul, B., & Ekmis, M. A. (2019). An improved demand forecasting model using deep learning approach and proposed decision integration strategy for supply chain. Complexity, 2019, 9067367. https://doi.org/10.1155/2019/906736
Ma, S., & Fildes, R. (2021). Retail sales forecasting with meta-learning. European Journal of Operational Research, 288(1), 111–128. https://doi.org/10.1016/j.ejor.2020.05.038
Moraes, T. D. C, Yuan, X.-M., & Chew, E. P. (2024). Hybrid convolutional long short-term memory models for sales forecasting in retail. Journal of Forecasting, 43(5), 1278–1293. https://doi.org/10.1002/for.3073
Nasseri, M., Falatouri, T., Brandtner, P., & Darbanian, F. (2023). Applying machine learning in retail demand prediction—A comparison of tree-based ensembles and long short-term memory-based deep learning. Applied Sciences, 13(19), 11112. https://doi.org/10.3390/app131911112
Pan, G., Xue, B., Lu, Y., & Li, X. (2025). A deep learning-based demand forecasting method for retail supply chains using LSTM and attention mechanism. Atlantis Highlights in Economics and Business, 24, 1026–1032. https://doi.org/10.2991/978-94-6463-845-5_100
Pereira, R., et al. (2021). Evaluation of deep learning with long short-term memory networks for time series forecasting in supply chain management. Procedia CIRP, 99, 604–609. https://doi.org/10.1016/j.procir.2021.03.081
Saha, P., Gudheniya, N., Mitra, R., Das, D., Narayana, S., & Tiwari, M. K. (2022). Demand forecasting of a multinational retail company using deep learning frameworks. IFAC-PapersOnLine, 55(10), 395–399. https://doi.org/10.1016/j.ifacol.2022.09.425
Salu, B. M., Irwanda, D. A., Hasibuan, N. R. K., & Arifin, S. (2026). Pengembangan Sistem Informasi Persediaan Alat Tulis Kantor Berbasis Web Di PT BPRS Amanah Bangsa. Journal Artificial: Informatika Dan Sistem Informasi, 4(1), 37–50. https://doi.org/10.54065/artificial.1104
Seyedan, M., Mafakheri, F., & Wang, C. (2023). Order-up-to-level inventory optimization model using time-series demand forecasting with ensemble deep learning. Supply Chain Analytics, 3, 100024. https://doi.org/10.1016/j.sca.2023.100024
Song, H., Du, D., & Li, Y. (2021). Research on precise demand forecast of retail commodities based on LSTM-ARIMA joint model. Journal of Physics: Conference Series, 1865, 042049. https://doi.org/10.1088/1742-6596/1865/4/042049
Theodoridis, G., & Tsadiras, A. (2025). Retail demand forecasting: A comparative analysis of deep neural networks and the proposal of LSTMixer, a linear model extension. Information, 16(7), 596. https://doi.org/10.3390/info16070596
Tiwari, A., Pillai, J., & Janghel, R. R. (2025). Leveraging LSTM for precision inventory management by future demand forecasting. Journal of Applied Research and Technology, 23(1). https://doi.org/10.22201/icat.24486736e.2025.23.1.2508
Wafda, A. (2024). Integrasi Machine Learning dalam Ritel: Tinjauan Komprehensif tentang Prediksi Harga, Analisis Data Pelanggan, dan Pemanfaatan Media Sosial. Journal Artificial: Informatika Dan Sistem Informasi, 2(2), 90–106. https://doi.org/10.54065/artificial.543
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Oktavia Hasanah, Asep Toyib Hidayat, Satriansyah Satriansyah

This work is licensed under a Creative Commons Attribution 4.0 International License.
License and Copyright Agreement
- Authors retain copyright and other proprietary rights related to the article.
- Authors retain the right and are permitted to use the substance of the article in their own future works, including lectures and books.
- Authors grant the journal the right of first publication with the work simultaneously licensed under Creative Commons Attribution License (CC BY 4.0) that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the 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 acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post or self-archive 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.






