Categories

Jan 2 in Data Science
Q: How will you define the number of clusters in a clustering algorithm?

1 Answer

Jan 2

Though the Clustering Algorithm is not specified, this question is mostly in reference to K-Means clustering where “K” defines the number of clusters. The objective of clustering is to group similar entities in a way that the entities within a group are similar to each other but the groups are different from each other.

For example, the following image shows three different groups. 

 Within Sum of squares is generally used to explain the homogeneity within a cluster. If you plot WSS for a range of number of clusters, you will get the plot shown below.

 

The Graph is generally known as Elbow Curve.

Red circled a point in above graph i.e. Number of Cluster =6 is the point after which you don’t see any decrement in WSS.

This point is known as the bending point and taken as K in K – Means.

This is the widely used approach but few data scientists also use Hierarchical clustering first to create dendrograms and identify the distinct groups from there.

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

Madanswer
Nov 29, 2019 in Machine Learning
Jul 28, 2019 in R Language
Feb 6 in Data Science
...