perform_clustering function

Perform Hierarchical Clustering on Category A