som_hits - distance from the data sample to each map unit...

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_hits Purpose Calculate the response of the given data on the map. Syntax hits = som_hits(sMap, sData) hits = som_hits(M, D) hits = som_hits(. .., mode) Description Returns a vector indicating the response of the map to the data. The response of the data on the map can be calculated e.g. in three ways, selected with the mode argument: 'crisp' traditional hit histogram: how many times each map unit was the BMU for the data set 'kernel' a sum of neighborhood kernels, where a kernel is positioned on the BMU of each data sample. The neighborhood function is sMap.neigh and the neighborhood width is sMap.trainhist(end).radius_fin or 1 if this is not available 'fuzzy' fuzzy response calculated by summing 1 ------------ 1 + (q/a)^2 for each data sample, where q is a vector containing
Background image of page 1

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

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

Unformatted text preview: distance from the data sample to each map unit and a is average quantization error Required input arguments sMap The vectors from among which the BMUs are searched for. These must not have any unknown components (NaNs). (struct) map struct (matrix) codebook matrix, size munits x dim sData The data vector(s) for which the BMUs are searched. (struct) data struct (matrix) data matrix, size dlen x dim Optional input arguments mode (string) The respond mode: 'crisp' (default), 'kernel' or 'fuzzy'. 'kernel' can only be used if the first argument (sMap) is a map struct. Output arguments hits (vector) The number of hits in each map unit. Examples hits = som_hits(sM,D); hits = som_hits(sM,D,'kernel'); hits = som_hits(sM,D,'fuzzy'); See also som_bmus Find BMUs and quantization errors for a given data set....
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.

Page1 / 2

som_hits - distance from the data sample to each map unit...

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