• Home
  • Search
  • Advancing Retail Predictions: Integrating Diverse Machine Learning Models for Accurate Walmart Sales Forecasting
  • Cite Icon4
  • https://doi.org/10.9734/ajpas/2024/v26i7626Copy DOI Icon

Advancing Retail Predictions: Integrating Diverse Machine Learning Models for Accurate Walmart Sales Forecasting

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

In the rapidly evolving landscape of retail analytics, the accurate prediction of sales figures holds paramount importance for informed decision-making and operational optimization. Leveraging diverse machine learning methodologies, this study aims to enhance the precision of Walmart sales forecasting, utilizing a comprehensive dataset sourced from Kaggle. Exploratory data analysis reveals intricate patterns and temporal dependencies within the data, prompting the adoption of advanced predictive modeling techniques. Through the implementation of linear regression, ensemble methods such as Random Forest, Gradient Boosting Machines (GBM), eXtreme Gradient Boosting (XGBoost), and Light Gradient Boosting Machine (LightGBM), this research endeavors to identify the most effective approach for predicting Walmart sales. Comparative analysis of model performance showcases the superiority of advanced machine learning algorithms over traditional linear models. The results indicate that XGBoost emerges as the optimal predictor for sales forecasting, boasting the lowest Mean Absolute Error (MAE) of 1226.471, Root Mean Squared Error (RMSE) of 1700.981, and an exceptionally high R-squared value of 0.9999900, indicating near-perfect predictive accuracy. This model's performance significantly surpasses that of simpler models such as linear regression, which yielded an MAE of 35632.510 and an RMSE of 80153.858. Insights from bias and fairness measurements underscore the effectiveness of advanced models in mitigating bias and delivering equitable predictions across temporal segments. Our analysis revealed varying levels of bias across different models. Linear Regression, Multiple Regression, and GLM exhibited moderate bias, suggesting some systematic errors in predictions. Decision Tree showed slightly higher bias, while Random Forest demonstrated a unique scenario of negative bias, implying systematic underestimation of predictions. However, models like GBM, XGBoost, and LGB displayed biases closer to zero, indicating more accurate predictions with minimal systematic errors. Notably, the XGBoost model demonstrated the lowest bias, with an MAE of -7.548432 (Table 4), reflecting its superior ability to minimize prediction errors across different conditions. Additionally, fairness analysis revealed that XGBoost maintained robust performance in both holiday and non-holiday periods, with an MAE of 84273.385 for holidays and 1757.721 for non-holidays. Insights from the fairness measurements revealed that Linear Regression, Multiple Regression, and GLM showed consistent predictive performance across both subgroups. Meanwhile, Decision Tree performed similarly for holiday predictions but exhibited better accuracy for non-holiday sales, whereas, Random Forest, XGBoost, GBM, and LGB models displayed lower MAE values for the non-holiday subgroup, indicating potential fairness issues in predicting holiday sales. The study also highlights the importance of model selection and the impact of advanced machine learning techniques on achieving high predictive accuracy and fairness. Ensemble methods like Random Forest and GBM also showed strong performance, with Random Forest achieving an MAE of 12238.782 and an RMSE of 19814.965, and GBM achieving an MAE of 10839.822 and an RMSE of 1700.981. This research emphasizes the significance of leveraging sophisticated analytics tools to navigate the complexities of retail operations and drive strategic decision-making. By utilizing advanced machine learning models, retailers can achieve more accurate sales forecasts, ultimately leading to better inventory management and enhanced operational efficiency. The study reaffirms the transformative potential of data-driven approaches in driving business growth and innovation in the retail sector.

Similar Papers
  • Research Article

Tribological Analysis of A356 composites using Machine learning algorithms

  • Mar 01, 2026
  • Journal of Physics: Conference Series
  • Maddi Yashwanth Kumar +4
  • PDF
  • Research Article
  • Citations15

Using Artificial Intelligence Approach for Investigating and Predicting Yield Stress of Cemented Paste Backfill

  • Feb 06, 2023
  • Sustainability
  • Van Quan Tran
  • Abstract

AB1138 APPLICATION OF MACHINE LEARNING METHODS TO PREDICT SF-36 MENTAL HEALTH DOMAIN FOR SYSTEMIC LUPUS ERYTHEMATOSUS PATIENTS

  • Jun 01, 2024
  • Annals of the Rheumatic Diseases
  • E Gaydukova
  • Research Article

A Machine Learning–Based Predictive Framework for Nighttime High-Power Aircraft Engine Run-Up Operations

  • Mar 21, 2026
  • Cureus Journal of Computer Science
  • Somashekar V +1
  • Research Article
  • Citations13

Optimized machine learning models for predicting crown convergence of plateau mountain tunnels

  • Apr 18, 2024
  • Transportation Geotechnics
  • Xuefeng An +5
  • Research Article
  • Citations4

Optimising Venturi flume oxygen transfer efficiency using uncertainty-aware decision trees.

  • Dec 06, 2024
  • Water science and technology : a journal of the International Association on Water Pollution Research
  • Nand Kumar Tiwari +1
  • Research Article

Factors affecting and identification of key environmental determinants of the Oncomelania hupensis snail density in the Yangtze River Delta based on machine learning models

  • Mar 04, 2026
  • Zhongguo xue xi chong bing fang zhi za zhi = Chinese journal of schistosomiasis control
  • Y Li +6
  • Research Article
  • Citations7

Machine Learning Model of Oilfield Productivity Prediction and Performance Evaluation

  • Apr 01, 2023
  • Journal of Physics: Conference Series
  • Laiming Song +5
  • Research Article
  • Citations1

Daily solar power prediction using machine learning: A model wise comparative study

  • Jun 13, 2025
  • Plant Science Today
  • F P Khadeeja +5
  • Research Article
  • Citations92

Comparison of ARIMA model and XGBoost model for prediction of human brucellosis in mainland China: a time-series study

  • Dec 01, 2020
  • BMJ Open
  • Mirxat Alim +5
  • PDF
  • Research Article
  • Citations9

Generalization Ability of Bagging and Boosting Type Deep Learning Models in Evapotranspiration Estimation

  • Aug 08, 2024
  • Water
  • Manoranjan Kumar +6
  • Research Article
  • Citations2

Wind speed prediction in some major cities in Africa using Linear Regression and Random Forest algorithms

  • Sep 08, 2024
  • Journal of the Nigerian Society of Physical Sciences
  • Timothy Kayode Samson +1
  • Research Article
  • Citations1

The Relationship Between Smartphone and Game Addiction, Leisure Time Management, and the Enjoyment of Physical Activity: A Comparison of Regression Analysis and Machine Learning Models.

  • Jul 25, 2025
  • Healthcare (Basel, Switzerland)
  • Sevinç Namlı +7
  • Research Article
  • Citations1

Comparison of Machine Learning and Deep Learning Models Performance in predicting wind energy

  • Jul 21, 2025
  • EAI Endorsed Transactions on Energy Web
  • Saswati Rakshit +1
  • Research Article
  • Citations1

Application of Long Short-Term Memory and XGBoost Model for Carbon Emission Reduction: Sustainable Travel Route Planning

  • Dec 02, 2025
  • Sustainability
  • Sevcan Emek +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.