{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

som_linkage - SOM Toolbox Online documentation...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
SOM Toolbox Online documentation http://www.cis.hut.fi/projects/somtoolbox/ som_linkage [Z,order,Md] = som_linkage(sM,varargin) SOM_LINKAGE Make a hierarchical linkage of the SOM map units. [Z,order,Dist] = som_linkage(sM, [[argID,] value, ...]) Z = som_linkage(sM); Z = som_linkage(D,'complete'); Z = som_linkage(sM,'single','ignore',find(~som_hits(sM,D))); Z = som_linkage(sM,pdist(sM.codebook,'mahal')); som_dendrogram(Z); Input and output arguments ([]'s are optional): sM (struct) map or data struct to be clustered (matrix) size dlen x dim, a data set: the matrix must not contain any NaN's! [argID, (string) See below. The values which are unambiguous can value] (varies) be given without the preceeding argID. Z (matrix) size dlen-1 x 3, the linkage info Z(i,1) and Z(i,2) hold the indeces of clusters combined on level i (starting from bottom). The new cluster has index dlen+i. The initial cluster index of each unit is its linear index in the original data matrix. Z(i,3) is the distance between the combined clusters. See LINKAGE function in the Statistics Toolbox.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}