Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 73

Chapter 2

CSE 231 Soft Computing


Module 2
• Fuzzy Logic: Introduction to Fuzzy logic.
Fuzzy sets and membership functions.
Operations on Fuzzy sets. Fuzzy relations,
rules, propositions, implications and
inferences. Defuzzification techniques.
Fuzzy logic controller design. Some
applications of Fuzzy logic.

CSE 231 Soft Computing 2


Outline
• Introduction to Fuzzy logic.
• Fuzzy sets and membership functions.
• Operations on Fuzzy Sets

CSE 231 Soft Computing 3


What is Fuzzy logic?

CSE 231 Soft Computing 4


A brief history of Fuzzy Logic

CSE 231 Soft Computing 5


A brief history of Fuzzy Logic

CSE 231 Soft Computing 6


Example : Fuzzy logic vs. Crisp logic

CSE 231 Soft Computing 7


Example : Fuzzy logic vs. Crisp logic

CSE 231 Soft Computing 8


Example : Fuzzy logic vs. Crisp logic

CSE 231 Soft Computing 9


World is fuzzy!

CSE 231 Soft Computing 10


Concept of fuzzy system

CSE 231 Soft Computing 11


Concept of fuzzy system

CSE 231 Soft Computing 12


Example of fuzzy set

CSE 231 Soft Computing 13


Fuzzy set vs. Crisp set

CSE 231 Soft Computing 14


Fuzzy set vs. Crisp set

CSE 231 Soft Computing 15


Example: Course evaluation in a crisp way

CSE 231 Soft Computing 16


Example: Course evaluation in a crisp way

CSE 231 Soft Computing 17


Example: Course evaluation in a fuzzy way

CSE 231 Soft Computing 18


Few examples of fuzzy set

CSE 231 Soft Computing 19


Some basic terminologies and notations

CSE 231 Soft Computing 20


Some basic terminologies and notations

CSE 231 Soft Computing 21


Membership function with discrete membership values

CSE 231 Soft Computing 22


Membership function with discrete membership values

CSE 231 Soft Computing 23


Membership function with continuous membership values

CSE 231 Soft Computing 24


Fuzzy terminologies: Support

CSE 231 Soft Computing 25


Fuzzy terminologies: Core

CSE 231 Soft Computing 26


Fuzzy terminologies: Normality

CSE 231 Soft Computing 27


Fuzzy terminologies: Crossover points

CSE 231 Soft Computing 28


Fuzzy terminologies: Fuzzy Singleton

CSE 231 Soft Computing 29


Fuzzy terminologies: α-cut and strong α-cut

CSE 231 Soft Computing 30


Fuzzy terminologies: Convexity

CSE 231 Soft Computing 31


Fuzzy terminologies: Bandwidth

CSE 231 Soft Computing 32


Fuzzy terminologies: Symmetry

CSE 231 Soft Computing 33


Fuzzy terminologies: Open and Closed

CSE 231 Soft Computing 34


Fuzzy vs. Probability

CSE 231 Soft Computing 35


Prediction vs. Forecasting

CSE 231 Soft Computing 36


Fuzzy membership functions

CSE 231 Soft Computing 37


Fuzzy membership functions

CSE 231 Soft Computing 38


Fuzzy MFs : Formulation and parameterization

CSE 231 Soft Computing 39


CSE 231 Soft Computing 40
Fuzzy MFs: Trapezoidal

CSE 231 Soft Computing 41


CSE 231 Soft Computing 42
Fuzzy MFs: Gaussian

CSE 231 Soft Computing 43


Fuzzy MFs: Generalized bell

CSE 231 Soft Computing 44


Example: Generalized bell MFs

CSE 231 Soft Computing 45


Generalized bell MFs: Different shapes

CSE 231 Soft Computing 46


Fuzzy MFs: Sigmoidal MFs

CSE 231 Soft Computing 47


Fuzzy MFs : Example

CSE 231 Soft Computing 48


Grading System

CSE 231 Soft Computing 49


Operations on Fuzzy Sets

CSE 231 Soft Computing 50


Basic fuzzy set operations: Union

CSE 231 Soft Computing 51


Basic fuzzy set operations: Intersection

CSE 231 Soft Computing 52


Basic fuzzy set operations: Complement

CSE 231 Soft Computing 53


Basic fuzzy set operations: Products

CSE 231 Soft Computing 54


Basic fuzzy set operations: Sum and Difference

CSE 231 Soft Computing 55


Basic fuzzy set operations: Equality and Power

CSE 231 Soft Computing 56


Basic fuzzy set operations: Cartesian product

CSE 231 Soft Computing 57


Properties of fuzzy sets

CSE 231 Soft Computing 58


Properties of fuzzy sets

CSE 231 Soft Computing 59


Few Illustrations on Fuzzy Sets

CSE 231 Soft Computing 60


Example 1: Fuzzy Set Operations

CSE 231 Soft Computing 61


Example 1: Plotting two sets on the same graph

CSE 231 Soft Computing 62


Example 1: Union and Intersection

CSE 231 Soft Computing 63


Example 1: Intersection

CSE 231 Soft Computing 64


Fuzzy set operations: Practice

CSE 231 Soft Computing 65


Example 2: A real-life example

CSE 231 Soft Computing 66


Example 2: A real-life example

CSE 231 Soft Computing 67


Example 2: A real-life example

CSE 231 Soft Computing 68


Few More on Membership
Functions

CSE 231 Soft Computing 69


Generation of MFs

CSE 231 Soft Computing 70


Linguistic variables and values

CSE 231 Soft Computing 71


Find MFs formula

CSE 231 Soft Computing 72

You might also like