Professional Documents
Culture Documents
Department of MCA
Classical set:
A classical set is a collection of distinct objects all having the same characteristics
➔ Example for classical set:
Set of negative integers
Set of persons with height less than 6 feet
Days of the week
➔ Collection of elements within a universe are called sets
➔ Collection of elements within a set are called subsets
➔ There are several ways of defining a set:
A={2,4,6,8,10}
A={x| x is even number less than or equal to 10}
➔ {} is a null set or Empty set
➔ Following are some of the notations used:
Fuzzy set
Fuzziness occurs when a piece of information is not clear cut
Words like young, tall, good, high are fuzzy
Fuzzy set theory is an extension of classical set theory where elements have degree of membership
Membership function
Membership function represents the degree of truth in fuzzy logic.
A membership function (MF) is a curve that defines how each point in the input space is mapped to a
membership value (or degree of membership) between 0 and 1.
Membership function allows us to graphically represent a fuzzy set
X axis represent the Universe of Discourse
Y axis represent the degree of membership in the interval [0,1] interval
They may have different shapes like Singleton, triangular, trapezoidal, gaussian etc.
Singleton membership function
The Singleton membership function assigns membership value 1 to a particular value of x and assigns
value 0 to the rest of all.
Example:
Membership Functions for T (temperature)
If x is between b and c, its membership value varies from 0 to 1. If it is near b, its membership value is
close to 1, and if x is near c, its membership value gets close to 0.
We can compute the fuzzy value of x using a similar triangle rule,
Combining,
Example:
μ =0.5
Trapezoidal membership function:
The trapezoidal membership function is defined by four parameters: a, b, c and d.
b to c represents the highest membership value that element can take. And if x is between (a, b) or (c, d),
then it will have a membership value between 0 and 1.
Example:
Determine μ, corresponding to x = 3.5
μ =0.75
Gaussian membership function
A Gaussian MF is specified by two parameters {m, σ} and can be defined as follows.
m represents the mean / center of the gaussian curve and σ represents the spread of the curve.
Example:
Determine μ corresponding to x = 9, m = 10 and σ = 3.0
μ =0.9459
Sigmoid Membership function:
Sigmoid functions are widely used in classification tasks in machine learning.
It is controlled by parameters a and c. Where a control the slope at the crossover points x = c
Graphically, we can represent it as,
Example:
Determine μ corresponding to x = 8
μ =0.999
Structure of fuzzification
Consider the following Fuzzy logic system architecture,
Properties of lambda-cut
If A and B are two fuzzy sets,
Problem:
2. Maxima Method
This method relies on the position of maximum membership of element at particular position in
fuzzy set.
Different types of Maxima methods are:
*Height method
*First of Maxima (FOM)
*Last of Maxima (LOM)
*Mean of Maxima (MOM)
Height method
Height of the fuzzy set is the maximum value of the membership function in a fuzzy set A
X*=5.5
First of Maxima
This method determines the smallest value of the domain with maximum membership value
Example:
Last of Maxima:
Determine the largest value of the domain with maximum membership value.
Example:
The defuzzified value for LOM method will be x*=8
Mean/Middle of maxima:
Determines Mean of FOM and LOM
MOM, x*=3.5
Consider the following example:
Young={(28,0.6),(20,0.8),(25,0.8),(30,0.5),(35,0.3)}
MOM, X*=(20+25)/2
22.5
Weighted Average:
x* is computed as:
A fuzzy if-then rule is of the form “If x is A then y is B” where A and B are linguistic values defined by
fuzzy sets on universes of discourse X and Y, respectively.
In fuzzy rules, the linguistic variable speed also has the range (the universe of discourse) between 0 and
220km/h, but this range includes fuzzy sets, such as slow, medium and fast.
A fuzzy rule can have multiple antecedents, for example:
The consequent of a fuzzy rule can also include multiple parts, for instance: