Optimizing E-commerce inventory management using a machine-learning approach

Ruonan, Zhao and Wong, Doris Hooi-Ten (2025) Optimizing E-commerce inventory management using a machine-learning approach. Mathematical Sciences and Informatics Journal (MIJ), 6 (2). pp. 203-217. ISSN 2735-0703

Official URL: https://mijuitm.com.my/

Identification Number (DOI): 10.24191/mij.v6i2.9612

Abstract

E-commerce inventory management faces persistent challenges such as overstock and stockouts caused by unpredictable demand. Traditional inventory systems often fail to process large-scale transactional data efficiently, limiting accurate forecasting and decision-making. To address this issue, this study proposes an integrated machine-learning framework that combines predictive analytics and customer segmentation to improve forecasting precision and inventory control. Three machine learning models LSTM, XGBoost, and Random Forest were compared for demand forecasting. Among them, LSTM achieved the lowest RMSE (0.799), indicating superior predictive performance for time-dependent data. In addition, clustering algorithms, including DBSCAN and K-means, were applied to segment customers based on purchasing behaviour, with DBSCAN achieving a Silhouette Score of 0.9708, suggesting well-separated clusters. The results were visualised to generate actionable insights, enabling data-driven decisions. The findings provide an added approach for e-commerce businesses by linking sales forecasting and customer clustering to more efficient inventory allocation.

Metadata

Item Type: Article
Creators:
Creators
Email / ID Num.
Ruonan, Zhao
UNSPECIFIED
Wong, Doris Hooi-Ten
UNSPECIFIED
Subjects: L Education > LG Individual institutions > Asia > Malaysia > Universiti Teknologi MARA > Perak
Q Science > QA Mathematics > Instruments and machines > Electronic Computers. Computer Science
Divisions: Universiti Teknologi MARA, Perak > Tapah Campus > Faculty of Computer and Mathematical Sciences
Journal or Publication Title: Mathematical Sciences and Informatics Journal (MIJ)
UiTM Journal Collections: UiTM Journals > Mathematical Science and Information Journal (MIJ)
ISSN: 2735-0703
Volume: 6
Number: 2
Page Range: pp. 203-217
Keywords: E-commerce, Inventory management, Predictive analytics, Machine learning, Demand forecasting, Customer segmentation
Date: October 2025
URI: https://ir.uitm.edu.my/id/eprint/128948
Edit Item
Edit Item

Download

[thumbnail of 128948.pdf] Text
128948.pdf

Download (909kB)

ID Number

128948

Indexing

Altmetric
PlumX
Dimensions

Statistic

Statistic details