Description Usage Arguments Value Examples
Generates various type of SOM with 20 nodes.
1 2 |
dim |
dimension of input vector. |
topo.mode |
type of SOM topology. Choose from c(grid, plane, circle, sphere, torus, cylinder, cylinder.twocircle). |
weights |
initial weights matrix. |
alpha |
learning rate. |
sigma |
variance of the weights propagation. |
neighbor |
size of neighborhood kernel about the nodes. 1 indicates the neighbors of a node are its one adjacents. |
collect.stats |
whether rocords learning history. |
SOM objsect.
1 | spsom <- setSom(3,"sphere")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.