Solved – Does any other clustering algorithms take correlation as distance metric (apart from Hierachical)

clusteringdbscanhierarchical clusteringpython

I have used correlation metric as distance measure for hierachical clustering and obtained the clusters. I used scikit (python 3.5) for clustering hierachical cluster.

Now, I want to use another clustering algorithm with same dataset.

I am not sure whether any other clustering algorithms will take correlation as distance metric.

I request you to assist with which algorithms are feasible for this ? and How can I use it.

Best Answer

From scikit-learn, any clustering that can work with "precomputed" distances should work. For example, Affinity Propagation or DBSCAN.

(To be clear, you have to first calculate the pairwise distance matrix between your data points and then use this matrix as input)