Teknik: Jurnal Teknik Mesin, Elektro dan Ilmu Komputer
Vol. 6 No. 3 (2026): November : Jurnal Teknik Mesin, Elektro dan Ilmu Komputer

Implementasi Metode K-Means Clustering dalam Pengelompokan Produk E-Commerce Berdasarkan Data Penjualan untuk Strategi Awal Bisnis Online

Muhamad Amir Rudin Yusup (Universitas Pamulang)
Niki Ratama (Unknown)



Article Info

Publish Date
19 Nov 2026

Abstract

The rapid growth of marketplaces in Indonesia has generated a massive volume of sales data; however, many new business owners struggle to turn this data into effective business strategies. This research implements the K-Means Clustering algorithm to group marketplace products based on sales data in order to support early online business strategies. The research follows the Cross-Industry Standard Process for Data Mining (CRISP-DM). Data were collected by web scraping the football shoes (sepatu bola) category on the Tokopedia marketplace, yielding 1,000 product records. Preprocessing consisted of data validation, data cleaning, conversion of attributes into numeric form, selection of three attributes (price, rating, and units sold), and Z-score normalization so that no attribute dominates the Euclidean distance. The optimal number of clusters was determined by testing K = 1–10 with the elbow method and the Silhouette Score; the elbow method narrowed the candidates to K = 4–5, and K = 5 produced the highest Silhouette Score of 0.474, indicating fair clustering quality. Each cluster was profiled by its average price, rating, and units sold, and then mapped to a sales strategy, such as stock and promotion priority for best-selling products, quality positioning for premium products, and evaluation for low-selling or low-rated products. The system was built with Python, Flask, and MySQL, and all nine black box test scenarios were passed. The system helps business owners segment products automatically and make data-driven sales decisions.

Copyrights © 2026






Journal Info

Abbrev

teknik

Publisher

Subject

Description

Teknik: Jurnal Teknik Mesin, Elektro dan Ilmu Komputer diterbitkan Pusat Riset dan Inovasi Nasional, terbit setahun Tiga kali (Maret, Juli dan November) menerapkan proses peer-review dalam memilih artikel berkualitas berdasarkan penelitian ilmiah dan teoritis. Ruang lingkup Jurnal Teknik meliputi ...