Customer Segmentation using WRFM-Based Feature Representation with K-Means and PCA

Authors

  • Sumpunt Khongmark Department of Computer and Informatics for Management, Faculty of Communication Sciences, Prince of Songkla University
  • Daranat Tansui Department of Computer and Informatics for Management, Faculty of Communication Sciences, Prince of Songkla University

Keywords:

Customer Segmentation, Weighted RFM (WRFM), Entropy-Based Weighting, Principal Component Analysis, K-Means Clustering

Abstract

This study investigates customer segmentation using a Weighted Recency, Frequency, and Monetary (WRFM)-based feature representation combined with Principal Component Analysis (PCA) and K-Means clustering. A dataset consisting of 286 transactions from 100 customers was transformed into RFM variables and normalized using Min–Max scaling to ensure comparability. Entropy-based weighting was then applied to construct WRFM features, providing a balanced representation of customer behavior. PCA was employed to reduce dimensionality and eliminate redundant information prior to clustering. Four clustering methods—K-Means, PCA-enhanced K-Means, Gaussian Mixture Model (GMM), and Hierarchical Clustering—were evaluated using Silhouette Score, Calinski–Harabasz Index, and Davies–Bouldin Index. The results indicate that PCA-enhanced K-Means achieved the best performance (Silhouette = 0.473, Calinski–Harabasz = 144.817, Davies–Bouldin = 0.725), demonstrating improved cluster compactness and separation. The findings show that combining WRFM-based features with PCA effectively reduces bias and improves clustering quality. The segmentation results identify four distinct customer groups, including high-value loyal customers, potential customers, moderate customers, and at-risk customers. These insights support targeted marketing strategies such as retention programs, personalized promotions, and customer relationship management. This study does not propose a new clustering model but focuses on empirical evaluation and applied validation of existing techniques. The approach is scalable and applicable to other domains involving multidimensional customer data.

References

Abdulhafedh, A. (2021). Incorporating K-means, hierarchical clustering and PCA in customer segmentation. Journal of City and Development, 3(1), 12–30.

Aliyev, M., Ahmadov, E., Gadirli, H., Mammadova, A., & Alasgarov, E. (2020). Segmenting bank customers via RFM model and unsupervised machine learning. arXiv. https://arxiv.org/abs/2008.08662

Anitha, P., & Patil, M. M. (2022). RFM model for customer purchase behavior using K-Means algorithm. Journal of King Saud University - Computer and Information Sciences, 34(5), 1785–1792.

Dessureault, J.-S., & Massicotte, D. (2021). Feature selection or extraction decision process for clustering using PCA and FRSD. arXiv. https://arxiv.org/abs/2111.10492

Jain, A. K. (2010). Data clustering: 50 years beyond K-means. Pattern Recognition Letters, 31(8), 651–666.

John, J. M., Shobayo, O., & Ogunleye, B. (2023). An exploration of clustering algorithms for customer segmentation in the UK retail market. Analytics, 2(4), 809–823. https://doi.org/10.3390/analytics2040042

Jolliffe, I. T., & Cadima, J. (2016). Principal component analysis: A review and recent developments. Philosophical Transactions. Series A, Mathematical, Physical, and Engineering Sciences, 374(2065), Article 20150202. https://doi.org/10.1098/rsta.2015.0202

MacQueen, J. (1967). Some methods for classification and analysis of multivariate observations. In Proceedings of the Fifth Berkeley Symposium on Mathematical Statistics and Probability (Vol. 1, pp. 281–297). University of California Press.

Madhiraju, B., Reddy, S., & Sasikala, G. (2024). Customer segmentation using RFM analysis. EPRA International Journal of Economic and Business Review, 12(7), 15-22.

Patibandla, K. K., Daruvuri, R., & Mannem, P. (2025). Enhancing online retail insights: K-Means clustering and PCA for customer segmentation. In 2025 3rd International Conference on Advancement in Computation & Computer Technologies (InCACCT) (pp. 388–393). IEEE. https://ieeexplore.ieee.org/document/11011448

Qu, W., Li, J., Song, W., Li, X., Zhao, Y., Dong, H., Wang, Y., Zhao, Q., & Qi, Y. (2022). Entropy-weight-method-based integrated models for short-term intersection traffic flow prediction. Entropy, 24(7), Article 849. https://doi.org/10.3390/e24070849

Smaili, M. Y., & Hachimi, H. (2023). New RFM-D classification model for improving customer analysis and response prediction. Ain Shams Engineering Journal, 14(12), Article 102254. https://doi.org/10.1016/j.asej.2023.102254

Syahra, Y., Fadlil, A., & Yuliansyah, H. (2025). Customer segmentation using RFM and K-Means clustering to support CRM in retail industry. Sinkron: Jurnal dan Penelitian Teknik Informatika, 9(3), 1120-1131. https://doi.org/10.33395/sinkron.v9i3.14907

Tripathi, S., Bachmann, N., Brunner, M., Tuezuen, A., Thienemann, A.-K., Pöchtrager, S., & Jodlbauer, H. (2025). Evaluation of clustering with PCA for market segmentation: A study using simulated and surrogate data. Procedia Computer Science, 253, 2063-2075. https://doi.org/10.1016/j.procs.2025.01.267

Vianna Filho, A. L. C., de Lima, L., & Kleina, M. (2025). A graph-based approach to customer segmentation using the RFM model. arXiv. https://arxiv.org/abs/2505.08136

Wang, G. (2025). Customer segmentation in the digital marketing using a Q-learning based differential evolution algorithm integrated with K-means clustering. PLOS ONE, 20(2), e0318519. https://doi.org/10.1371/journal.pone.0318519

Wang, S., Sun, L., & Yu, Y. (2024). A dynamic customer segmentation approach by combining LRFMS and multivariate time series clustering. Scientific Reports, 14, 17491.

Wong, C.-G., Tong, G.-K., & Haw, S.-C. (2024). Exploring customer segmentation in e-commerce using RFM analysis with clustering techniques. Journal of Telecommunications and the Digital Economy, 12(3), 97–125. https://search.informit.org/doi/10.3316/informit.T2024102400007590180439661

Zheng, Y., Gan, W., Chen, Z., Zhou, P., & Fournier-Viger, P. (2024). SeqRFM: Fast RFM analysis in sequence data. arXiv. https://arxiv.org/abs/2411.05317

Downloads

Published

2026-06-26

How to Cite

Khongmark, S., & Tansui, D. (2026). Customer Segmentation using WRFM-Based Feature Representation with K-Means and PCA. Journal of Multidisciplinary Academic Research and Development (JMARD), 8(2), 41–71. retrieved from https://he02.tci-thaijo.org/index.php/JMARD/article/view/278038