Agglomerative clustering
June 29, 2017
9:26 p.m.
I have some data and also the pairwise distance matrix of these data points. I want to cluster them using Agglomerative clustering. I readthat in sklearn, we can have 'precomputed' as affinity and I expect it is the distance matrix. But I could not find any example which uses precomputed affinity and a custom distance matrix. Any help will be highly appreciated. Best, -Noushin
June 2017
3:54 p.m.
You can have a look at the test named "test_agglomerative_clustering" in: https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/cluster/tes... -- Olivier
3130
Age (days ago)
3131
Last active (days ago)
1 comments
2 participants
participants (2)
-
Ariani A -
Olivier Grisel