MethodsX (Jan 2023)

A medoid-based deviation ratio index to determine the number of clusters in a dataset

  • Kariyam,
  • Abdurakhman,
  • Adhitya Ronnie Effendie

Journal volume & issue
Vol. 10
p. 102084

Abstract

Read online

Most existing methods of determining the number of groups apply to particular data types or are calculated based on the distance matrix for all object pairs. In this paper, we propose a medoid-based Deviation Ratio Index (DRI) to determine the number of clusters. The DRI is calculated based on the distance matrix for each object to k final medoids. These final medoids are produced by the block-based k-medoids algorithm (BlockD-KM). We choose a specific transformation and a suitable distance for certain variables before executing the BlockD-KM. We illustrated the detailed stages of DRI on secondary data in the 2022 environmental index of Asia Pacific countries, so that they are easy to reproduce. We use eight real datasets, namely Breast Cancer, Heart Disease, Iris, Wine, Soybean, Ionosphere, Vote, and Credit Approval data, to validate the DRI method. We compare the DRI method with the Calinski-Harabaz (CH) and the Silhouette index. The experimental results show that the DRI is 100% correct in predicting the number of clusters. While the CH index correctly predicts 62.5% and the Silhouette index of 75%. We also generated three kinds of artificial data to evaluate the proposed method, and 76.7% of the experiments were predicted correctly. • The medoid-based deviation ratio index aids the researcher in determining the number of clusters • The DRI method applicable to any medoids-based partitioning algorithm • This method is suitable for all data types (categorical, numerical, and mixed)

Keywords