Fuzzy Inference Systems: Fuzzy Logic and Approximate Reasoning
Fuzzy Inference Systems: Fuzzy Logic and Approximate Reasoning
=
} }
o
|
=
BOA
z
BOA
z
A A
, dz ) z ( dz ) z (
Defuzzification
Mean of maximum zMOM
This operator computes the average of the maximizing z at
which the MF reaches a maximum . It is expressed by :
-
} ) z ( ; z { Z' where
,
dz
zdz
z
A
' Z
' Z
MOM
-
= =
=
}
}
| |
2
z z
z then z , z ) z ( max if : However
z z then
z z at maximum single a has ) z ( if : definition By
2 1
MOM 2 1 A
z
MOM
A
+
= =
=
=
-
-
Defuzzification
Various defuzzification schemes for obtaining a crisp output
Smallest of maximum zSOM
Amongst all z that belong to [z1, z2], the smallest is called zSOM
Largest of maximum zLOM
Amongst all z that belong to [z1, z2], the largest value is called
zLOM
Example
Example
Example
Example
Sugeno Fuzzy Models
Goal: Generation of fuzzy rules from a given input-
output data set
A TSK fuzzy rule is of the form:
If x is A & y is B then z = f(x, y)
Where A & B are fuzzy sets in the antecedent, while z =
f(x, y) is a crisp function in the consequent
f(.,.) is very often a polynomial function x & y
Sugeno Fuzzy Models
If f(.,.) is a first order polynomial, then the resulting fuzzy
inference is called a first order Sugeno fuzzy model
If f(.,.) is a constant then it is a zero-order Sugeno fuzzy
model (special case of Mamdani model)
Case of two rules with a first-order Sugeno fuzzy model
Each rule has a crisp output
Overall output is obtained via weighted average
No defuzzyfication required
Sugeno Fuzzy Models
Example 1
Single output-input Sugeno fuzzy model with three
rules
If X is small then Y = 0.1X + 6.4
If X is medium then Y = -0.5X + 4
If X is large then Y = X 2
If small, medium & large are nonfuzzy sets
then the overall input-output curve is a piece
wise linear
Example 1
Example 1
However, if we have smooth membership functions
(fuzzy rules) the overall input-output curve becomes
a smoother one
Example 2
Two-input single output fuzzy model with 4 rules
R
1
: if X is small & Y is small then z = -x +y +1
R
2
: if X is small & Y is large then z = -y +3
R
3
: if X is large & Y is small then z = -x +3
R
4
: if X is large & Y is large then z = x + y + 2
R
1
(x . s) & (y . s) w
1
R
2
(x . s) & (y . l) w
2
R
3
(x . l) & (y . s) w
3
R
4
(x . l) & (y . l) w
4
Aggregated consequent F[(w
1
, z
1
); (w
2
, z
2
); (w
3
, z
3
);(w
4
, z
4
)]
= weighted average
Example 2
Tsukamoto fuzzy model
Tsukamoto fuzzy model
single-input Tsukamoto fuzzy model
with 3 rules
if X is small then Y is C
1
if X is medium then Y is C
2
if X is large then Y is C
3
Tsukamoto fuzzy model