Melola Discovery

← Melola Discovery

Open access Journal SINTA 2

K-Means Retail Product Sales Clustering via Elbow and Davies-Bouldin

IJCCS (Indonesian Journal of Computing and Cybernetics Systems) · Vol. 20 No. 4 (2026)

DOI
10.22146/ijccs.125921
ISSN
2460-7258, 1978-1520
Published
2026-10-31
Publisher
IndoCEISS in colaboration with Universitas Gadjah Mada, Indonesia.
Language
eng
License
creativecommons.org/licenses/by-sa/4.0

Abstract

The expansion of the retail business requires business operators to accurately group best-selling and slow-moving products in order to optimize inventory adjustment strategies. This study aims to cluster sales transaction data and determine the optimal number of clusters using the K-Means algorithm. A secondary dataset consisting of 7,373 transaction records was analyzed based on the attributes of transaction count and total sales. The best cluster number was determined using the Elbow method based on the Sum of Squared Errors and validated using the Davies-Bouldin Index. The test results show that both methods consistently produced an optimal number of clusters, k, equal to 4, with a Davies-Bouldin Index value of 0.47. This value indicates a very well-separated cluster structure. The final clustering resulted in four product performance categories: 2 “best-selling” products, 20 “selling well” products, 171 “moderately selling” products, and 7,180 “poorly selling” products. This evaluation demonstrates that the combination of K-Means, the Elbow method, and the Davies-Bouldin Index effectively provides data-driven insights to support inventory management decision-making in the retail business.

Keywords

Collaboration network of the authors

26 authors · 54 co-authorship links · 12 across different organisations

Hover or tap a name to highlight its co-authors. Double-click to open the author's page.

  • Institut Bisnis dan Teknologi Indonesia
  • Universitas Pendidikan Ganesha
  • Universitas Primakara
  • Okayama University
  • Politeknik Negeri Malang
  • Affiliation unknown
  • Different organisations
  • Same organisation
  • Affiliation unknown
  • Thicker line = more joint articles · bigger circle = more articles
Show as table
Co-authorOrganisationJoint articles
I Gede AdnyanaInstitut Bisnis dan Teknologi Indonesia1
I Nyoman Buda HartawanInstitut Bisnis dan Teknologi Indonesia1
Ni Wayan WardaniOkayama University1
Anak Agung Surya PradhanaInstitut Bisnis dan Teknologi Indonesia1
Kadek Suarjuna BatubulanPoliteknik Negeri Malang1
I Nyoman Darma KotamaInstitut Bisnis dan Teknologi Indonesia1
Desak Made Dwi Utami PutraInstitut Bisnis dan Teknologi Indonesia1
Anak Agung Gde EkayanaInstitut Bisnis dan Teknologi Indonesia1
Agus Rama PutraAffiliation unknown1
Agus Eka UdayanaAffiliation unknown1
A.A. Istri Ita ParamithaUniversitas Primakara1
I Made ArtanaUniversitas Primakara1
I Nyoman SukajayaUniversitas Pendidikan Ganesha1
Ida Bagus Nyoman PascimaUniversitas Pendidikan Ganesha1
I Made Agus WirawanUniversitas Pendidikan Ganesha1
I Made CandiasaUniversitas Pendidikan Ganesha1
Kadek Yota Ernanda AryantoUniversitas Pendidikan Ganesha1
I Nyoman Indhi WiradikaUniversitas Pendidikan Ganesha1
I Wayan Widi KarsanaAffiliation unknown1
Anak Agung Istri Ita ParamithaAffiliation unknown1

Affiliations come from OpenAlex; journal OAI-PMH metadata carries none. Authors without an OpenAlex ID are matched by name, which can merge or split people.

Metadata source: OAI-PMH (metadata jurnal) https://journal.ugm.ac.id/ijccs/oai, first harvested 22 Nov 2026, last seen 22 Nov 2026.
Original metadata (oai_dc)
<oai_dc:dc xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/  http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
	<dc:title xml:lang="en-US">K-Means Retail Product Sales Clustering via Elbow and Davies-Bouldin</dc:title>
	<dc:creator>Wardani, Ni Wayan</dc:creator>
	<dc:creator>Mahendra, Gede Surya</dc:creator>
	<dc:creator>Sugiartawan, Putu</dc:creator>
	<dc:creator>Kusuma, Aniek Suryanti</dc:creator>
	<dc:creator>Wiwik, Ni Luh</dc:creator>
	<dc:creator>Putra, Agus Suarya</dc:creator>
	<dc:subject xml:lang="en-US">Data Mining</dc:subject>
	<dc:subject xml:lang="en-US">Clustering, K-Means, Elbow Method, Davies-Bouldin Index</dc:subject>
	<dc:description xml:lang="en-US"> The expansion of the retail business requires business operators to accurately group best-selling and slow-moving products in order to optimize inventory adjustment strategies. This study aims to cluster sales transaction data and determine the optimal number of clusters using the K-Means algorithm. A secondary dataset consisting of 7,373 transaction records was analyzed based on the attributes of transaction count and total sales. The best cluster number was determined using the Elbow method based on the Sum of Squared Errors and validated using the Davies-Bouldin Index. The test results show that both methods consistently produced an optimal number of clusters, k, equal to 4, with a Davies-Bouldin Index value of 0.47. This value indicates a very well-separated cluster structure. The final clustering resulted in four product performance categories: 2 “best-selling” products, 20 “selling well” products, 171 “moderately selling” products, and 7,180 “poorly selling” products. This evaluation demonstrates that the combination of K-Means, the Elbow method, and the Davies-Bouldin Index effectively provides data-driven insights to support inventory management decision-making in the retail business.</dc:description>
	<dc:publisher xml:lang="en-US">IndoCEISS in colaboration with Universitas Gadjah Mada, Indonesia.</dc:publisher>
	<dc:contributor xml:lang="en-US"></dc:contributor>
	<dc:date>2026-10-31</dc:date>
	<dc:type>info:eu-repo/semantics/article</dc:type>
	<dc:type>info:eu-repo/semantics/publishedVersion</dc:type>
	<dc:type xml:lang="en-US"></dc:type>
	<dc:format>application/pdf</dc:format>
	<dc:identifier>https://journal.ugm.ac.id/ijccs/article/view/125921</dc:identifier>
	<dc:identifier>10.22146/ijccs.125921</dc:identifier>
	<dc:source xml:lang="en-US">IJCCS (Indonesian Journal of Computing and Cybernetics Systems); Vol 20, No 4 (2026): October</dc:source>
	<dc:source>2460-7258</dc:source>
	<dc:source>1978-1520</dc:source>
	<dc:language>eng</dc:language>
	<dc:relation>https://journal.ugm.ac.id/ijccs/article/view/125921/45926</dc:relation>
	<dc:rights xml:lang="en-US">Copyright (c) 2026 IJCCS (Indonesian Journal of Computing and Cybernetics Systems)</dc:rights>
	<dc:rights xml:lang="en-US">http://creativecommons.org/licenses/by-sa/4.0</dc:rights>
</oai_dc:dc>