From Data to Clusters; When is Your Clustering Good Enough?

<p>With unsupervised cluster analysis, we can group observations with similar patterns, and reveal (hidden) trends in the data. The use of cluster evaluation methods helps to determine the clustering tendency, quality, and optimal number of clusters.&nbsp;<strong>In this blog, we will dive into cluster evaluation methods, learn how to interpret the methods and select the appropriate clustering method for your use case.</strong>&nbsp;We will start by delving into the fundamentals of clustering and evaluation methods that are used to assess the quality of clusters, including popular techniques like the&nbsp;<em>Silhouette score</em>, the&nbsp;<em>Davies-Bouldin index</em>, and the&nbsp;<em>Derivative method</em>. With the use of toy example data sets, we will investigate the strengths and limitations of each evaluation method, providing practical insights on how to interpret their results. For all analyses, the&nbsp;<a href="https://erdogant.github.io/clusteval/" rel="noopener ugc nofollow" target="_blank"><em>clusteval library</em></a><em>&nbsp;</em>is used.</p> <h1>Unsupervised Clustering.</h1> <p>With unsupervised clustering, we aim to determine &ldquo;<em>natural</em>&rdquo; or &ldquo;<em>data-driven</em>&rdquo; groups in the data without using apriori knowledge about labels or categories. The challenge of using different unsupervised clustering methods is that it will result in different partitioning of the samples and thus different groupings since each method implicitly impose a structure on the data. Thus the question arises;&nbsp;<em>What is a &ldquo;good&rdquo; clustering?</em>&nbsp;Figure 1A depicts a set set of samples in a 2-dimensional space.&nbsp;<em>How many clusters do you see?</em>&nbsp;I would state that there are two clusters without using any label information.&nbsp;<em>Why?</em>&nbsp;Because of the small distances between the dots, and the relatively larger &ldquo;<em>gap</em>&rdquo; between the cluttered dots.</p> <p><a href="https://towardsdatascience.com/from-data-to-clusters-when-is-your-clustering-good-enough-5895440a978a">Website</a></p>