JSAI (Journal Scientific and Applied Informatics)
Vol 9 No 3 (2026): November

Implementasi Algoritma K-Means dan Analisis RFM untuk Segmentasi Pelanggan pada Industri Ritel

Alif Nanda Pangestu (Universitas Teknologi Yogyakarta)
Anita Fira Waluyo (Universitas Teknologi Yogyakarta)



Article Info

Publish Date
22 Nov 2026

Abstract

This study develops customer segmentation using Recency, Frequency, and Monetary (RFM) analysis with the K-Means algorithm, integrated into a web-based CRM dashboard prototype for Millionaires Scent Project. Data were obtained from the point-of-sale system, comprising 554 initial transaction records. After preprocessing, 440 valid transactions from 43 unique customers were analyzed. The number of clusters was evaluated using Sum of Squared Errors, Silhouette Score, and Davies-Bouldin Index for K values from 2 to 10. K=3 was selected by considering the SSE elbow, cluster separation, and operational interpretability, yielding a Silhouette Score of 0.6013. The resulting segments consisted of 5 loyal customers (11.6%), 14 potential customers (32.6%), and 24 customers with churn-risk indicators (55.8%). The dashboard prototype presents segment characteristics to support marketing decisions. These percentages describe customer distribution, not classification accuracy. Accuracy, precision, and recall were not calculated because no ground-truth class labels were available. The findings indicate that integrating RFM, K-Means, and a web dashboard can support customer analysis in the studied retail business context.

Copyrights © 2026






Journal Info

Abbrev

JSAI

Publisher

Subject

Computer Science & IT

Description

Jurnal terbitan dibawah fakultas teknik universitas muhammadiyah bengkulu. Pada jurnal ini akan membahas tema tentag Mobile, Animasi, Computer Vision, dan Networking yang merupakan jurnal berbasis science pada informatika, beserta penelitian yang berkaitan dengan implementasi metode dan atau ...