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

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.

Authors

Publication Details

Journal
UiTM Institutional Repositories (Universiti Teknologi MARA)
Published
2025-10-01
DOI
https://doi.org/10.24191/mij.v6i2.9612
Primary Topic
Forecasting Techniques and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

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

Doris Hooi-Ten Wong, Zhao Ruonan
UiTM Institutional Repositories (Universiti Teknologi MARA)
Forecasting Techniques and Applications
article

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

Doris Hooi-Ten Wong, Zhao Ruonan
article en

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.

UiTM Institutional Repositories (Universiti Teknologi MARA)
Openalex Percentile: Top 25%
Forecasting Techniques and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.