MACHINE LEARNING APPLIED TO INVENTORY MANAGEMENT: A CASE STUDY IN THE HEALTH AND BEAUTY SECTOR
Abstract
The accelerated growth of e-commerce requires increasingly efficient logistics operations, especially in the Beauty and Health sector, where products have strict expiration dates and strong consumption volatility. This study aims to develop and evaluate predictive Machine Learning algorithms capable of estimating the future demand for this category, aiming to mitigate the risks of stockouts and excess warehouse inventory. The research is characterized as applied and quantitative, using real transaction data extracted from the Brazilian E-Commerce Public Dataset (Olist). Computational processing was performed in Python, where raw records were cleaned and transformed into a daily time series. For comparative validation purposes, the study evaluated the performance of the traditional statistical model ARIMA against the supervised learning algorithm Random Forest, using the mathematical metrics MAE, RMSE, and WAPE. In the experiments conducted, the Random Forest algorithm showed better predictive performance across the evaluated metrics, achieving a WAPE of 31.73%, compared to 37.00% for ARIMA, as well as greater visual alignment with the seasonal fluctuations in the time series. It is concluded that the adoption of data-driven models provides more consistent analytical support for purchasing planning, with the potential to help mitigate stockouts and excess inventory in the sector.
Author Biographies
Universidade de Araraquara, Undergraduate student in Information Systems.
Universidade de São Paulo, PhD in Software Engineering.
References
BALLOU, Ronald H. Gerenciamento da cadeia de suprimentos/logística empresarial. 5. ed. Porto Alegre: Bookman, 2006.
BISONG, Ekaba. Building Machine Learning and Deep Learning Models on Google Cloud Platform: A Comprehensive Guide for Beginners. New York: Apress, 2019. DOI: https://doi.org/10.1007/978-1-4842-4470-8
CHOPRA, Sunil; MEINDL, Peter. Gestão da cadeia de suprimentos: estratégia, planejamento e operações. 6. ed. São Paulo: Pearson Education do Brasil, 2016.
ELMASRI, Ramez; NAVATHE, Shamkant B. Sistemas de Banco de Dados. 6. ed. São Paulo: Pearson, 2011.
FACELI, Katti et al. Inteligência Artificial: Uma abordagem de aprendizado de máquina. 2. ed. Rio de Janeiro: LTC, 2021.
FOWLER, Martin. UML Destilado: Um breve guia para a linguagem padrão de modelagem de objetos. 3. ed. Porto Alegre: Bookman, 2005.
GÉRON, Aurélien. Mãos à Obra: Aprendizado de Máquina com Scikit-Learn, Keras & TensorFlow. 2. ed. Rio de Janeiro: Alta Books, 2021.
GRUS, Joel. Data Science do Zero: Primeiras regras com o Python. 2. ed. Rio de Janeiro: Alta Books, 2021.
HYNDMAN, Rob J.; ATHANASOPOULOS, George. Forecasting: Principles and Practice. 3. ed. Melbourne: OTexts, 2021. Disponível em: https://otexts.com/fpp3/ Acesso em: 20 maio 2026.
MARTINS, Emerson. Uma aplicação de machine learning na previsão de vendas no segmento de varejo. 2023. 168 f. Dissertação (Mestrado Profissional em Gestão e Tecnologia em Sistemas Produtivos) – Centro Estadual de Educação Tecnológica Paula Souza, São Paulo, 2023. Disponível em: https://ric.cps.sp.gov.br/handle/123456789/26730 .Acesso em: 07 abril. 2026.
MCKINNEY, Wes. Python para Análise de Dados: Tratamento de Dados com Pandas, NumPy e IPython. São Paulo: Novatec, 2018.
MICHEL, Júlia de Souza Silva. Previsão de demanda no mercado online brasileiro: estudo comparativo entre dois modelos lineares. 2022. Dissertação (Mestrado em Gestão de Organizações, Liderança e Decisão) – Universidade Federal do Paraná, Curitiba, 2022. Disponível em: https://acervodigital.ufpr.br/xmlui/handle/1884/79637 Acesso em: 13 maio 2026.
MITCHELL, Tom M. Machine Learning. New York: McGraw-Hill, 1997.
MORETTIN, Pedro A.; TOLOI, Clélia M. C. Análise de séries temporais: modelos lineares univariados. 3. ed. São Paulo: Blucher, 2018.
PROVOST, Foster; FAWCETT, Tom. Data Science para Negócios: O que você precisa saber sobre mineração de dados e pensamento analítico de dados. Rio de Janeiro: Alta Books, 2016.
SHIKUMA, Diogo Tsuyoshi; LEME, Luiz Gustavo Cardoso; LOPES, Silvio Cesar. Estoqueprev: sistema preditivo de demanda com aprendizado de máquina. Repositório Institucional do Conhecimento do Centro Paula Souza (RIC-CPS), São Paulo, 2025. Disponível em: https://ric.cps.sp.gov.br/handle/123456789/39857 Acesso em: 10 abril 2026.
SLACK, Nigel; BRANDON-JONES, Alistair; JOHNSTON, Robert. Administração da Produção. 8. ed. São Paulo: Atlas, 2018.
TAMACHIRO, Thiago Shoji Obi et al. Modelos de Aprendizado de Máquina para Previsão da Demanda por Séries Temporais em Cadeias de Suprimentos: Uma Revisão Sistemática e Análise Bibliométrica da Literatura. Anais do Congresso Brasileiro de Engenharia de Produção (APREPRO),2024. Disponível em: https://aprepro.org.br/conbrepro/anais/2024/arquivos/10282024_161017_671fdf41e3594.pdf Acesso em: 05 março 2026.
VANDERPLAS, Jake. Python Data Science Handbook: Essential Tools for Working with Data. Sebastopol: O'Reilly Media, 2016.
