Sistem Prediksi Permintaan Barang Berat dengan Memanfaatkan Data Historis Penjualan Menggunakan Long Short-Term Memory (LSTM)TERM MEMORY (LSTM)
DOI:
https://doi.org/10.31599/w0zqt762Keywords:
Building Material, Demand Forecasting, Inventory Management, Historical Sales Data ,Long Short-Term MemoryAbstract
Inventory management is an important aspect in maintaining the effectiveness of business
operations, particularly in building material stores where demand fluctuations can affect stock
availability. Inaccurate inventory planning may lead to overstock or stockout conditions, resulting
in increased operational costs and reduced customer satisfaction. This study aims to develop a
demand forecasting system for building materials using the Long Short-Term Memory (LSTM)
method based on historical sales data at Toko Bangunan Beu Sukses. The dataset used
consists of daily sales data from January 2024 to October 2025 covering six products, namely
steel, cement, paint, pipes, zinc roofing, and plywood. Data preprocessing was performed
through logarithmic transformation, differencing, normalization using MinMaxScaler, and
sequence formation using the sliding window method. The LSTM model was trained and
evaluated using Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), and Mean
Absolute Percentage Error (MAPE). The evaluation results indicate that the proposed model
achieved a high level of forecasting accuracy, with all products obtaining MAPE values below
2%. Furthermore, the developed model was successfully integrated into a web-based
application to support inventory management and decision-making processes. The results
demonstrate that the LSTM method can effectively predict building material demand and
support more efficient inventory management.
Downloads
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Ginda Maruli Andi Siregar, Khairul Anam, Saiyaratul Mawaddah

This work is licensed under a Creative Commons Attribution 4.0 International License.
Please read and understand the copyright terms for submissions to this journal.
Copyright Notice
The Jurnal Keamanan Nasional is under the Creative Commons Attribution 4.0 International (CC-BY 4.0) License, according to which:
1) Authors retain copyright and grant the journal the right to first publication, with the work simultaneously licensed under the Creative Commons Attribution (CC-BY 4.0) that allows the sharing of articles published with the acknowledgement of authorship and the initial publication in this journal.
2) The authors are authorized to make additional contracts separately for distribution of the version of the work published in this journal (for example, publication in an institutional repository or as a chapter of the book), as long as there is recognition of authorship and initial publication in this journal.
3) Authors are authorized and encouraged to publish and distribute their work online (for example, in institutional repositories or on their personal pages) at any time before or during the editorial process, as it increases the impact and reference of the published work.



2.jpg)


_-_Copy1.jpg)