setSom: Generates various type of SOM with 20 nodes.

Description Usage Arguments Value Examples

Description

Generates various type of SOM with 20 nodes.

Usage

1
2
setSom(dim, topo.mode, weights = NULL, alpha = 0.1, sigma = 1,
  neighbor = 1, collect.stats = F)

Arguments

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.

Value

SOM objsect.

Examples

1
spsom <- setSom(3,"sphere")

hosscine/SME documentation built on May 14, 2019, 12:45 p.m.