summaryrefslogtreecommitdiff
path: root/examples/takagi-sugeno/octave/sugeno_tip_calculator.fis
blob: 3d28f10cf47eb4d9782c08a69c6f0a4734c14a34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#Code automatically generated with fuzzylite 6.0.

[System]
Name='sugeno_tip_calculator'
Type='sugeno'
Version=6.0
NumInputs=2
NumOutputs=3
NumRules=10
AndMethod='einstein_product'
OrMethod='max'
ImpMethod='min'
AggMethod='max'
DefuzzMethod='wtaver'

[Input1]
Name='FoodQuality'
Range=[1.000 10.000]
NumMFs=2
MF1='Bad':'trapmf',[0.000 1.000 3.000 7.000]
MF2='Good':'trapmf',[3.000 7.000 10.000 11.000]

[Input2]
Name='Service'
Range=[1.000 10.000]
NumMFs=2
MF1='Bad':'trapmf',[0.000 1.000 3.000 7.000]
MF2='Good':'trapmf',[3.000 7.000 10.000 11.000]

[Output1]
Name='CheapTip'
Range=[5.000 25.000]
NumMFs=3
MF1='Low':'constant',[10.000]
MF2='Medium':'constant',[15.000]
MF3='High':'constant',[20.000]

[Output2]
Name='AverageTip'
Range=[5.000 25.000]
NumMFs=3
MF1='Low':'constant',[10.000]
MF2='Medium':'constant',[15.000]
MF3='High':'constant',[20.000]

[Output3]
Name='GenerousTip'
Range=[5.000 25.000]
NumMFs=3
MF1='Low':'constant',[10.000]
MF2='Medium':'constant',[15.000]
MF3='High':'constant',[20.000]

[Rules]
1.300 1.300 , 1.300 1.200 1.000 (1.000) : 1
2.000 1.300 , 1.000 1.000 2.000 (1.000) : 1
2.200 1.200 , 1.000 2.000 3.000 (1.000) : 1
1.000 1.000 , 1.000 1.000 2.000 (1.000) : 1
2.000 1.000 , 1.000 2.000 3.000 (1.000) : 1
2.300 1.000 , 1.000 2.000 3.200 (1.000) : 1
1.000 2.000 , 1.000 2.000 3.000 (1.000) : 1
2.000 2.000 , 2.000 2.000 3.200 (1.000) : 1
1.200 2.200 , 1.000 2.000 3.000 (1.000) : 1
2.400 2.400 , 3.000 3.200 3.300 (1.000) : 1