This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full 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.
- Spring '10
- Machine Learning