[scikit-learn] Agglomerative clustering

Ariani A b.noushin7 at gmail.com
Thu Jun 29 17:26:37 EDT 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20170629/665bdbc2/attachment.html>


More information about the scikit-learn mailing list