nplc | Set the places of neurons related to an axis |
<graphic> | name of the graphic structure |
-ax <axis> | name of the axis: x, y or z |
-f <field> | data field for the locations |
nplc <graphic> -ax <axis> -rm | Set the neuron locations for one specified axis to 0.0 |
This operation sets the locations of neurons related to the x, y or z axis in three-dimensional space. Before using this command, the scale of the axis should be computed with axis (see section 7.2.7). The reserved field names som_x, som_y and som_z set the locations of neurons to the normal grid of the SOM.
Example (ex7.12): The following commands set the scales of the axes x and y to the absolute range [0,1]. Then, the locations of neurons are set according to two weights x_w and y_w. At the end, the visible layer is set to 3.
... NDA> somtr -d gauss.dat -sout som1 -l 5 ... NDA> mkgrp grp1 -s som1 NDA> nsize grp1 -v 0.2 NDA> topo grp1 -on NDA> axis grp1 -ax x -sca abs -min 0.0 -max 1.0 NDA> axis grp1 -ax y -sca abs -min 0.0 -max 1.0 NDA> nplc grp1 -ax x -f som1_W.x_w NDA> nplc grp1 -ax y -f som1_W.y_w NDA> layer grp1 -l 3 ...