SC Unit-4
SC Unit-4
MODULE 4
FUZZY Membership
Functions
Topics
Fuzzy membership functions
Features of membership function
Fuzzification
Methods of membership value assignments
λ- Cut or α- Cut
Defuzzification
Membership functions
µ
µ
x x x
x x
20
Linguistic variables and hedges
connectives
The connectives (AND, OR, and NOT) realise the
operations of intersections, union, complement
considered earlier.
Example :How can we express
slow or medium ?
very u = u2
This operator can also be composed with
itself, thus:
very (very u) = (very u) 2 = u 4
Linguistic variables and hedges
hedges (modifiers)
Hedges (example): The composite term ‘very old’ can
be obtained from the term old as
very old = old2
Example : consider a fuzzy set
young 020.8 0 .6
30
0.2
40
0
50
Extremely A = A3
Linguistic variables and hedges
Wind is a little strong.
Weather is quite cold.
Height is almost tall.
Weight is very high.
Wind, Weather, Height and Weight are
linguistic variables.
A little, Quite, Almost, Very are hedges.
Strong, Cold, Tall and high are linguistic
value.
Example
Linguistic Linguistic Linguistic Linguistic
Variable Value Variable Value
cold cheap
if temperature is cold and oil is cheap
high
then heating is high
Linguistic Linguistic
Variable Value
Definition [Zadeh 1973]
A linguistic variable is characterized by a quintuple
x, T ( x),U , G, M
Name
Term Set
Universe
Syntactic Rule
Semantic Rule
Example
A linguistic variable is characterized by a quintuple
x, T ( x),U , G, M
age
Example semantic rule:
old, very old, not so old,
G (age) more or less young, M (old) u, old (u ) u [0,100]
quite young, very young
0 u [0,50]
1
old (u ) u 50 2
[0, 100] 1 5 u [50,100]
Example
Membership of body fitness
Methods of membership value assignments
1 Intuition
2 Inference
3 Rank ordering
4 Angular fuzzy
sets
5 Neural networks
6 Genetic
algorithm
7 Inductive
reasoning
Intuition
Base (B)
Very Base (VB)
Exact Base(EB)
Medium Base (MB)
Acid (A)
Very Acid (VA)
Exact Acid(EA)
Medium Acid (MA)
Neural Networks
NN can also be used to obtain fuzzy
membership values
Fuzzy MFs are created for input dataset
I/p data set divided in to training and test
data
Data points are grouped in to clusters
If a data point belong to a cluster its MF is
1 in that cluster and 0 in other clusters
NN uses data point marked 1 for training
When a coordinate location of a point is
given, NN assigns a membership value to
that point
NN classifies the point into one of the
Genetic Algorithms
Induction Reasoning
Uses backward inference
Employs entropy minimization principle
Well defined database for i/p – o/p
relationship exists
Can be applied for complex systems where
data are abundant and static
Not suited for dynamic systems
There are 3 laws of induction
Membership function is calculated as
Defuzzification
1 Lambda-cut method
3 Maxima methods
4 Centroid methods
relation
1
In this method a fuzzy set A is transformed into a crisp set A λ for a
given value of λ (0 ≤ λ ≤ 1)
2
In other-words, A λ = {x|µA(x ) ≥ λ}
3
That is, the value of Lambda-cut set A λ is x , when the
membership value corresponding to x is greater than or equal to
the specified λ.
4
This Lambda-cut set A λ is also called alpha-cut set.
Then A0.6 = {(x1, 1), (x2, 0), (x3, 0), (x4, 0)} = {x1}
and
A0.2 = {(x1, 0), (x2, 1), (x3, 1), (x4, 1)} = {x2, x3, x4}
(b) (P ∪ Q)0.6
(c) (P ∪ P)0.8
(d) (P ∩ Q)0.4
1 Lambda-cut method
3 Maxima methods
4 Centroid methods
Maxima Methods
1 Height method
2 First of maxima (FoM)
3 Last of maxima (LoM)
4 Mean of maxima(MoM)
Centroid methods ƴ
1 Center of gravity method (CoG)
2 Center of sum method (CoS) ƴ
3 Center of area method (CoA)
Height method
First of maxima (FoM)
Last of maxima (LoM)
Mean of maxima(MoM)
c
Note:
1. Here, x ∗ is the height of the output fuzzy set C.
2. This method is applicable when height is unique.
Soft Computing Applications
Maxima method : FoM
c
c
2 = 22 .5
x ∗ = 20+25
c
x∗ = a+b
2
Note:
Thus, MoM is also synonymous to middle of maxima.
MoM is also general method of Height.
Centroid methods
3 Graphically
,
Center of gravity
c
x*
x
Centroid method : CoG
contd.
CoG : A geometrical method of
calculation
c2
c3
c1
A2 A3
A1
5
x1 x2 x3
Note:
2 In CoS, we use the center of area and hence, its name instead
of center of gravity as in CoG.
Graphically
,
CoA
Weighted Average Method