ml-glossary icon indicating copy to clipboard operation
ml-glossary copied to clipboard

Hierarchical Clustering Algorithm

Open panchiwalashivani opened this issue 4 years ago • 4 comments

Introduction to Hierarchical Clustering Hierarchical clustering is another unsupervised learning algorithm that is used to group the unlabeled data points having similar characteristics. Hierarchical clustering algorithms fall into the following two categories.

Agglomerative hierarchical algorithms − In agglomerative hierarchical algorithms, each data point is treated as a single cluster and then successively merge or agglomerate (bottom-up approach) the pairs of clusters. The hierarchy of the clusters is represented as a dendrogram or tree structure.

Divisive hierarchical algorithms − On the other hand, in divisive hierarchical algorithms, all the data points are treated as one big cluster and the process of clustering involves dividing (Top-down approach) the one big cluster into various small clusters.

Steps to Perform Agglomerative Hierarchical Clustering We are going to explain the most used and important Hierarchical clustering i.e. agglomerative. The steps to perform the same is as follows −

Step 1 − Treat each data point as single cluster. Hence, we will be having, say K clusters at start. The number of data points will also be K at start.

Step 2 − Now, in this step, we need to form a big cluster by joining two closet datapoints. This will result in a total of K-1 clusters.

Step 3 − Now, to form more clusters we need to join two closet clusters. This will result in a total of K-2 clusters.

Step 4 − Now, to form one big cluster repeat the above three steps until K would become 0 i.e. no more data points left to join.

Step 5 − At last, after making one single big cluster, dendrograms will be used to divide into multiple clusters depending upon the problem.

panchiwalashivani avatar Oct 27 '20 09:10 panchiwalashivani

Can you write your content in .rst / markdown?

bfortuner avatar Nov 05 '20 23:11 bfortuner

Cool, would you mind pushing those files to this branch using git? Thanks!

bfortuner avatar Dec 24 '20 18:12 bfortuner

Yes, I would like to merge this file in yr master branch. Thanks!!

panchiwalashivani avatar Dec 27 '20 05:12 panchiwalashivani