Beruflich Dokumente
Kultur Dokumente
Debasis Samanta
IIT Kharagpur
dsamanta@iitkgp.ac.in
23.01.2018
Yes or No
Crisp answer
True or False
Milk Yes
Water
A liquid
Crisp
Coca
No
Spite
Is the liquid
colorless?
May be
May not be
Partially
etc
Score
99
Extremely honest
· Ankit
· Rajesh
Very honest 75
· Santosh
Fuzzy
· Kabita Honest at times 55
· Salmon
Extremely dishonest 35
Is the person
honest?
Fuzzy element(s)
Fuzzy set(s)
I
N
P Fuzzy rule(s)
U
T
Fuzzy implication(s)
(Inferences)
O
U
T
Fuzzy system P
U
T
Universe of discourse X
H
M
Example:
H = { (h1 , 1), (h2 , 1), ... , (hL , 1) }
Person = { (p1 , 1), (p2 , 0), ... , (pN , 1) }
In case of a crisp set, the elements are with extreme values of degree
of membership namely either 1 or 0.
1 EX = Marks ≥ 90
2 A = 80 ≤ Marks < 90
3 B = 70 ≤ Marks < 80
4 C = 60 ≤ Marks < 70
5 D = 50 ≤ Marks < 60
6 P = 35 ≤ Marks < 50
7 F = Marks < 35
F P D C B A EX
1
0
35 50 60 70 80 90 100
F P D C B A EX
1
0
35 50 60 70 80 90 100
High Temperature
Low Pressure
Color of Apple
Sweetness of Orange
Weight of Mango
Note:
µA (x) map each element of X onto a membership grade (or
membership value) between 0 and 1 (both inclusive).
Question:
How (and who) decides µA (x) for a Fuzzy set A in X ?
Example:
A = City of comfort
A ={(0,0.1),(1,0.30),(2,0.78)……(10,0.1)}
1.0
0.8
0.6 Note : X = discrete value
µ
0.4
0.2
How you measure happiness ??
0 2 4 6 8 10
A = “Happy family”
1.0
B ( x) 1
4
0.8 x 50
1
0.6 10
0.4
0.2
0 50 100
B
Age (X)
Note : x = real value
B = “Middle aged” = R+
Core: The core of a fuzzy set A is the set of all points x in X such that
µA (x) = 1
1.0
µ
0.5
1.0
Aα = {x | µA (x) ≥ α }
Aα ’ = {x | µA (x) > α }
Note :
• A is convex if all its α- level sets are convex.
• Convexity (Aα ) =⇒ Aα is composed of a single line segment only.
1.0 1.0
Bandwidth :
For a normal and convex fuzzy set, the bandwidth (or width) is defined
as the distance the two unique crossover points:
Bandwidth(A) = | x1 - x2 |
where µA (x1 ) = µA (x2 ) = 0.5
Symmetry :
Example: India will win the T20 tournament with a chance 60% means
that out of 100 matches, India own 60 matches.
Forecasting : When you take the information from the past job and
apply it to new job.
1.0 1.0
0.8 0.8
µA
µB
0.6 0.6
0.4 0.4
0.2 0.2
0 2 4 6 8 10 0 10 20 30 40 50 60
µ
µ
x x x
x x
1.0
a b c
1.0
a b c d
1 x−c
gaussian(x;c,σ) =e− 2 ( σ )2 .
c
0.1
0.1c 0.9c
b
Slope at x =
2a
b
Slope at y =
x b y
2a
c-a c c+a
1
Example: µ(x)= 1+x 2 ;
a = b = 1 and c = 0;
1.0
-1 0 1
Changing a Changing b
Changing a
Changing a and b
1.0
Slope = a
0.5
Excellent = Marks ≤ 90
Very good = 75 ≤ Marks ≤ 90
Good = 60 ≤ Marks ≤ 75
Average = 50 ≤ Marks ≤ 60
Poor = 35 ≤ Marks ≤ 50
Bad= Marks ≤ 35
1
.8
.6
.4
.2
0
10 20 30 40 50 60 70 80 90
marks
You can decide a standard fuzzy MF for each of the fuzzy garde.
Union (A ∪ B):
Example:
A = {(x1 , 0.5), (x2 , 0.1), (x3 , 0.4)} and
B = {(x1 , 0.2), (x2 , 0.3), (x3 , 0.5)};
C = A ∪ B = {(x1 , 0.5), (x2 , 0.3), (x3 , 0.5)}
µA µA
µB µB
µ µAUB
a p x b q c a p x b q c
Intersection (A ∩ B):
Example:
A = {(x1 , 0.5), (x2 , 0.1), (x3 , 0.4)} and
B = {(x1 , 0.2), (x2 , 0.3), (x3 , 0.5)};
C = A ∩ B = {(x1 , 0.2), (x2 , 0.1), (x3 , 0.4)}
µA
µB
µ µAᴖB
a p x b q c a p x b q c
Complement (AC ):
Example:
A = {(x1 , 0.5), (x2 , 0.1), (x3 , 0.4)}
C = AC = {(x1 , 0.5), (x2 , 0.9), (x3 , 0.6)}
µA µA
1.0 µA’
p x q p x q
Sum (A + B):
Difference (A − B = A ∩ B C ):
Equality (A = B):
µA (x) = µB (x)
Example 3:
A(x) = {(x1 , 0.2), (x2 , 0.3), (x3 , 0.5), (x4 , 0.6)}
B(y) = {(y1 , 0.8), (y2 , 0.6), (y3 , 0.3)}
y1 y2 y3
x1 0.2 0.2 0.2
x2 0.3 0.3 0.3
A × B = min{µA (x), µB (y)} =
0.5
x3 0.5 0.3
x4 0.6 0.6 0.3
Commutativity :
A∪B = B∪A
A∩B = B∩A
Associativity :
A ∪ (B ∪ C) = (A ∪ B) ∪ C
A ∩ (B ∩ C) = (A ∩ B) ∩ C
Distributivity :
A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)
A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C)
Let A and B are two fuzzy sets defined over a universe of discourse X
with membership functions µA (x) and µB (x), respectively. Two MFs
µA (x) and µB (x) are shown graphically.
µA(x)
µB µA
µ
b1 a1 a2 b4 a3 a4
x
µB µA
b1 a1 a2 b4 a3 a4
x
A B ( x)
A B ( x)
a2 b4
b1 a1 a2 a3 a4
x
x
The plots of union µĀ (x) of the fuzzy set A is shown in the following.
A ( x)
A ( x)
a b a b
x x
Consider the following two fuzzy sets A and B defined over a universe
of discourse [0,5] of real numbers with their membership functions
x
µA (x) = 1+x and µB (x) = 2−x
i. A , B
ii. A ∪ B
iii. A ∩ B
iv. (A ∪ B)c [Hint: Use De’ Morgan law]
µA µB
1.0
0.5
µ
-15 -10 -5 0 5 10 15 20 25 30 35 40 45 50
Note: Note that ”Not cold climate” 6= ”Hot climate” and vice-versa.
A B
0.
5
µ
- -
15 10 -5 0 5 10 15 20 25 30 35 40 45 50
x 5 15 25 5 25
x x
Very Old
Very young
0 30 60 100
X = Age
1
µyoung (x) = bell(x, 20, 2, 0) = x 4
1+( 20 )
1
µold (x) = bell(x, 30, 3, 100) =
1+( x−100
30
)6