Perbandingan Algoritma K-Means dan Agglomerative Clustering pada Produk Kecantikan E-commerce Kosmetik
Clustering beauty products on cosmetic e-commerce platforms is a crucial step toward understanding product characteristics and user interaction behavior. This study compares the performance of K-Means Clustering and Agglomerative Clustering algorithms in grouping beauty products based on features such as ratings, review counts, user recommendations, wishlist additions, and price ranges. The analysis process includes data pre-processing—specifically data cleaning, feature selection, outlier handling via the IQR Clipping method, and scaling using RobustScaler. The optimal number of clusters was determined by combining the Elbow Method for an initial estimate with the Silhouette Score for cluster quality validation. Evaluation results indicate that both algorithms reach their optimal configuration at three clusters. However, K-Means achieved a higher Silhouette Score (0.6252) compared to Agglomerative Clustering (0.5934). Furthermore, K-Means yielded a lower Davies-Bouldin Index (DBI) of 0.5233, versus 0.5423 for Agglomerative Clustering. Visualizations using Principal Component Analysis (PCA) further demonstrate that the clusters generated by K-Means exhibit clearer and more consistent separation. Based primarily on the Silhouette Score and PCA visualizations supported by the Davies-Bouldin Index these findings suggest that K-Means is better suited for clustering beauty products on cosmetic e-commerce platforms.
Authors
- Anggraini Puspita Sari (ORCID: https://orcid.org/0009-0008-4343-7882)
- Natasya Meryl Damayanti
- Dea Rajwa Zahra Athaya
- Imelda Dwi Ariningtyas
Institutions
- University of Pembangunan Nasional Veteran Jawa Timur (ID)
Publication Details
- Journal
- JUSIFOR Jurnal Sistem Informasi dan Informatika
- Published
- 2026-12-01
- DOI
- https://doi.org/10.70609/jusifor.v5i2.10223
- Primary Topic
- Data Mining and Machine Learning Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00