{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

som_eucdist2

# som_eucdist2 - D(matrix size Nxd(struct map or data struct...

This preview shows page 1. Sign up to view the full content.

SOM Toolbox Online documentation http://www.cis.hut.fi/projects/somtoolbox/ som_eucdist2 d=som_eucdist2(Data, Proto) SOM_EUCDIST2 Calculates matrix of squared euclidean distances between set of vectors or map, data struct d=som_eucdist2(D, P) d=som_eucdist(sMap, sData); d=som_eucdist(sData, sMap); d=som_eucdist(sMap1, sMap2); d=som_eucdist(datamatrix1, datamatrix2); Input and output arguments ([]'s are optional):
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: D (matrix) size Nxd (struct) map or data struct P (matrix) size Pxd (struct) map or data struct d (matrix) distance matrix of size NxP IMPORTANT * Calculates _squared_ euclidean distances * Observe that the mask in the map struct is not taken into account while calculating the euclidean distance See also KNN, PDIST. [ SOM Toolbox online doc ]...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online