next up previous contents
Next: Storing the indexes of Up: The Tree-Structured Self-Organizing Map Previous: Smoothing data in a

Creating a field for TS-SOM layer information

 

somlayer Create a field for layer indexes
-s <som> name of the TS-SOM structure
-fout <field> name of the field to be created

This operation creates a field containing one item per each neuron and fills it with the indexes of TS-SOM layers.

Example (ex5.4): The example shows how layer indexes can be used to pick the weights of one layer. More information about expressions can be found in section 4.2.1.

...
NDA> somtr -d predata -sout som1 -l 5
...
NDA> somlayer -s som1 -fout somlayer
# Select records according to a boolean expression
NDA> selrec -d som1_W -dout l3w -expr 'somlayer' = 3;



Anssi Lensu
Wed Oct 6 12:57:48 EET DST 1999