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

Info iconThis preview shows page 1. 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_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):
Background image of page 1
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

This note was uploaded on 05/23/2010 for the course CS 245 taught by Professor Dunno during the Spring '10 term at Aarhus Universitet.

Ask a homework question - tutors are online