⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 som_clset.html

📁 Kohonen的SOM软件包
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"><html><head><title>SOM Toolbox / som_clset </title></head><body bgcolor=#f0f0f0><table border=0 width="100%" cellpadding=0 cellspacing=0><tr><td valign=baseline><font size=+2>SOM Toolbox</font></td><td valign=baseline align=center><a href="somtoolbox.html">Online documentation</td><td valign=baseline align=right><a href="http://www.cis.hut.fi/projects/somtoolbox/" target="_top">http://www.cis.hut.fi/projects/somtoolbox/</a></td></tr></table><hr><H1> som_clset </H1><P><B> [sC,old2new,newi] = som_clset(sC,action,par1,par2)
</B></P><PRE> SOM_CLSET Create and/or set values in the som_clustering struct.

   first argument
     sC       (struct) a som_clustering struct
     Z        (matrix) size nb-1 x 3, as given by LINKAGE function
     base     (vector) size dlen x 1, a partitioning of the data

   actions    
     'remove'           removes the indicated clusters (par1: vector)
     'add'              add a cluster by making a combination of the indicated
                        clusters (par1: vector)
     %'move'             moves a child cluster (par1: scalar) from a parent to another
     %                   (par2: vector 1 x 2)
     'merge'            like 'add', followed by removing the indicated clusters (par1: vector)
     %'split'            the indicated cluster (par1: scalar) is partitioned into indicated
     %                   parts (par2: vector), which are then added, while the indicated cluster
     %                   (par1) is removed
     'coord'            sets the coordinates of base clusters (par1: matrix nb x *), and 
                        recalculates coordinates of the derived clusters (by averaging base cluster
                        coordinates)
     'color'            sets the colors of base clusters (par1: matrix nb x 3), and recalculates
                        colors of the derived clusters (as averages of base cluster colors)
                        
   sC
     .type     (string) 'som_clustering'
     .name     (string) Identifier for the clustering.
     .nb       (scalar) Number of base clusters in the clustering.
     .base     (vector) Size dlen x 1, the basic groups of data 
                        forming the base clusters, e.g. as a result 
                        of partitive clustering. Allowed values are 
                         1:nb   indicating the base cluster
                                to which the data belongs to. 
                         NaN    indicating that the data has
                                been ignored in the clustering                        
     .nc       (scalar) Number of clusters in the clustering (nb + derived clusters).
     .children (cellarray) size nc x 1, each cell gives the list of indeces
                        of child clusters for the cluster
     .parent   (vector) size nc x 1, the index of parent of each cluster 
                        (or zero if the cluster does not have a parent)
     .coord    (matrix) size nc x *, visualization coordinates for each cluster
                        By default the coordinates are set so that 
                        the base clusters are ordered on a line, and the
                        position of each combined cluster is average of 
                        the base clusters that constitute it.
     .color    (matrix) size nc x 3, color for each cluster. 
                        By default the colors are set so that the 
                        base clusters are ordered on a line,
                        and then colors are assigned from the 'hsv' 
                        colormap to the base clusters. The color
                        of each combined cluster is average as above.
     .cldist   (string) Default cluster distance function.
</PRE><p><hr><br><center>[ <a href="somtoolbox.html">SOM Toolbox online doc</a> ]</center><br><!-- Last updated: May 30 2002 --></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -