PatternIQ Mining (PIQM) Sahara Digital Publications · eISSN 3006-8894

Original Research Open access

Enhancing E-commerce Supply Chains with Time-Series Forecasting Using Long Short-Term Memory (LSTM) Networks

Muhtade Mustafa Aqil and Faiqah fauzi

PatternIQ Mining 2025;2(1):36–46 · https://doi.org/10.70023/sahd/250204

Abstract

E-commerce supply chains function in ever-changing settings, requiring precise demand forecasting to ensure efficient operations, reduce costs, and improve customer satisfaction. Traditional forecasting methods often fail to capture non-linear patterns and temporal dependencies inherent in time-series data, limiting their effectiveness. This paper proposes an ESCLSTM technique to enhance e-commerce supply chains (ESC) by leveraging Long ShortTerm Memory (LSTM) networks to analyse data sequentially and forecast. The ESCLSTM methodology begins with collecting historical sales and inventory data from an open-source ecommerce dataset. The data is preprocessed through missing value imputation, normalization, and time-series decomposition to prepare it for modelling. LSTM networks, designed to capture sequential dependencies, are appraised and trained using measures like Mean Absolute and Root Mean Square Error, with hyperparameters optimized through grid search. Key findings reveal that the LSTM model outperforms traditional approaches, achieving a 20% reduction in MAE and a 25% improvement in RMSE. The multivariate LSTM model demonstrates superior performance in capturing complex relationships between features, leading to more accurate predictions of demand trends. In conclusion, the study highlights the potential of LSTM networks to revolutionize demand forecasting in e-commerce supply chains, offering a robust and scalable solution for handling the complexities of modern logistics.

Keywords :

E-commerce supply chains, Demand forecasting, Time-series forecasting, Long ShortTerm Memory (LSTM) networks, Sequential data analysis.

How to cite

Aqil, M. M., & fauzi, F. (2025). Enhancing E-commerce Supply Chains with Time-Series Forecasting Using Long Short-Term Memory (LSTM) Networks. PatternIQ Mining, 2(1), 36–46. https://doi.org/10.70023/sahd/250204

Copyright and licence

Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)

© 2025 The Author(s). Published by Sahara Digital Publications. This is an open access article distributed under the terms of the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) licence. This licence allows others to copy, redistribute, remix, adapt and build upon the work for non-commercial purposes, provided that the authors and the original publication are credited. The authors retain copyright. See Copyright and Licensing.