next up previous contents
Next: Handling classified data frames Up: Basic operations for managing Previous: Selecting classes to a

Selecting items to frames

 

tabular603

The operation connects any item to a frame, but no type checking is done. Thus, the operation can be used for any type, also for the types of the data and classified data. It is necessary to use this option if fields of variable length are collected to a frame.

Example: The membership functions of the fuzzy sets are described in data fields of variable length. The following example demonstrates how a part of the defined fuzzy sets can be selected to compute fuzzy values for the data values later. (For creating fuzzy sets see Section 4.7.1 and related topics.)

...
# create fuzzy structure and sets
NDA> mkfz fz1...
...
NDA> ls -fr fz1
fz1.sets
fz1.sets.small
fz1.sets.medium
fz1.sets.large
fz1.ranges
...
NDA> select fz2.sets -n fz1.sets.small fz1.sets.large
...
NDA> calcfz fz2 -f boston.dis -dout dis_fuzzy



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