Customer SCustomer Segmentation Using an Enhanced RFM–K-Means Framework on The Online Retail Datasetegmentation Using Enhanced K – Means Clustering

Authors

  • Isnandar Agus Institute Informatics and Business Darmajaya, Indonesia, Jln ZA Pagar Alam 93 A, Bandar Lampung and 35136, Indonesia
  • MS Hasibuan Institute Informatics and Business Darmajaya, Indonesia, Jln ZA Pagar Alam 93 A, Bandar Lampung and 35136, Indonesia

DOI:

https://doi.org/10.47738/ijiis.v8i4.289

Keywords:

Customer Segmentation, Online Retail Transactions, RFM Analysis, K-Means Clustering, Data Preprocessing, Cluster Optimization, Targeted Marketing, Retail Analytics

Abstract

Effective customer segmentation is crucial for online retailers to enhance marketing strategies and boost profitability. However, analyzing transactional data often reveals challenges, such as noisy records and incomplete temporal patterns, which hinder accurate customer profiling. This paper proposes a robust methodology combining RFM (Recency, Frequency, Monetary) analysis with enhanced K-means clustering to segment customers of a UK-based online retailer, using data from December 2010 to December 2011. We preprocess the data to handle anomalies, engineer RFM features, and optimize cluster selection using the Elbow Method and Davies-Bouldin score, identifying four distinct segments: Best Customers, Loyal Customers, Almost Lost, and Lost Cheap Customers. Results show a 5% improvement in segmentation accuracy compared to baseline methods, with actionable insights for targeted marketing. This approach not only advances customer segmentation techniques but also offers practical value for retail businesses aiming to improve customer retention and sales.

References

Doğan, O., & Ayçin, E. (2018). "Customer Segmentation by Using RFM Model and Clustering Methods: A Case Study in Retail Industry." International Journal of Contemporary Economics and Administrative Sciences, 8(1), 1-19.

Chen, D., Sain, S. L., & Guo, K. (2012). "Data Mining for the Online Retail Industry: A Case Study of RFM Model-Based Customer Segmentation Using Data Mining." Journal of Database Marketing & Customer Strategy Management, 19(3), 197-208.

Heldt, R., Silveira, C. S., & Luce, F. B. (2019). "Predicting Customer Value per Product: From RFM to RFM/P." Journal of Business Research, 3, 2019.

Song, M., Zhao, X., Haihong, E., & Ou, Z. (2017). "Statistics-Based CRM Approach via Time Series Segmenting RFM on Large Scale Data." Knowledge-Based Systems, 132, 282-291.

Griva, A., Bardaki, C., Pramatari, K., & Papakiriakopoulos, D. (2018). "Retail Business Analytics: Customer Visit Segmentation Using Market Basket Data." Expert Systems with Applications, 100, 1-16.

Christy, A. J., Umamakeswari, A., Priyatharsini, L., & Neyaa, A. (2018). "RFM Ranking – An Effective Approach to Customer Segmentation." Journal of King Saud University - Computer and Information Sciences, 32(10), 1215-1220.

Wu, J., et al. (2020). "An Empirical Study on Customer Segmentation by Purchase Behaviors Using a RFM Model and K-means Algorithm." Mathematical Problems in Engineering, 2020, 1-12.

Peker, S., Kocyigit, A., & Eren, P. E. (2017). "A Fuzzy Clustering Approach for Customer Segmentation in Retail Industry." Expert Systems with Applications, 81, 123-132.

Abbasimehr, H., & Shabani, M. (2021). "A Hierarchical Clustering Approach for Customer Segmentation Based on RFM Model." Journal of Retailing and Consumer Services, 59, 102345.

Deng, Y., & Gao, Q. (2020). "A Study on e-Commerce Customer Segmentation Based on Improved K-Means Algorithm." Information Systems and e-Business Management, 18(4), 497-510. [Retracted]

Punhani, A., et al. (2023). "An Exploration of Clustering Algorithms for Customer Segmentation in the UK Retail Market." Applied Sciences, 13(20), 11234.

Turkmen, B., & Soyadı, A. (2023). "Comparative Analysis of Clustering Algorithms for Customer Segmentation in Online Retail." Journal of Retailing and Consumer Services, 70, 103156.

Hicham, K., & Karim, A. (2022). "A Clustering Ensemble Method for Customer Segmentation in Retail." Data Mining and Knowledge Discovery, 36(3), 987-1012.

Hossain, M. (2021). "Customer Segmentation Using Spending Patterns with K-means and DBSCAN." Journal of Business Analytics, 4(2), 134-149.

Güçdemir, H., & Selim, H. (2015). "Integrating Multi-Criteria Decision Making and Clustering for Business Customer Segmentation." Industrial Management & Data Systems, 115(6), 1022-1040.

Mesforoush, A., & Tarokh, M. J. (2013). "Customer Profitability Segmentation for SMEs: A Case Study." International Journal of Research in Industrial Engineering, 2(1), 30-44.

Jiang, Y., et al. (2015). "Collaborative Fuzzy Clustering from Multiple Weighted Views." IEEE Transactions on Cybernetics, 45(4), 688-701.

Anitha, P., & Patil, M. M. (2019). "RFM Model for Customer Purchase Behavior Using K-Means Algorithm." Journal of King Saud University - Computer and Information Sciences, 34(4), 1785-1792.

Coussement, K., Van den Bossche, F. A. M., & De Bock, K. W. (2014). "Data Accuracy’s Impact on Segmentation Performance: Benchmarking RFM Analysis, Logistic Regression, and Decision Trees." Journal of Business Research, 67(1), 2751-2758.

Haider, A. A., et al. (2017). "Customer Segmentation by Web Content Mining with RFMT Model." Expert Systems with Applications, 87, 234-248.

Fernández-Delgado, M., et al. (2014). "Do We Need Hundreds of Classifiers to Solve Real World Classification Problems?" Journal of Machine Learning Research, 15(1), 3133-3181.

Ramaseshan, B., Stein, A., & Rabbanee, F. K. (2016). "Status Demotion in Hierarchical Loyalty Programs: Effects of Payment Source." The Service Industries Journal, 36(9), 375-395.

Mohammadian, M., & Makhani, I. (2016). "RFM-Based Customer Segmentation as an Elaborative Analytical Tool for Enriching Sales Strategies." International Academic Journal of Accounting and Financial Management, 3(6), 21-35.

Aryuni, M., Madyatmadja, E. D., & Miranda, E. (2021). "Customer Segmentation in XYZ Bank Using K-means and K-medoids Clustering." Journal of Information Systems, 17(2), 89-102.

Sands, S., & Ferraro, C. (2010). "Retailers’ Strategic Responses to Economic Downturn: Insights from Down Under." International Journal of Retail & Distribution Management, 38(8), 567-577.

Acar, S., et al. (2022). "Customer Segmentation Using RFM Model and Clustering Methods in Online Retail Industry." Lecture Notes in Networks and Systems, 307, 73-82.

Govindaraj, R., et al. (2025). "Enhancing Customer Segmentation: RFM Analysis and K-Means Clustering Implementation." Hybrid and Advanced Technologies, 2025, 1-15.

Khajvand, M., & Tarokh, M. J. (2011). "Estimating Customer Future Value of Different Customer Segments Based on Adapted RFM Model." African Journal of Business Management, 5(30), 11703-11712.

Liu, Y., et al. (2019). "Customer Segmentation Using Spectral Clustering with RFM Model." IEEE Access, 7, 145678-145689.

Dhandayudam, P., & Krishnamurthi, I. (2014). "Customer Segmentation Using Genetic Algorithm Based Clustering." International Journal of Business Information Systems, 17(2), 135-154.

Ballestar, M. T., Grau-Carles, P., & Sainz, J. (2018). "Customer Segmentation in e-Commerce: Applications to the Cashback Business Model." Journal of Business Research, 88, 407-414.

Kim, S., & Lee, J. (2020). "Deep Learning-Based Customer Segmentation Using RFM Analysis in Retail." Applied Artificial Intelligence, 34(11), 789-805.

Downloads

Published

2025-12-24

Issue

Section

Articles