Neural Network Toolbox™ Previous page   Next Page 
initsompc
 Provide feedback about this page

Initialize SOM weights with principal components

Syntax

Description

initsompc initializes the weights of an N-dimensional self-organizing map so that the initial weights are distributed across the space spanned by the most significant N principal components of the inputs. Distributing the weight significantly speeds up SOM learning, as the map starts out with a reasonable ordering of the input space.

initsompc takes these arguments:

inputs
R x Q matrix of Q R-element input vectors
dimensions
D x 1 vector of positive integer SOM dimensions
positions
D x S matrix of S D-dimension neuron positions

and returns the following:

weights
S x R matrix of weights

Alternatively, initsompc can be called with topologyfcn (the name of a layer topology function) instead of positions. topologyfcn is called with dimensions to obtain positions.

Example

See Also

newsom, gridtop, hextop, randtop


 Provide feedback about this page 

Previous page initnw initwb Next page

 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS