next up previous contents
Next: Picking data records based Up: Data reorganization Previous: Finding the indexes of

Merging a grouping and a classified data

 

tabular833

The command merges classes from <cldata> according to the groups defined by a classified data <groups>. Now identifiers in <groups> refer to the classes in <cldata> instead of the data records.

Example (ex3.1): In the case of SOMs, merging means that data records which are clustered between neurons are collected to larger classes. In other words, the indexes of the data records in the neurons of the group are collected to the same class in the classified data <trgcldata>.

...
NDA> somtr -d boston -sout som1 -l 4
NDA> somcl -d boston -s som1 -cout cld1
...
NDA> mkgrp grp1 -s som1
...
# grouping by a graphical tool -> groups are stored in the
# classified data "groups". SOM classification for data records
# are stored in "cld1".
...
NDA> mergecld -c1 groups -c2 cld1 -cout classif
...
# To utilize the classification "classif":
NDA> bin -d boston -c classif -dout data2
NDA> pickrec -d boston -c classif -dout data3
....

figure841



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