next up previous contents
Next: Altering the membership functions Up: Fuzzy sets Previous: Creating a fuzzy structure

Creating fuzzy sets

 

addfzs Add a new fuzzy set
<fuzzyname> name of the fuzzy structure
-fs <setname> name of the new set
-t <type> 2 = gauss, 3 = triangular, 4 = trapezoidal, 8 = smoothed trapezoidal

This command creates a new fuzzy set meaning that a new field with a given <type> is created to the frame sets under the fuzzy frame <fuzzyname>.

Example: The following command sequence demonstrates working with a fuzzy structure.

NDA> load boston.dat
NDA> mkfz fz1 -f boston.dis
# Add a fuzzy set for apartments near the city
NDA> addfzs fz1 -fs nearToCity -t 8
# Add a fuzzy set for apartments far from the city
NDA> addfzs fz1 -fs farFromCity -t 8



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