next up previous contents
Next: Generating data according to Up: The Tree-Structured Self-Organizing Map Previous: Spreading the groups of

Mapping data records onto a TS-SOM

 

tabular1661

The operation computes the distances between data records and their BMU neurons. The operation is executed for each layer in the TS-SOM. The distances are computed in the direction of each SOM dimension, and every dimension of each layer will have own field which is named as <layer>_<dimension>. The dimension is indexed beginning from zero. The distances are scaled in [-1,1].

Example (ex5.5): The example shows how distances can be used with trajectories. When the distance data is given to the operation traj (see Sect. 7.2.3), trajectory lines are not located to the centroids of the neurons, but they are moved according to the distances.

NDA> load boston.dat
NDA> prepro -d boston -dout pre1 -e -n
NDA> somtr -d pre1 -sout s1 -l 6
NDA> somcl -s s1 -d pre1 -cout c1
NDA> somproj -s s1 -w s1_W -d pre1 -c c1 -dout dist1
NDA> clstat -c c1 -d pre1 -dout sta1 -avg -min -max -var -hits
NDA> mkgrp win1 -s s1
NDA> setgdat win1 -d sta1
NDA> setgcld win1 -c c1
#
# ... using the mapping with a trajectory
NDA> traj win1 -n a -co red -c c1 -d dist1 -min 0 -max 3000 -c c1 -d dist1
...



Erkki Hakkinen
Thu Sep 24 11:51:34 EET DST 1998