06 Fuzzy Reasoning
06 Fuzzy Reasoning
Reasoning
1
Definition
– Known also as
approximate reasoning
– It is an inference
Fuzzy
procedure that derives
Reasoning conclusions from a set of
fuzzy if-then-rules &
known facts
– Image of an interval is an
interval
y y
b b
y = f(x) y = f(x)
a x x
a
a and b: points
a and b: intervals
y = f(x) : a curve
y = f(x) : an interval-valued
function
• The extension principle is a special case of
the compositional rule of inference
5
6
cri.m
7
Given A, A B, infer B
A = “today is sunny”
A B: day = sunny then sky = blue
infer: “sky is blue”
• illustration
Premise 1 (fact): x is A
Premise 2 (rule): if x is A then y is B
Consequence: y is B
8
• iIlustration
Premise 1 (fact): x is A’
Premise 2 (rule): if x is A then y is B
Consequence: y is B’
Dr. Djamel Bouchaffra CSE 513 Soft Computing, Ch. 3: Fuzzy rules & fuzzy reasoning
11
X Y
A’
B’
X Y
x is A’ y is B’
12
Conclusion: z is C’
Premise 2: A*B → C
13
R mamdani ( A, B, C) = ( A * B ) * C = A (x) B (y ) C (z ) /( x, y , z )
X*Y*Z
C' = ( A'*B' ) ( A * B → C)
premise 1 premise 2
x
= A' ( x) A ( x) B' ( y ) B ( y ) C ( z )
y
w1 w2
= (w 1 w 2 ) C ( z )
14
T-norm
A’ A B’ B w1
C2
w
w2
Z
X Y
A’ B’
C’
Z
x is A’ X y is B’ Y z is C’
15
Consequence (conclusion): z is C’
R1 = A1 * B1 → C1
R2 = A2 * B2 → C2
Since the max-min composition operator o is distributive over the union
operator, it follows:
C’ = (A’ * B’) o (R1 R2) = [(A’ * B’) o R1] [(A’ * B’) o R2] = C’1 C’2
Where C’1 & C’2 are the inferred fuzzy set for rules 1 & 2 respectively
16
A’ A1 B’ B1 C1
w1
Z
X Y
A’ A2 B’ B2 C2
w2
Z
X Y
T-norm
A’ B’
C’
Z
x is A’ X y is B’ Y z is C’
Thank You
17