Skip to main content

Using Machine Learning to Predict Grocery Sales

  • Conference paper
  • First Online:
Intelligent Computing (SAI 2023)

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 739))

Included in the following conference series:

  • 601 Accesses

Abstract

The purpose of this research is to construct a sales prediction model for grocery stores using linear regression. A forecasting model which can effectively predict the sales of a grocery store will help retailers stock the right quantity needed of their selling items and eventually compete better in the market. The present study uses four years’ worth of point-of-sale (POS) data from 54 grocery stores from Corporación Favorita, which is a large Ecuadorian-based grocery retailer to construct a sales prediction model that can predict the items demand for the upcoming year. XGboost (extreme gradient boosting) was used to build the prediction model. The constructed model can predict upcoming sales with an accuracy of 83%.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 219.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 279.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Corporación Favorita (2022). www.corporacionfavorita.com/en/

  2. https://www.kaggle.com/competitions/store-sales-time-series-forecasting/

  3. Zhaoweijie, Chenliang, Hujiangmin: Forecast rossmann store sales base on xgboost model. In: 2020 2nd International Conference on Economic Management and Model Engineering (ICEMME), pp. 521–525 (2020). https://doi.org/10.1109/ICEMME51517.2020.00110

  4. Kaneko, Y., Yada, K.: A deep learning approach for the prediction of retail store sales. In: 2016 IEEE 16th International Conference on Data Mining Workshops (ICDMW), pp. 531–537 (2016). https://doi.org/10.1109/ICDMW.2016.0082

  5. Yang, C.-L., Sutrisno, H.: Short-term sales forecast of perishable goods for franchise business. In: 2018 10th International Conference on Knowledge and Smart Technology (KST), pp. 101–105 (2018). https://doi.org/10.1109/KST.2018.8426091

  6. Spuritha, M., Kashyap, C.S., Nambiar, T.R., Kiran, D.R., Rao, N.S., Reddy, G.P.: Quotidian sales forecasting using machine learning. In: 2021 International Conference on Innovative Computing, Intelligent Communication and Smart Electrical Systems (ICSES), pp. 1–6 (2021). https://doi.org/10.1109/ICSES52305.2021.9633975

  7. Ranjitha, P., Spandana, M.: Predictive analysis for big mart sales using machine learning algorithms. In: 2021 5th International Conference on Intelligent Computing and Control Systems (ICICCS), pp. 1416–1421 (2021). https://doi.org/10.1109/ICICCS51141.2021.9432109

  8. XGBoost Documentation (2022). xgboost.readthedocs.io/en/stable/

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Kamil Samara .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Samara, K., Stanich, M. (2023). Using Machine Learning to Predict Grocery Sales. In: Arai, K. (eds) Intelligent Computing. SAI 2023. Lecture Notes in Networks and Systems, vol 739. Springer, Cham. https://doi.org/10.1007/978-3-031-37963-5_65

Download citation

Publish with us

Policies and ethics