K Means Clustering, Hierarchical Clustering, Machine Learning, Dendrogram, Silhouette Score.
will merge it to 18. And then we remove this particular row and column here, so 18 is merged into 22 + 25 + 27. It looks something like this. 5th iteration Now you can see 15 is the only distance here. This is the final cluster after combining everything. Or else you can combine 18 + 22 + 25 + 27