Customer Transaction Clustering with K-Prototype Algorithm Using Euclidean-Hamming Distance and Elbow Method

This study aims to cluster customer transactions in a Japanese food stall using the K-Prototype Algorithm with a combination of Euclidean-Hamming Distance and the Elbow method. Facing intense industry competition, this study seeks to understand customer purchasing behavior to increase loyalty and sales. From 9.721 initial entries, 9.705 cleaned and transformed records were analyzed. K-Prototype was chosen because of its ability to handle numeric features (Total Sales, Product Quantity) and categorical features (Payment Method, Order Type, Day Category and Time Category). The combination of Euclidean-Hamming distances was used for distance measurement. The optimal number of clusters was determined using the Elbow method, with the results recommending three clusters as the most optimal number. A Silhouette score of 0.6191 indicates a Good Structure clustering result, effectively identifying three distinct customer grouping: "Loyal Regulars" (49.5%), "Casual Shoppers" (42.3%), and "Premium Shoppers" (8.2%). Statistical validity was also tested using ANOVA and Chi-Square, the results showed significant differences between the clusters in numerical and categorical variables with a p-value <0.0001. The clusters are statistically valid in both numerical and categorical aspects. These insights provide an understanding of customer characteristics and reveal a strategically valuable cluster for targeted marketing.

Authors

Institutions

Publication Details

Journal
International Journal of Advances in Data and Information Systems
Published
2025-06-13
DOI
https://doi.org/10.59395/ijadis.v6i2.1381
Citations
1
Primary Topic
Customer churn and segmentation
Type
article
Field-Weighted Citation Impact
2.07
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Customer Transaction Clustering with K-Prototype Algorithm Using Euclidean-Hamming Distance and Elbow Method

Dwi Arman Prasetya, Wan Suryani Wan Awang, Trimono Trimono, I Gede Susrama Mas Diyasa et al.
1 citations
International Journal of Advances in Data and Information Systems
Customer churn and segmentation
2.07
article

Customer Transaction Clustering with K-Prototype Algorithm Using Euclidean-Hamming Distance and Elbow Method

Dwi Arman Prasetya, Wan Suryani Wan Awang, Trimono Trimono, I Gede Susrama Mas Diyasa, Dendy Arizki Kuswardana
article en
1 citations

Abstract

This study aims to cluster customer transactions in a Japanese food stall using the K-Prototype Algorithm with a combination of Euclidean-Hamming Distance and the Elbow method. Facing intense industry competition, this study seeks to understand customer purchasing behavior to increase loyalty and sales. From 9.721 initial entries, 9.705 cleaned and transformed records were analyzed. K-Prototype was chosen because of its ability to handle numeric features (Total Sales, Product Quantity) and categorical features (Payment Method, Order Type, Day Category and Time Category). The combination of Euclidean-Hamming distances was used for distance measurement. The optimal number of clusters was determined using the Elbow method, with the results recommending three clusters as the most optimal number. A Silhouette score of 0.6191 indicates a Good Structure clustering result, effectively identifying three distinct customer grouping: "Loyal Regulars" (49.5%), "Casual Shoppers" (42.3%), and "Premium Shoppers" (8.2%). Statistical validity was also tested using ANOVA and Chi-Square, the results showed significant differences between the clusters in numerical and categorical variables with a p-value <0.0001. The clusters are statistically valid in both numerical and categorical aspects. These insights provide an understanding of customer characteristics and reveal a strategically valuable cluster for targeted marketing.

International Journal of Advances in Data and Information SystemsVol. 6(2)
University of Pembangunan Nasional Veteran Jawa Timur (ID), Sultan Zainal Abidin University (MY)
Openalex Percentile: Top 12%
Customer churn and segmentation
2.07
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Customer Transaction Clustering with K-Prototype Algorithm Using Euclidean-Hamming Distance and Elbow Method — Dwi Arman Prasetya, Wan Suryani Wan Awang, et al. · International Journal of Advances in Data and Information Systems (2025) | TGRS Research Map | TGRS