



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Fuzzy ES
What is fuzzy logic?
www.moosemaple.com/ www.johnston.k12.ia.us
www.greenwoodworking.com
www.backstreet.demon.co.uk (^) www.petdiscounters.com
Which of these is the most āchair-likeā? What features make a chair a chair?
Classical (ācrispā) sets
If X is the universe of discourse (also called the finite reference super set) , with elements x, then the characteristic function of crisp set A is:
f (^) A ( x ): X ā 0 , 1 Where:


0
1 f (^) A ( x ) x A
x A
ā
ā
Fuzzy sets
μ A ( x ): X ā[ 0 , 1 ]
If X is the universe of discourse , with elements x, then the characteristic function of fuzzy set A is:
Where: If x is totally in A If x is totally not in A 0 ( ) 1 If x is partially in A
x
x
x
A
A
A
μ
μ
μ
Defining fuzzy sets with fit vectors A can be defined as:
Where linear fit functions join the points given in the set definition. So, for example: Tall men = (0/180, 1/190) Short men=(1/160, 0/170) Average men=(0/165,1/175,0/185)
A ={μA ( x 1 )/ x 1 }...{ μ A ( xn )/ xn }
Graphical representation of set definition
short average tall
0
Degree of membership 1
Height
160165 170 180 185 190
Hedges
Hedges are fuzzy set qualifiers, and modify the shape of the set. Can be:
Interpretations of hedges
Hedges are given mathematical interpretations, for example, the operation of concentration (i.e. making the set smaller):
2 4
3
2
( ) [ ( )] [ ( )]
( ) [ ( )]
( ) [ ( )]
x x x
x x
x x
A
very A
veryvery A
A
extremely A
A
very A
μ μ μ
μ μ
μ μ
= =
=
=
Interpretation of hedges (2)
Also, operations of dilation (i.e. make set bigger):
( x ) (^) A ( x )
moreorless μ (^) A = μ And operations of intensification (exaggerates the extremes of the set):
2
1 2 [ 1 ( )]
x
x x A
indeed A A μ
μ μ
x
x A
A μ
μ
Fuzzy Operations (1)
The complement of a set is its opposite, given by:
μ (^) ¬ A ( x ) = 1 ā μ A ( x )
Monotonic selection
Allows estimation of the variable in the consequent. However, it only works for monotonic membership functions ā not common!
0
1
height weight
Tall men Heavy men
180 90
Antecedents/consequents with multiple parts
Fuzzification
Rule evaluation
Aggregate the results
Build a membership function for each output UoD, by aggregating all the relevant classes.
Use a center of mass formula to calculate the crisp output value (integration approximated as summation):
=
b x a A
b
x a
A
μ
μ
Write 3-5 fuzzy rules that determine heart attack risk, using:
0
0.
0.
0.
0.
1
1000 2000 3000 4000 Calories ingested per day
Membership
Poor Good
0
0.
0.
0.
0.
1
1000 2000 3000 4000 Calories used per day
Membership
High Low
0
0.
0.
0.
0.
1
0 25 75 100 Likelihood of heart disease
Membership
Low Medium High
Defuzzification
ā
ā
=
= = b x a A
b
xa
A
x
xx COG ( )
( )
μ
μ
Defuzzification(2)
COG =^12.^5 *.^2 +(^25 +^37.^5 +. 250 +) 3 **..^44 ++^62. 5 .+^53 *.^5. 6 +(^75 +^87.^5 +^100 ).^6 = 70
Result