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

📄 som_topol_struct.html

📁 Kohonen的SOM软件包
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"><html><head><title>SOM Toolbox / som_topol_struct </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_topol_struct </H1><H3> Purpose </H3><PRE> Default values for map topology and training parameters.</PRE><H3> Syntax </H3><UL><PRE>  sT = som_topol_struct('argID',value,...);  sT = som_topol_struct(value,...);</PRE></UL><H3> Description </H3><PRE> This function is used to give sensible values for map topology (ie. map size). The topology struct is returned.  The topology struct has three fields: '.msize', '.lattice' and '.shape'. Of these, default value for '.lattice' is 'hexa' and for '.shape' 'sheet'. Only the '.msize' field depends on the optional arguments: 'dlen', 'munits' and 'data'.  The value for '.msize' field is determined as follows. First, the number of map units is determined (unless it is given). A heuristic formula of 'munits = 5*sqrt(dlen)' is used to calculate it. After this, the map size is determined. Basically, the two biggest eigenvalues of the training data are calculated and the ratio between sidelengths of the map grid is set to the square root of this ratio. The actual sidelengths are then set so that their product is as close to the desired number of map units as possible. If the lattice of the grid is 'hexa', the ratio is modified a bit to take it into account. If the lattice is 'hexa' and shape is 'toroid', the map size along the first axis must be even.</PRE><H3> Optional input arguments </H3><PRE>  argID (string) Argument identifier string (see below).  value (varies) Value for the argument (see below).  The optional arguments can be given as 'argID',value -pairs. If an  argument is given value multiple times, the last one is  used. The valid IDs and corresponding values are listed below. The values   which are unambiguous (marked with '*') can be given without the   preceeding argID.  'dlen'         (scalar) length of the training data  'data'         (matrix) the training data                *(struct) the training data  'munits'       (scalar) number of map units  'msize'        (vector) map size  'lattice'     *(string) map lattice: 'hexa' or 'rect'  'shape'       *(string) map shape: 'sheet', 'cyl' or 'toroid'  'topol'       *(struct) incomplete topology struct: its empty fields                           will be given values  'som_topol','sTopol'    = 'topol'</PRE><H3> Output arguments </H3><PRE>  sT     (struct) The topology struct.</PRE><H3> Examples </H3><PRE>  The most important optional argument for the default topology is 'data'.  To get a default topology (given data) use:    sTopol = som_topol_struct('data',D);   This sets lattice to its default value 'hexa'. If you want to have a  'rect' lattice instead:     sTopol = som_topol_struct('data',D,'lattice','rect');     or     sTopol = som_topol_struct('data',D,'rect');  If you want to have (close to) a specific number of map units, e.g. 100:     sTopol = som_topol_struct('data',D,'munits',100);</PRE><H3> See also </H3><TABLE NOBORDER WIDTH=80%><TR><TD><a href="som_make.html"><B>som_make</B></a><TD> Initialize and train a map using default parameters.<TR><TD><a href="som_train_struct.html"><B>som_train_struct</B></a><TD> Default training parameters.<TR><TD><a href="som_randinint.html"><B>som_randinint</B></a><TD> Random initialization algorithm.<TR><TD><a href="som_lininit.html"><B>som_lininit</B></a><TD> Linear initialization algorithm.<TR><TD><a href="som_seqtrain.html"><B>som_seqtrain</B></a><TD> Sequential training algorithm.<TR><TD><a href="som_batchtrain.html"><B>som_batchtrain</B></a><TD> Batch training algorithm.</TABLE><p><hr><br><br><!-- Last updated: May 30 2002 --></body></html>

⌨️ 快捷键说明

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