next up previous contents
Next: Classifying data records to Up: Data reorganization Previous: Sorting a data frame

Classifying a data frame with a BMU classifier

 

bmucl Classify a data with a BMU classifier
-d1 <prdata> prototypes for classes
-c1 <cldata> classified data for collecting prototypes to classes
-d2 <data> data to be classified
-cout <trgcldata> result classified data
[-min <value>] Add <value> to all output indexes

This operation performs a B(est)M(atching)U(nit) classification. The classifier is defined by prototypes in <prdata> and a classified data that defines, which prototypes represent each class. The result will be stored in a new classified data <trgcldata>, in which classes will have the same names as in <cldata>. If <value> is specified, it is added to all indexes of the output classification.

Example (ex3.5): In the first example, four data records (4, 50 belonging to class c1 and 63, 150 to class c2) are selected to be prototypes of the classes. Then the same data, boston, is classified according to these prototypes.

...
NDA> addcld -c bmuclfr
NDA> addcl -c bmuclfr -cl c1
NDA> updcl -cl bmuclfr.c1 -id 4
NDA> updcl -cl bmuclfr.c1 -id 50
NDA> addcl -c bmuclfr -cl c2
NDA> updcl -cl bmuclfr.c2 -id 63
NDA> updcl -cl bmuclfr.c2 -id 150
NDA> bmucl -d1 boston -c1 bmuclfr -cout cld1

figure1194



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