Comparative analysis of machine learning models for retail demand forecasting considering promotional activity and seasonality
Received 24.09.2025, Revised 10.03.2026, Accepted 28.04.2026, Published 29.05.2026
Abstract
The relevance of the study is driven by the complexity of modelling consumer behaviour in an unstable market environment, where forecast accuracy directly impacts inventory optimisation and the reduction of logistical costs. The aim of this study was to develop and substantiate an AI-based intelligent system for demand forecasting and procurement optimisation in retail, ensuring consistent product availability while simultaneously reducing excess inventory and waste. The research methodology was based on a rigorous time-based data split, which allows for evaluating the models’ generalisation ability in a realistic “train on the past, test on the future” scenario. To establish a robust point of reference, a hierarchy of baseline benchmarks was developed, including naive forecasts and models with weekly lags. The study conducted a comparative analysis of Ridge linear regression, the Random Forest ensemble method, and gradient-boosted decision trees (XGBoost, LightGBM). Experimental results confirmed a significant advantage of non-linear models over traditional linear approaches, which fail to adequately reproduce threshold effects and complex interactions between promotions and seasonality. It was established that the LightGBM model demonstrates the best stability and accuracy metrics, ensuring minimal error on the validation set while maintaining resistance to overfitting. Specifically, it was found that XGBoost’s high efficiency on training data is often a result of over-adaptation to noise, making LightGBM more suitable for practical business applications. The practical significance of the findings lies in the potential for automating procurement processes, ensuring balanced inventory levels and increasing the economic efficiency of retail networks
Keywords:
predictive analytics; feature engineering; gradient boosting; time series; mean absolute error; root mean squared error; business analytics
Boyko, N., & Dolichnyi, A.
(2026).
Comparative analysis of machine learning models for retail demand forecasting considering promotional activity and seasonality.
Journal of Kryvyi Rih National University,
24(1),
35-53.
https://doi.org/10.31721/2306-5451-2026-1-24-35-53