Professional Documents
Culture Documents
Ss
Ss
2
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
3
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
4
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
5
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
Paradoxes
A heterological word is one that does not
describe itself. For example, “long” is
heterological, and “monosyllabic” is
heterological.
Is “heterological” heterological?
6
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
Paradoxes
Bertrand Russell’s barber paradox (1901)
The barber shaves a man if and only if he does
not shave himself. Who shaves the barber? …
S: The barber shaves himself
Use t(S) to denote the truth of S
S implies not-S, and not-S implies S
Therefore, t(S) = t(not-S) = 1 – t(S)
t(S) = 0.5
Similarly, “heterological” is 50% heterological
7
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
Paradoxes
Sorites paradox:
Premise 1: One million grains of sand is a heap
Premise 2: A heap minus one grain is a heap
Question: Is one grain of sand a heap?
“Heap-ness” 100%
0
Number of grains
8
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
Fuzzy Sets
Sets with fuzzy boundaries
9
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
“tall” in Asia
Membership
.8
.5 “tall” in the US
“tall” in NBA
.1
5’10’’ Height
10
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
Fuzzy Sets
Formal definition:
A fuzzy set A in X is expressed as a set of ordered
pairs:
A {( x , A ( x ))| x X }
Membership Universe or
Fuzzy set
function universe of discourse
(MF)
11
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
12
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
1
B(x)
x 50
2
1
10
13
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
Alternative Notation
A fuzzy set A can be alternatively denoted as
follows:
X is discrete
A
xi X
A ( xi ) / xi
X is continuous A A( x) / x
X
14
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
Fuzzy Partition
Fuzzy partitions formed by the linguistic values
“young”, “middle aged”, and “old”:
lingmf.m
15
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
More Definitions
Support Convexity
Core Fuzzy numbers
Normality Bandwidth
Crossover points Symmetricity
Open left or right, closed
Fuzzy singleton
a-cut, strong a-cut
16
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
MF Terminology
These expressions are all defined in terms of x.
MF
.5
a
0
Core X
Crossover points
a - cut
Support
17
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
convexmf.m
18
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
Set-Theoretic Operations
Subset:
A B A B for all x
Complement:
A X A A ( x ) 1 A ( x )
Union:
C A B c ( x ) max( A ( x ), B ( x )) A ( x ) B ( x )
Intersection:
C A B c ( x ) min( A ( x ), B ( x )) A ( x ) B ( x )
19
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
Set-Theoretic Operations
subset.m
20 fuzsetop.m
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
MF Formulation
xa cx
trimf ( x; a, b, c) max min , ,0
Triangular MF: b a c b
xa dx
trapmf ( x; a, b, c, d ) max min ,1, , 0
Trapezoidal MF: ba d c
2
1 x c
Gaussian MF: gaussmf ( x; c, ) e 2
1
gbellmf ( x; a, b, c )
Generalized bell MF: xc
2b
1
a
21
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
MF Formulation
disp_mf.m
22
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
MF Formulation
1 c = crossover point
Sigmoidal MF: sigmf ( x; a, c) a controls the
1 e a ( x c )
slope, and right/left
Extensions:
Abs. difference
of two sig. MF
(open right MFs)
Product
of two sig. MFs
disp_sig.m
23
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
MF Formulation
cx
L-R FL a , x c
(left-right) LR( x; c, a, b)
F x c , x c
MF: R
b
3
Example: FL ( x ) max( 0, 1 x 2 ) F R ( x ) exp( x )
c=65 c=25
a=60 a=10
b=10 b=40
24
difflr.m
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
Cylindrical Extension
Base set A Cylindrical Ext. of A
cyl_ext.m
25
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
2D MF Projection
Two-dimensional Projection Projection
MF onto X onto Y
1 1 1
0.5 0.5 0.5
0 0 0
Y X Y X Y X
R ( x, y ) A( x) B( y)
project.m max R ( x , y ) max R ( x, y )
y x
26
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
2D Membership Functions
2dmf.m
27
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
Fuzzy Complement
Sugeno’s complement: Yager’s complement:
1 a
N s (a ) N w ( a ) (1 a w )1/ w
1 sa
29 negation.m
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
T-norm Operator
Algebraic Bounded Drastic
Minimum: product: product: product:
Tm(a, b) Ta(a, b) Tb(a, b) Td(a, b)
tnorm.m
31
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
T-conorm or S-norm
Algebraic Bounded Drastic
Maximum: sum: sum: sum:
Sm(a, b) Sa(a, b) Sb(a, b) Sd(a, b)
tconorm.m
33
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
Tm(a, b) Sm(a, b)
Ta(a, b) Sa(a, b)
Tb(a, b) Sb(a, b)
Td(a, b) Sd(a, b)
34
Neuro-Fuzzy and Soft Computing: Fuzzy Sets
35