Hybrid Evolutionary Clustering for Streaming Data in Real Time E-Commerce Applications
DOI:
https://doi.org/10.36526/ztr.v8i3.9433Keywords:
Hybrid Evolutionary Clustering, Stream Clustering, Real Time Data Analysis, Concept Drift, E-Commerce AnalyticsAbstract
Customer behaviour in e-commerce changes continuously, so segmentation models built on transaction streams must be updated without reprocessing the full history. This study proposes Hybrid Evolutionary Clustering (HEC), a CluStream-based framework in which the offline macro-clustering phase is re-optimised only when concept drift is detected. In the online phase, CluStream summarises incoming customer profiles into micro-clusters. A two-sample Kolmogorov–Smirnov test compares each new window with a reference window; when drift is flagged, Particle Swarm Optimization (PSO) selects the number of clusters between 2 and 10 using the Silhouette score of the micro-cluster centres, and a Genetic Algorithm (GA) then refines the resulting centroids by minimising a weighted Davies–Bouldin index over the micro-clusters. HEC was evaluated on the UCI Online Retail II dataset (779,425 transaction lines after cleaning), replayed as a simulated real-time stream of 77 windows, against K-Means, MiniBatch K-Means, DBSCAN, CluStream and two ablated variants. HEC obtained a mean Silhouette score of 0.442 ± 0.109, compared with 0.229–0.309 for the baselines (Friedman p < 0.001; Wilcoxon–Holm p < 0.001 in every pairwise comparison). Its Davies–Bouldin index (1.102 ± 0.279) was significantly lower than that of CluStream and MiniBatch K-Means and statistically comparable to that of batch K-Means. Neither PSO nor GA alone improved on CluStream; the gain appeared only when both were combined. Drift was detected in 14 windows, and the selected number of clusters varied between two and five. The median latency per window was 0.042 s, which did not differ significantly from that of CluStream.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Rito Cipta Sigitta H., Rina Arifiani, Sri Hartati, Reno Arkan Pratama, Rizki Noor Prasetyono

This work is licensed under a Creative Commons Attribution 4.0 International License.











