This preview shows page 1. Sign up to view the full content.
Unformatted text preview: initial RGB values of units belonging to the same class. Function has two syntaxes: * If first argument gives the map topology, i.e. is map or topol struct or cell indicating the topology, the initial color coding of the units may be given by a string ('rgb1','rgb2','rgb3','rgb4', or 'hsv') which describe a predefined coloring scheme. (see SOM_COLORCODE). or an initial color matrix of size Mx3 with RGB triplets as rows. * Another possibility is to give just the classification vector of size Mx1 and an initial color matrix of size Mx3 with RGB triplets as rows. EXAMPLE (requires Matlab Statistics Toolbox) % Do a 10-cluster single linkage hierachical clustering for SOM units class=cluster(linkage(pdist(sM.codebook),'single'),10); % Color code the clusters C=som_clustercolor(sM, class, 'rgb2'); % Visualize som_show(sM,'color',C); See also SOM_COLORCODE, SOM_KMEANSCOLOR, SOM_CPLANE, SOM_SHOW [ 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.
- Spring '10
- Machine Learning