EventsThe 1st International Online Conference on Technologies
Published
This submission belongs to the session S1. Information and Communication Technologies of the event The 1st International Online Conference on Technologies
Published date
06 Nov, 2026
Academic Editor
author-avatarSotirios K. Goudos
Contribution&Funding
Conceptualization,
[salisu ibrahim yusuf]
Software,
[salisu ibrahim yusuf]
Validation,
[Muhammad Aliyu Suleiman]
Formal analysis,
[Muhammad Aliyu Suleiman] ; [salisu ibrahim yusuf] ; [Bashir Aliyu]
Visualization,
[Muhammad Aliyu Suleiman]
Supervision,
[Muhammad Aliyu Suleiman] ; [salisu ibrahim yusuf] ; [Bashir Aliyu]
Funding: --
Citation
eman usman el-nafaty, salisu ibrahim yusuf, Muhammad Aliyu Suleiman, Bashir Aliyu, Jamilu Awwalu, an integrated machine learning framework for retail sales forecasting, in Proceedings of The 1st International Online Conference on Technologies, 11 November–13 November 2026, MDPI: Basel, Switzerland
Share
Email
Facebook
Twitter
LinkedIn

an integrated machine learning framework for retail sales forecasting

eman usman el-nafaty 1
salisu ibrahim yusuf 1
image
Bashir Aliyu 1
Jamilu Awwalu 1
1. Computer science, Nile University, abuja, 900001, Nigeria
Abstract

Sales prediction needs to be accurate for effective inventory management, supply chain planning, and data-driven decision-making in the retail sector. However, traditional statistical forecasting methods often struggle to model the complex and dynamic patterns that exist in modern retail sales, while the predictive accuracy of machine learning models varies across datasets and market demand settings. This study developed and evaluated an integrated machine learning framework for retail sales forecasting using historical sales data obtained from Supermarket S. The framework integrated data cleaning, exploratory data analysis, outlier investigation, feature engineering, standardization using StandardScaler, model development, and comparative performance evaluation. Machine learning and statistical forecasting techniques, such as ARIMA, Exponential Smoothing, Random Forest, Gradient Boosting, XGBoost, and SVR, were investigated. Additionally, ensemble strategies were explored to determine whether combining the best machine learning models could further boost forecasting performance. A validation-weighted RF-GB-XGBoost ensemble was developed by assigning model weights derived from validation forecasting residuals. MAE, MAPE, WMAPE, and R² were used to test model robustness. The findings revealed that MAPE was disparately affected by low sales observations within the highly dispersed sales distribution; therefore, WMAPE was included to give a more representative volume-weighted assessment of forecasting errors. XGBoost yielded the best overall forecasting performance, with an MAE of 35,196.02, WMAPE of 13.96%, and R² of 0.8362. The validation-weighted ensemble attained an MAE of 45,835.67, WMAPE of 18.18%, and R² of 0.7407 and did not outperform XGBoost alone. The results illustrate that integrating multiple forecasting models does not automatically improve predictive accuracy, particularly when weaker base learners reduce the contribution of the strongest individual model. To test the robustness and adaptability of the proposed framework, an additional validation experiment was conducted using the publicly available Walmart retail sales dataset. The study concludes that systematic model comparison and appropriate evaluation metrics are important for selecting reliable forecasting techniques. 

Keywords
Retail sales forecasting; Machine learning; Ensemble learning; XGBoost; Random Forest; Gradient Boosting; Time series forecasting; Predictive analytics; Feature engineering; Sales prediction.
Lightweight Brokerless Clustering for Self-Recovering ESP8266 Edge IoT Systems
An Assistive Attention-Support Apparatus for Self-Regulation: Survey Evidence for Calm-Technology Design Against In-Class Smartphone Distraction