Plot distance matrix, two dendrograms and color bar: save the figure (.png)
It is necessary to calculate the pairwise distances between all elements.
There are routines for agglomerative clustering:
(1) average linkage: it will be the mean of the distances of the joining clusters weighted by the number of elements each cluster holds. Disadvantages: Average-link clustering may cause elongated clusters to split and for portions of neighboring elongated clusters to merge.
(2) centroid linkage: each cluster is defined by its centroid: a data point that represents all the points included in the cluster.
connectivity_matrix: Matrice de connectivité ( entrée )
transpose: Booléen ( input )
linkage_method_X: Choice ( input )
linkage_method_Y: Choice ( input )
outdir: Répertoire ( entrée )
Toolbox : Constellation
Niveau d'utilisateur : 2
Identifiant :
dendrogram
Nom de fichier :
brainvisa/toolboxes/constellation/processes/clustering_evaluation/clustering_techniques/dendrogram.py
Supported file formats :
connectivity_matrix :GIS image, GIS imageoutdir :Répertoire, Répertoire