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.3.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;