som_bmus - 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_bmus Purpose Finds Best-Matching Units (BMUs) for given data vector from a given map. Syntax Bmus = som_bmus(sMap, sData) Bmus = som_bmus(. .., which) Bmus = som_bmus(. .., which, mask) [Bmus, Qerrs] = som_bmus(. ..) Description Returns the indexes and corresponding quantization errors of the vectors in sMap that best matched the vectors in sData. By default only the index of the best matching unit (/vector) is returned, but the 'which' argument can be used to get others as well. For example it might be desirable to get also second- and third-best matching units as well (which = [1:3]). A mask can be used to weight the search process. The mask is used to weight the influence of components in the distance calculation, as follows: distance(x,y) = (x-y)' diag(mask) (x-y) where x and y are two vectors, and diag(mask) is a diagonal matrix with the elements of mask vector on the diagonal. The vectors in the data set (sData) can contain unknown components
Background image of page 1

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

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

Page1 / 2

som_bmus - SOM Toolbox Online documentation

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online