ISC_Unit_I_Topic-3
ISC_Unit_I_Topic-3
Fuzzy Logic
Fuzzy logic (FL) is an essential component of soft computing.
FL is a mathematical language to express something which is
meaningful to others.
Like FL, there are some other mathematical languages:
Relational algebra
Boolean logic
Predicate logic or algebra
Fuzzy Set/Algebra
So FL essentially combined the different algebra like: Relational
Algebra + Boolean Algebra + Predicate Algebra
Fuzzy:
Dictionary meaning of fuzzy is Not Clear, Noisy etc.
Ex: is the picture on this slide is CLEAR/FUZZY
Ex: image is NOISY/FUZZY
Ex: when we distinguish the regions / circle of boundary regards
separation clearly/not clear/fuzzyly
Yes / No
CRISP ANSWER
True / False
Here, If we ask something and answer to that question and if it has the
clear meaning then we can say answer has Crisp answer. Usually
express either Yes/No or True /False.
MILK YES
WATER
A Liquid CRISP
COCA
SPRITE NO
Is liquid
colorless?
Is person Extremely
honest ? Dishonest
Fuzzy System(FS):-
If we describe a system in the way of Fuzzy decides then the system is
called FUZZY SYSTEM.
FS contains:
Fuzzy Elements
Fuzzy Sets (One or more fuzzy elements)
Fuzzy Rules ( Many fuzzy sets connected)
Fuzzy Implications (Many fuzzy rules)
Crisp Set(CS):-
Ex: X = CS and denotes entire population of India
H = Another set denotes all Hindu population
M = Another set denotes all Muslim population
Universe of discourse X
H
M
Here, all are the sets of finite numbers of individuals. Such a set called
Crisp Set. And X is universe of discourse (region)
NOTES :
A crisp set is a fuzzy set but a fuzzy set is not crisp set.
In fuzzy set membership value is mentioned between 0 & 1 both
inclusive.
In case of crisp set the elements are with extreme values of degree of
membership namely either 1/0
Crisp Set Fuzzy Set
1. S = {s | s X} 1. F = (s, μ) | s X and μ(s) is the
2. It is a collection of elements. degree of s.
3. Inclusion of an element s X 2. It is collection of ordered
into S is crisp, that is, has strict pairs.
boundary yes or no. 3. Inclusion of an element s X into
F is fuzzy, that is, if present, then
with a degree of
membership.
14 Department of CSE, GIET University, Gunupur Thursday, February 27, 2025
Soft Computing Fuzzy Membership
Degree of Membership:
The way through which membership value can be decided and who
can decide these membership values for each element belongs to fuzzy
set.
How to decide the degree of memberships of elements in a fuzzy set?
Degree of Membership:
Example: How Course evaluation in Crisp / Fuzzy Way?
Crisp Graph
Fuzzy Graph
High Temperature
Low Pressure
Colour of Apple
Sweetness of Orange
Weight of Mango
Note: Degree of membership values lie in the range [0...1].
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:
X = All cities in India
A = City of comfort
A={(New Delhi, 0.7), (Bangalore, 0.9), (Chennai, 0.8), (Hyderabad,
0.6), (Kolkata, 0.3), (Kharagpur, 0)}
Core: The core of a fuzzy set A is the set of all points x in X such that
μA(x) = 1
Note :
A is convex if all its α - level sets are convex.
Convexity (Aα) → Aα is composed of a single line segment only.
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 :
A fuzzy set A is symmetric if its membership function around a
certain point x = c, namely μA(x + c) = μA(x - c) for all x X.
A fuzzy set A is
Open left
If = 1 and = 0
Open right:
If = 0 and = 1
Closed
If = = 0
Fuzzy Logic: Fuzzy logic deals with ambiguity and vagueness. When
we say about certainty of a thing.
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.