E-COMMERCE DEMAND FORECASTING WITH MACHINE LEARNING
Abstract
Demand forecasting can support purchasing and inventory-control decisions in e-commerce operations. This study investigates machine-learning models to forecast daily sales of products marketed on Mercado Livre and relate the estimates to replenishment suggestions. The study used a sales report exported in October 2026, from which three product identifiers (SKUs) were selected. After filtering records with the status “Delivered”, daily series were constructed for September 26 through October 25, 2026. Linear Regression and Decision Tree models were evaluated against a seasonal reference based on sales seven days earlier. The last seven available observations were reserved chronologically for testing, using MAE, RMSE, and R². Results varied by product: Linear Regression achieved the lowest MAE for two SKUs, while the seasonal reference performed best for the third. Negative R² values in two of the three cases, together with the short history and small test set, indicate that the forecasts are preliminary and require further validation. The replenishment suggestion was calculated with a 10% safety margin and the reported inventory. The study presents an initial demand-forecasting application using real data from an e-commerce operation.
Author Biography
References
BALLOU, Ronald H. Gerenciamento da cadeia de suprimentos: logística empresarial. 5. ed. Porto Alegre: Bookman, 2006.
GERON, Aurélien. Hands-On Machine Learning with Scikit-Learn, Keras and TensorFlow. 2. ed. Sebastopol: O’Reilly Media, 2019.
GOODFELLOW, Ian; BENGIO, Yoshua; COURVILLE, Aaron. Deep Learning. Cambridge: MIT Press, 2016.
MITCHELL, Tom M. Machine Learning. New York: McGraw-Hill, 1997.
