Solved – what are some clustering algorithms that work with cosine similarity as distance measure

clusteringcosine similaritydatasetmachine learningtext mining

I am trying to find clustering algorithms which can work with cosine similarity for tweet classification.

Best Answer

Spherical k-means is the classical example. But really, any clustering algorithm that can take an arbitrary distance measure should be applicable, including DBSCAN; E.g., SciKit-Learn's implementation lets you choose the distance metric for DBSCAN, where you can plug in cosine similarity [1].

[1] http://scikit-learn.org/stable/modules/generated/sklearn.cluster.DBSCAN.html