Forecasting grocery item sales using gradient boosting models: A study of GridSearchCV, RandomizedSearchCV, and optuna optimization approaches

This study introduces predictive modeling based on Extreme Gradient Boosting (XGBoost), which utilizes Optuna for hyperparameter optimization and evaluates performance against GridSearchCV and RandomizedSearchCV using a 500-day dataset. To ensure statistical reliability of the findings, a bootstrapping with 1000 iterations is used to calculate 95% confidence intervals for all performance measures. Although GridSearchCV and RandomizedSearchCV achieve consistent performance, their average R-squared test performances are 0.81677 and 0.85538, respectively. In contrast, Optuna outperforms both methods by identifying better regions of optimal parameters, with an average R-squared of 0.94146. Furthermore, the computational efficiency analysis shows that Optuna’s average execution time of 28.31 s is a practical trade-off for running on consumer-grade hardware. Model interpretability is confirmed through Shapley Additive Explanations (SHAP) analysis, which identified the 3-day rolling average as the most important driving factor of demand.

Authors

Institutions

Publication Details

Journal
Ain Shams Engineering Journal
Published
2026-02-15
DOI
https://doi.org/10.1016/j.asej.2026.104012
Primary Topic
Stock Market Forecasting Methods
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Forecasting grocery item sales using gradient boosting models: A study of GridSearchCV, RandomizedSearchCV, and optuna optimization approaches

Puja Supakar, Mitali Sarkar, Biswajit Sarkar
Ain Shams Engineering Journal
Stock Market Forecasting Methods
article

Forecasting grocery item sales using gradient boosting models: A study of GridSearchCV, RandomizedSearchCV, and optuna optimization approaches

Puja Supakar, Mitali Sarkar, Biswajit Sarkar
article en

Abstract

This study introduces predictive modeling based on Extreme Gradient Boosting (XGBoost), which utilizes Optuna for hyperparameter optimization and evaluates performance against GridSearchCV and RandomizedSearchCV using a 500-day dataset. To ensure statistical reliability of the findings, a bootstrapping with 1000 iterations is used to calculate 95% confidence intervals for all performance measures. Although GridSearchCV and RandomizedSearchCV achieve consistent performance, their average R-squared test performances are 0.81677 and 0.85538, respectively. In contrast, Optuna outperforms both methods by identifying better regions of optimal parameters, with an average R-squared of 0.94146. Furthermore, the computational efficiency analysis shows that Optuna’s average execution time of 28.31 s is a practical trade-off for running on consumer-grade hardware. Model interpretability is confirmed through Shapley Additive Explanations (SHAP) analysis, which identified the 3-day rolling average as the most important driving factor of demand.

Ain Shams Engineering JournalVol. 17(3)
Lovely Professional University (IN), National Taipei University of Technology (TW), Yonsei University (KR), Sejong University (KR), Saveetha University (IN), Maulana Abul Kalam Azad University of Technology, West Bengal (IN)
Openalex Percentile: Top 59%
Stock Market Forecasting Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Forecasting grocery item sales using gradient boosting models: A study of GridSearchCV, RandomizedSearchCV, and optuna optimization approaches — Puja Supakar, Mitali Sarkar, et al. · Ain Shams Engineering Journal (2026) | TGRS Research Map | TGRS