IDEAS home Printed from https://ideas.repec.org/a/dat/bmngmt/y2025i2p86-102.html

Application Of Machine Learning Algorithms in Predicting Customer Loyalty Towards Grocery Retailers

Author

Listed:
  • Jelena Franjkovic

    (Department of Marketing, Faculty of Economics and Business)

  • Ivana Fosic

    (Department of Management, Organization and Entrepreneurship)

  • Ana Zivkovic

    (Department of Management, Organization and Entrepreneurship)

Abstract

Retailers strive for customer loyalty in the sense of repeat purchases, but also as a high proportion of purchases (compared to competitors) and willingness to recommend to other customers. This paper examines customer loyalty in the grocery sector as a three-dimensional construct and shows how machine learning techniques can be useful in its study. Price characteristics of the retailer (price level, value for money, price dynamics, price communication and price dispersion) and non-price characteristics of the retailer (general product range, retailer's private label product range, store design and atmosphere, service level and location) are included in the model as predictor variables. Using the data collected through the primary research conducted in Croatia, 433 samples were divided into 10 independent predictor variables and one dependent variable (customer loyalty), a prediction was created using supervised machine learning classification algorithms. The Random Forest classifier proves to be the best choice overall, with ROC_AUC value of 0.790, a high accuracy of 0.915 and an F1 score of 0.954, reflecting both precision and responsiveness. The application of the SHapley Additive exPlanations analysis additionally enables the interpretation of the results, highlighting the influence of features on the accuracy of the prediction. The results indicate that price dynamics and service level are the most important features for the model predictions, followed by value for money and price communication.

Suggested Citation

  • Jelena Franjkovic & Ivana Fosic & Ana Zivkovic, 2025. "Application Of Machine Learning Algorithms in Predicting Customer Loyalty Towards Grocery Retailers," Business Management, D. A. Tsenov Academy of Economics, Svishtov, Bulgaria, issue 2 Year 20, pages 86-102.
  • Handle: RePEc:dat:bmngmt:y:2025:i:2:p:86-102
    as

    Download full text from publisher

    File URL: http://hdl.handle.net/10610/5185
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    JEL classification:

    • M30 - Business Administration and Business Economics; Marketing; Accounting; Personnel Economics - - Marketing and Advertising - - - General
    • C53 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Forecasting and Prediction Models; Simulation Methods

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:dat:bmngmt:y:2025:i:2:p:86-102. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Kostadin Bashev (email available below). General contact details of provider: https://edirc.repec.org/data/tsenobg.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.