Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
: Fuzzy Sets
Fuzzy Sets
Piero P. Bonissone GE Corporate Research & Development
Bonissone@crd.ge.com (adapted from slides by Roger Jang and Enrique Ruspini)
Conventional Cartesian Product A B is the set of all pairs (x, y) with x in A and y in B
Y
B
X
A
R(X,Y)
X
Characteristic Function
R ( X , Y ):( X , Y ) [ 0,1]
X Y
6
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
NAME Washington, G.
NAME STATE
STATE VA MA MA VA VA
...
Lincoln, A.
..
IL
...
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
..
7
Fuzzy Relations
Y 0.0 0.1 0.3 0.5
0.9
1.0
x is related to y
0 Y X
Similarity
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
Examples of Fuzzy Relations x is much older than y x is larger than y x is much larger than y
(Numbers)
If the temperature is high, then the pressure is very high (Temperature Pressure) If the angle is low, then the acceleration should be small (Angle Acceleration)
10
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
R X
11
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
R Y (y )
R Y (y ) = max
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
[R ( x, y )]
12
Cylindrical Extension
Y R (x, y)
R(x)
14
Y f
f(A)
X
A
15
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
Y
f
f(A)
X
A
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
16
The Extension Principle Permits generalization of conventional operators Based on the generalization of a function f: X Y into a function mapping fuzzy subsets of X into fuzzy subsets of Y If x has a degree of membership , then y = f(x) is assigned a degree of membership [If more than one x is mapped into y then the maximum of such memberships is used as the definition of the degree of membership of y]
17
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
Fuzzy Numbers Special fuzzy subsets of the real line Examples: - Approximately 6 - Very large - Small May be combined using generalized operations, e.g.,
(A + B )(z ) = sup
z=x +y
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
min i [A i (x i )]
Example: A = 0.1/1 + 0.2/2 + 1/3 + 0.1/4 B = 0.3/1 + 1/2 + 0.5/3 A+B = 0.1/2 + 0.2/3 + 0.3/4 + 1/5 + 0.5/6 + 0.1/7
19
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
20
Compatibility Relations
Define relationship between values of two system variables (in the actual world) Permits the derivation of possible values of Y from knowledge of possible values of X Defined by means of conditional possibility distributions
21
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
22
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
Relation
X
Premise (Input)
23
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
Compatibility Relations may be approximated as a set of inferential rules Inferential rules have been given different interpretations
24
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
25
26
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
If X is A, then Y is B
is modeled by
I ( y | x ) = A( x ) B ( y )
27
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
28
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
R A X B Y , (A B )
Premise A
0 A
30
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
0 A A
0 B
31
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
0 A A1
0 B1
Y
32
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
i i = 8 Pr ojY ( AX AX ) BY i
], i AX ( x )), BY ( y )]) ]
The expression
34
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
Logical Interpretation of Fuzzy Relations (Zadeh-Trillas-Valverde) The conditional possibility is an enclosing approximation of the compatibility relation
If X is A, then Y is B
is modeled by
I ( y | x ) = B ( y ) A( x )
35
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
min( a , b )
37
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
Defuzzification
Defuzzification procedures are used to select an adequate decisions among those deemed adequate by the output possibility distribution
39
Conventional Formulation of Fuzzy Logic Elastic constraints on the values of a variable Defined by Possibility Distributions
(Age) = Young
(Assignment of lingistic variables)
1
Age 0 10 20 30 40
40
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
41
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
Application of Translation Rules James is tall and bright Vera is either late or lost Most students are not rich If the weather is rainy, then the probability of catching a cold is high * Don is very worried ** It is very true that Goldilocks eat the porridge
* Linguistic Hedges ** Truth Qualification
42
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
Truth Qualification A is B is =B Examples: - John is young is true - John is young is very true
Absolutely true
Very true
0 0
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
43
Fuzzy Modifiers
Young
Very Young
0 0 20 40 60
44
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
45
p q r s t
47
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
HYPOTHESIS TRUE
HYPOTHESIS FALSE
48
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
Quantifying Inclusion
Classical Logic:
Approximate Reasoning: E
49
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission
E
50
Copyright 1995, Dr. Enrique H. Ruspini, All Rights Reserved - used with authors permission