-
Notifications
You must be signed in to change notification settings - Fork 0
/
Home.fis
55 lines (51 loc) · 937 Bytes
/
Home.fis
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
[System]
Name='Home'
Type='mamdani'
Version=2.0
NumInputs=2
NumOutputs=1
NumRules=14
AndMethod='min'
OrMethod='max'
ImpMethod='min'
AggMethod='max'
DefuzzMethod='mom'
[Input1]
Name='MarketValue'
Range=[0 1000]
NumMFs=4
MF1='Low':'trapmf',[0 0 50 100]
MF2='Medium':'trapmf',[30 100 200 270]
MF3='High':'trapmf',[200 300 650 850]
MF4='VeryHigh':'trapmf',[650 850 1000 1000]
[Input2]
Name='Location'
Range=[0 10]
NumMFs=3
MF1='Bad':'trapmf',[0 0 1.5 4]
MF2='Fair':'trapmf',[2.5 5 6 8.5]
MF3='Excellent':'trapmf',[6 8.7 10 10]
[Output1]
Name='House'
Range=[0 10]
NumMFs=5
MF1='VeryLow':'trimf',[-3 0 3]
MF2='Low':'trimf',[0 3 6]
MF3='Medium':'trimf',[2 5 8]
MF4='High':'trimf',[4 7 10]
MF5='VeryHigh':'trimf',[7 10 10]
[Rules]
1 0, 2 (1) : 1
0 1, 2 (1) : 1
1 1, 1 (1) : 1
2 1, 2 (1) : 1
3 1, 3 (1) : 1
4 1, 4 (1) : 1
1 2, 2 (1) : 1
2 2, 3 (1) : 1
3 2, 4 (1) : 1
4 2, 5 (1) : 1
1 3, 3 (1) : 1
2 3, 4 (1) : 1
3 3, 5 (1) : 1
4 3, 5 (1) : 1