-
Notifications
You must be signed in to change notification settings - Fork 0
/
Credit.fis
74 lines (68 loc) · 1.31 KB
/
Credit.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[System]
Name='Credit'
Type='mamdani'
Version=2.0
NumInputs=4
NumOutputs=1
NumRules=15
AndMethod='min'
OrMethod='max'
ImpMethod='min'
AggMethod='max'
DefuzzMethod='mom'
[Input1]
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]
[Input2]
Name='Income'
Range=[0 100]
NumMFs=4
MF1='Low':'trapmf',[0 0 10 25]
MF2='Medium':'trapmf',[15 35 35 55]
MF3='High':'trapmf',[40 60 60 80]
MF4='VeryHigh':'trapmf',[60 80 100 100]
[Input3]
Name='Interest'
Range=[0 10]
NumMFs=3
MF1='Low':'trapmf',[0 0 2 5]
MF2='Medium':'trapmf',[2 4 6 8]
MF3='High':'trapmf',[6 8.5 10 10]
[Input4]
Name='Applicant'
Range=[0 10]
NumMFs=3
MF1='Low':'trapmf',[0 0 2 4]
MF2='Medium':'trapmf',[2 5 5 8]
MF3='High':'trapmf',[6 8 10 10]
[Output1]
Name='Credit'
Range=[0 500]
NumMFs=5
MF1='VeryLow':'trimf',[0 0 125]
MF2='Low':'trimf',[0 125 250]
MF3='Medium':'trimf',[125 250 375]
MF4='High':'trimf',[250 375 500]
MF5='VeryHigh':'trimf',[375 500 500]
[Rules]
0 1 2 0, 1 (1) : 1
0 1 3 0, 1 (1) : 1
0 2 3 0, 2 (1) : 1
0 0 0 1, 1 (1) : 1
1 0 0 0, 1 (1) : 1
1 0 0 2, 2 (1) : 1
2 0 0 2, 2 (1) : 1
3 0 0 2, 3 (1) : 1
4 0 0 2, 4 (1) : 1
5 0 0 2, 4 (1) : 1
1 0 0 3, 2 (1) : 1
2 0 0 3, 3 (1) : 1
3 0 0 3, 4 (1) : 1
4 0 0 3, 4 (1) : 1
5 0 0 3, 5 (1) : 1