Neural Network Toolbox Previous page   Next Page
newsom

Create a self-organizing map

Syntax

net = newsom

net = newsom(PR,[D1,D2,...],TFCN,DFCN,OLR,OSTEPS,TLR,TND)

Description

Competitive layers are used to solve classification problems.

net = newsom creates a new network with a dialog box.

net = newsom (PR,[D1,D2,...],TFCN,DFCN,OLR,OSTEPS,TLR,TND) takes,

and returns a new self-organizing map.

The topology function TFCN can be hextop, gridtop, or randtop. The distance function can be linkdist, dist, or mandist.

Properties

Self-organizing maps (SOM) consist of a single layer with the negdist weight function, netsum net input function, and the compet transfer function.

The layer has a weight from the input, but no bias. The weight is initialized with midpoint.

Adaption and training are done with trains and trainr, which both update the weight with learnsom.

Examples

The input vectors defined below are distributed over an two-dimension input space varying over [0 2] and [0 1]. This data will be used to train a SOM with dimensions [3 5].

Here the SOM is trained and the input vectors are plotted with the map that the SOM's weights have formed.

See Also

sim, init, adapt, train


Previous page  newrbe nncopy Next page

© 1994-2005 The MathWorks, Inc.