SlideShare a Scribd company logo
1 of 23
Fuzzy Logic
(Knowledge-Based Systems; R Akerkar, P Sajja)

Prepared By: Ashique Rasool
Fuzzy Logic
 Flexible machine learning technique
 Mimicking the logic of human thought
 Logic may have two values and represents two possible

solutions
 Fuzzy logic is a multi valued logic and allows
intermediate values to be defined
 Provides an inference mechanism which can interpret
and execute commands
 Fuzzy systems are suitable for uncertain or
approximate reasoning

Prepared By: Ashique Rasool
Fuzzy Logic Vs Bivalued Logic
 Bivalued logic can have only two possible values as 0/1,

yes/no, right/wrong etc
 Fuzzy logic can be multi valued. It can have relative
values like yes, not, not so much, a little bit etc.

Prepared By: Ashique Rasool
Characteristics of Fuzzy Logic
 Exact reasoning is viewed as a limiting case of







approximate reasoning
Everything is a matter of degree
Knowledge is interpreted as a collection of elastic or
equivalently fuzzy constraints on a collection of
variables
Inference is viewed as a process of propagating elastic
constraints
Any logical system can be fuzzified

Prepared By: Ashique Rasool
Fuzzy Set
 Let X be a non empty set, A fuzzy set A in X is

characterized by its membership function μA: X ->
[0,1], where μA(x) is the degree of membership of
element x in fuzzy set A for each x ∈ X

Prepared By: Ashique Rasool
Membership Function
 Maps elements of a fuzzy set to real numbered values

in the interval 0 to 1.
 The curve representing the mathematical function is a
membership function that determines the degree of
belonging of member x to the fuzzy set T.

Prepared By: Ashique Rasool
Fuzzification
The process of transforming crisp(bivalued) input values
into linguistic values is called fuzzification
Steps of Fuzzification:
Step 1: Input values are translated into linguistic
concepts, which are represented by fuzzy set.
Step 2: Membership functions are applied to the
measurements, and the degree of membership is
determined

Prepared By: Ashique Rasool
Defuzzification
Defuzzification converts the fuzzy values into crisp
(bivalued) value.
Example methods of defuzzification:
 Max-membership method: This method chooses
the elements with maximum value
 Centroid method: This method find the centre point
of the targeted fuzzy region by calculating the
weighted mean of the output fuzzy region
 Weighted average method: Assigns weight to each
membership function in the output by its respective
maximum membership value
Prepared By: Ashique Rasool
Operations on Fuzzy set
Intersection of Fuzzy Set
The intersection of A and B is defined as (A ∩ B)(x) =
min{A(x), B(x)} = A(x)∩B(x), ∀ x ∈ X, as demonstrated
in figure

Prepared By: Ashique Rasool
Operations on Fuzzy set
Union of Fuzzy Set
The union of A and B is defined as (A ∪ B)(x) =
max{A(x), B(x)} = A(x)∪B(x), ∀ x ∈ X, as demonstrated
in figure

Prepared By: Ashique Rasool
Operations on Fuzzy set
Complement of Fuzzy Set
The complement of a fuzzy set A is defined as (~ A)(x) =
1 - A(x) as demonstrated in figure

Prepared By: Ashique Rasool
Operations on Fuzzy set
Equality of Fuzzy Sets
Let A and B are fuzzy sets on classical set X. A and B are
said to be equal, denoted as A = B if A ⊂ B and B ⊂ A.
That is A = B, if and only if A(x) = B(x) ∀ x ∈ X

Prepared By: Ashique Rasool
Types of Fuzzy Function
Quasi-Fuzzy Membership Functions:
The membership function follows a quasi curve. A
quasi curve is a real line with a normal fuzzy
convex and a continuous membership function
satisfying the limit conditions as below:

Prepared By: Ashique Rasool
Types of Fuzzy Function
Triangular Fuzzy Membership Functions:
The membership curve follows a triangular shape
then it is triangular membership function. Fuzzy
function
A
is
called
triangular
fuzzy
function(A=a,α,β) with peak a, left width α>0 and
right width β>0

Prepared By: Ashique Rasool
Types of Fuzzy Function
Trapezoidal Fuzzy Membership Functions:
The membership curve follows a trapezoidal shape.
Fuzzy function A is called triangular fuzzy
function(A=a,α,β) with tolerance interval [a, b],
left width α and right width β

Prepared By: Ashique Rasool
Linguistic Variable
A variable whose values are words or sentences in
natural language. Example: Temperature is linguistic
variable if it takes values hot, cool, warm, comfortable
etc.
The framework of linguistic variable is given as (X, Lx, χ,
µx) where
 X denotes the symbolic name of linguistic variable
 Lx is a set of linguistic values that X can take
 χ is the physical domain that defines crisp values


µx is a fuzzy function that maps linguistic terms of
variables to the equivalent crisp values
Prepared By: Ashique Rasool
Fuzzy Propositions
A fuzzy proposition is a statement that drives a fuzzy
truth value.
 Fuzzy Connectives: Fuzzy connectives are used to
join simple fuzzy propositions to make compound
propositions. Examples of fuzzy connectives are:
 Negation
 Disjunction
 Conjunction
 Imlication

Prepared By: Ashique Rasool
Fuzzy Rules
The power and flexibility of simple If-Then-Else logic
rules is enhanced by adding linguistic parameter.
Fuzzy rules are expressed in the form:
IF variable IS set THEN action
 Examples:
 IF temperature is very cold THEN stop air conditioner
 IF temperature is normal THEN adjust air conditioner
 IF temperature is hot THEN start air conditioner

Prepared By: Ashique Rasool
Fuzzy Control System
A fuzzy control system is based on Fuzzy Logic. The
process of designing fuzzy control system can be
described using following steps
 Step 1: Identify the principal input, output and
process tasks
 Step 2: Identify linguistic variables used and define
fuzzy sets and memberships accordingly
 Step 3: Use these fuzzy sets and linguistic variables to
form procedural rules
 Step 4: Determine the defuzzification method
 Step 5: Test the system and modify if necessary
Prepared By: Ashique Rasool
Fuzzy Control System

Prepared By: Ashique Rasool
Modeling Fuzzy Systems
Fuzzy system modeling can be pursued using the
following steps
 Step 1: Choose the relative input and output variables
 Step 2: Determine the number of linguistic terms
associated with each input/output variables
 Step 3: Select a specific type of fuzzy system
 Step 4: Design a collection of fuzzy if-then rules. To
formulate initial rule base, the input space is divided
into multi dimensional partitions and then actions are
assigned to each of the partitions
Prepared By: Ashique Rasool
Limitations of Fuzzy Systems
 Fuzzy systems lack the capability of machine learning

as-well-as neural network type pattern recognition
 Verification and validation of a fuzzy knowledge-based
system require extensive testing with hardware
 Determining exact fuzzy rules and membership
functions is a hard task
 Stability is an important concern for fuzzy control

Prepared By: Ashique Rasool
Applications of Fuzzy Logic
 Automatic control system

 Prediction, diagnostic and advisory systems
 User interface and neural language processing
 Domestic appliances and embedded systems
 Soft computing and hybrid systems with artificial

neural networks
 Very Large Scale Integrated circuits (VLSI) micro
controller
 Fuzzy expert system and fuzzy inference

Prepared By: Ashique Rasool

More Related Content

What's hot (20)

Fuzzy sets
Fuzzy sets Fuzzy sets
Fuzzy sets
 
Fuzzy Set Theory
Fuzzy Set TheoryFuzzy Set Theory
Fuzzy Set Theory
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Classical relations and fuzzy relations
Classical relations and fuzzy relationsClassical relations and fuzzy relations
Classical relations and fuzzy relations
 
Fuzzy inference systems
Fuzzy inference systemsFuzzy inference systems
Fuzzy inference systems
 
Fuzzy control and its applications
Fuzzy control and its applicationsFuzzy control and its applications
Fuzzy control and its applications
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Fuzzy mathematics:An application oriented introduction
Fuzzy mathematics:An application oriented introductionFuzzy mathematics:An application oriented introduction
Fuzzy mathematics:An application oriented introduction
 
Classical Sets & fuzzy sets
Classical Sets & fuzzy setsClassical Sets & fuzzy sets
Classical Sets & fuzzy sets
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Fuzzy Sets Introduction With Example
Fuzzy Sets Introduction With ExampleFuzzy Sets Introduction With Example
Fuzzy Sets Introduction With Example
 
Fuzzy relations
Fuzzy relationsFuzzy relations
Fuzzy relations
 
L7 fuzzy relations
L7 fuzzy relationsL7 fuzzy relations
L7 fuzzy relations
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Application of fuzzy logic
Application of fuzzy logicApplication of fuzzy logic
Application of fuzzy logic
 
Fuzzy logic Notes AI CSE 8th Sem
Fuzzy logic Notes AI CSE 8th SemFuzzy logic Notes AI CSE 8th Sem
Fuzzy logic Notes AI CSE 8th Sem
 
FUZZY LOGIC
FUZZY LOGIC FUZZY LOGIC
FUZZY LOGIC
 
Fuzzy logic mis
Fuzzy logic misFuzzy logic mis
Fuzzy logic mis
 
Fuzzy Logic
Fuzzy LogicFuzzy Logic
Fuzzy Logic
 
AI - Fuzzy Logic Systems
AI - Fuzzy Logic SystemsAI - Fuzzy Logic Systems
AI - Fuzzy Logic Systems
 

Viewers also liked

Integrated Knowledge Management
Integrated Knowledge ManagementIntegrated Knowledge Management
Integrated Knowledge ManagementjaegerWM
 
1. integrated approach to knowledge management initiatives programme
1. integrated approach to knowledge management initiatives programme1. integrated approach to knowledge management initiatives programme
1. integrated approach to knowledge management initiatives programmeChe Maslina
 
Integrated knowledge management model for global application management business
Integrated knowledge management model for global application management businessIntegrated knowledge management model for global application management business
Integrated knowledge management model for global application management businessApplication Management
 
Developing Knowledge-Based Systems
Developing Knowledge-Based SystemsDeveloping Knowledge-Based Systems
Developing Knowledge-Based SystemsAshique Rasool
 
Genetic Algorithms Made Easy
Genetic Algorithms Made EasyGenetic Algorithms Made Easy
Genetic Algorithms Made EasyPrakash Pimpale
 
An Introduction to Soft Computing
An Introduction to Soft ComputingAn Introduction to Soft Computing
An Introduction to Soft ComputingTameem Ahmad
 
Soft computing (ANN and Fuzzy Logic) : Dr. Purnima Pandit
Soft computing (ANN and Fuzzy Logic)  : Dr. Purnima PanditSoft computing (ANN and Fuzzy Logic)  : Dr. Purnima Pandit
Soft computing (ANN and Fuzzy Logic) : Dr. Purnima PanditPurnima Pandit
 
Neuro-fuzzy systems
Neuro-fuzzy systemsNeuro-fuzzy systems
Neuro-fuzzy systemsSagar Ahire
 
Chapter 4 - Knowledge Management
Chapter 4 - Knowledge ManagementChapter 4 - Knowledge Management
Chapter 4 - Knowledge ManagementAshique Rasool
 
Unit I & II in Principles of Soft computing
Unit I & II in Principles of Soft computing Unit I & II in Principles of Soft computing
Unit I & II in Principles of Soft computing Sivagowry Shathesh
 
Knowledge management in theory and practice
Knowledge management in theory and practiceKnowledge management in theory and practice
Knowledge management in theory and practicethewi025
 
Fuzzy logic application (aircraft landing)
Fuzzy logic application (aircraft landing)Fuzzy logic application (aircraft landing)
Fuzzy logic application (aircraft landing)Piyumal Samarathunga
 
Genetic Algorithm by Example
Genetic Algorithm by ExampleGenetic Algorithm by Example
Genetic Algorithm by ExampleNobal Niraula
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithmgarima931
 
Types of knowledge management systems
Types of knowledge management systemsTypes of knowledge management systems
Types of knowledge management systemsNitin Reddy Katkam
 

Viewers also liked (19)

Integrated Knowledge Management
Integrated Knowledge ManagementIntegrated Knowledge Management
Integrated Knowledge Management
 
Ipm
IpmIpm
Ipm
 
1. integrated approach to knowledge management initiatives programme
1. integrated approach to knowledge management initiatives programme1. integrated approach to knowledge management initiatives programme
1. integrated approach to knowledge management initiatives programme
 
Data mining knowing the unknown
Data mining knowing the unknownData mining knowing the unknown
Data mining knowing the unknown
 
Integrated knowledge management model for global application management business
Integrated knowledge management model for global application management businessIntegrated knowledge management model for global application management business
Integrated knowledge management model for global application management business
 
Developing Knowledge-Based Systems
Developing Knowledge-Based SystemsDeveloping Knowledge-Based Systems
Developing Knowledge-Based Systems
 
Genetic Algorithms Made Easy
Genetic Algorithms Made EasyGenetic Algorithms Made Easy
Genetic Algorithms Made Easy
 
An Introduction to Soft Computing
An Introduction to Soft ComputingAn Introduction to Soft Computing
An Introduction to Soft Computing
 
Soft computing (ANN and Fuzzy Logic) : Dr. Purnima Pandit
Soft computing (ANN and Fuzzy Logic)  : Dr. Purnima PanditSoft computing (ANN and Fuzzy Logic)  : Dr. Purnima Pandit
Soft computing (ANN and Fuzzy Logic) : Dr. Purnima Pandit
 
Neuro-fuzzy systems
Neuro-fuzzy systemsNeuro-fuzzy systems
Neuro-fuzzy systems
 
Chapter 4 - Knowledge Management
Chapter 4 - Knowledge ManagementChapter 4 - Knowledge Management
Chapter 4 - Knowledge Management
 
Unit I & II in Principles of Soft computing
Unit I & II in Principles of Soft computing Unit I & II in Principles of Soft computing
Unit I & II in Principles of Soft computing
 
Knowledge management in theory and practice
Knowledge management in theory and practiceKnowledge management in theory and practice
Knowledge management in theory and practice
 
Fuzzy logic application (aircraft landing)
Fuzzy logic application (aircraft landing)Fuzzy logic application (aircraft landing)
Fuzzy logic application (aircraft landing)
 
Soft computing
Soft computingSoft computing
Soft computing
 
Genetic Algorithm by Example
Genetic Algorithm by ExampleGenetic Algorithm by Example
Genetic Algorithm by Example
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
Types of knowledge management systems
Types of knowledge management systemsTypes of knowledge management systems
Types of knowledge management systems
 

Similar to Chapter 5 - Fuzzy Logic

Optimization using soft computing
Optimization using soft computingOptimization using soft computing
Optimization using soft computingPurnima Pandit
 
Classifiers
ClassifiersClassifiers
ClassifiersAyurdata
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logicAdPatel5
 
Support Vector Machines
Support Vector MachinesSupport Vector Machines
Support Vector Machinesnextlib
 
Analytical Review of Feature Extraction Techniques for Automatic Speech Recog...
Analytical Review of Feature Extraction Techniques for Automatic Speech Recog...Analytical Review of Feature Extraction Techniques for Automatic Speech Recog...
Analytical Review of Feature Extraction Techniques for Automatic Speech Recog...IOSR Journals
 
FL-01 Introduction.pptx
FL-01 Introduction.pptxFL-01 Introduction.pptx
FL-01 Introduction.pptxSourabhRuhil4
 
Fuzzy logic by zaid da'ood
Fuzzy logic by zaid da'oodFuzzy logic by zaid da'ood
Fuzzy logic by zaid da'oodmaster student
 
Fuzzy modelling using sciFLT
Fuzzy modelling using sciFLTFuzzy modelling using sciFLT
Fuzzy modelling using sciFLTUmang Shukla
 
It is known as two-valued logic because it have only two values
It is known as two-valued logic because it have only two values It is known as two-valued logic because it have only two values
It is known as two-valued logic because it have only two values Ramjeet Singh Yadav
 
Fuzzy logic and fuzzy time series edited
Fuzzy logic and fuzzy time series   editedFuzzy logic and fuzzy time series   edited
Fuzzy logic and fuzzy time series editedProf Dr S.M.Aqil Burney
 
Optimization Of Fuzzy Bexa Using Nm
Optimization Of Fuzzy Bexa Using NmOptimization Of Fuzzy Bexa Using Nm
Optimization Of Fuzzy Bexa Using NmAshish Khetan
 

Similar to Chapter 5 - Fuzzy Logic (20)

Optimization using soft computing
Optimization using soft computingOptimization using soft computing
Optimization using soft computing
 
Fuzzy logic member functions
Fuzzy logic member functionsFuzzy logic member functions
Fuzzy logic member functions
 
Fuzzy logic1
Fuzzy logic1Fuzzy logic1
Fuzzy logic1
 
Classifiers
ClassifiersClassifiers
Classifiers
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Fuzzy
FuzzyFuzzy
Fuzzy
 
Ece478 12es_final_report
Ece478 12es_final_reportEce478 12es_final_report
Ece478 12es_final_report
 
ANFIS
ANFISANFIS
ANFIS
 
Support Vector Machines
Support Vector MachinesSupport Vector Machines
Support Vector Machines
 
Analytical Review of Feature Extraction Techniques for Automatic Speech Recog...
Analytical Review of Feature Extraction Techniques for Automatic Speech Recog...Analytical Review of Feature Extraction Techniques for Automatic Speech Recog...
Analytical Review of Feature Extraction Techniques for Automatic Speech Recog...
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
FL-01 Introduction.pptx
FL-01 Introduction.pptxFL-01 Introduction.pptx
FL-01 Introduction.pptx
 
Fuzzy logic by zaid da'ood
Fuzzy logic by zaid da'oodFuzzy logic by zaid da'ood
Fuzzy logic by zaid da'ood
 
Fuzzylogic
FuzzylogicFuzzylogic
Fuzzylogic
 
Fuzzy modelling using sciFLT
Fuzzy modelling using sciFLTFuzzy modelling using sciFLT
Fuzzy modelling using sciFLT
 
It is known as two-valued logic because it have only two values
It is known as two-valued logic because it have only two values It is known as two-valued logic because it have only two values
It is known as two-valued logic because it have only two values
 
Thesis
ThesisThesis
Thesis
 
Fuzzy logic and fuzzy time series edited
Fuzzy logic and fuzzy time series   editedFuzzy logic and fuzzy time series   edited
Fuzzy logic and fuzzy time series edited
 
Optimization Of Fuzzy Bexa Using Nm
Optimization Of Fuzzy Bexa Using NmOptimization Of Fuzzy Bexa Using Nm
Optimization Of Fuzzy Bexa Using Nm
 
FUNDAMETAL ALG.ppt
FUNDAMETAL ALG.pptFUNDAMETAL ALG.ppt
FUNDAMETAL ALG.ppt
 

Recently uploaded

Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General QuizPragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General QuizPragya - UEM Kolkata Quiz Club
 
factors influencing drug absorption-final-2.pptx
factors influencing drug absorption-final-2.pptxfactors influencing drug absorption-final-2.pptx
factors influencing drug absorption-final-2.pptxSanjay Shekar
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...Nguyen Thanh Tu Collection
 
Discover the Dark Web .pdf InfosecTrain
Discover the Dark Web .pdf  InfosecTrainDiscover the Dark Web .pdf  InfosecTrain
Discover the Dark Web .pdf InfosecTraininfosec train
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfQucHHunhnh
 
philosophy and it's principles based on the life
philosophy and it's principles based on the lifephilosophy and it's principles based on the life
philosophy and it's principles based on the lifeNitinDeodare
 
Morse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptxMorse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptxjmorse8
 
Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Celine George
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...Nguyen Thanh Tu Collection
 
How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17Celine George
 
REPRODUCTIVE TOXICITY STUDIE OF MALE AND FEMALEpptx
REPRODUCTIVE TOXICITY  STUDIE OF MALE AND FEMALEpptxREPRODUCTIVE TOXICITY  STUDIE OF MALE AND FEMALEpptx
REPRODUCTIVE TOXICITY STUDIE OF MALE AND FEMALEpptxmanishaJyala2
 
How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17Celine George
 
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...Nguyen Thanh Tu Collection
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfbu07226
 
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45MysoreMuleSoftMeetup
 
Championnat de France de Tennis de table/
Championnat de France de Tennis de table/Championnat de France de Tennis de table/
Championnat de France de Tennis de table/siemaillard
 
IATP How-to Foreign Travel May 2024.pdff
IATP How-to Foreign Travel May 2024.pdffIATP How-to Foreign Travel May 2024.pdff
IATP How-to Foreign Travel May 2024.pdff17thcssbs2
 
Open Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPointOpen Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPointELaRue0
 
ppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesashishpaul799
 

Recently uploaded (20)

Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General QuizPragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
 
factors influencing drug absorption-final-2.pptx
factors influencing drug absorption-final-2.pptxfactors influencing drug absorption-final-2.pptx
factors influencing drug absorption-final-2.pptx
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
 
Discover the Dark Web .pdf InfosecTrain
Discover the Dark Web .pdf  InfosecTrainDiscover the Dark Web .pdf  InfosecTrain
Discover the Dark Web .pdf InfosecTrain
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
 
philosophy and it's principles based on the life
philosophy and it's principles based on the lifephilosophy and it's principles based on the life
philosophy and it's principles based on the life
 
Morse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptxMorse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptx
 
Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
 
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
Operations Management - Book1.p  - Dr. Abdulfatah A. SalemOperations Management - Book1.p  - Dr. Abdulfatah A. Salem
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
 
How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17
 
REPRODUCTIVE TOXICITY STUDIE OF MALE AND FEMALEpptx
REPRODUCTIVE TOXICITY  STUDIE OF MALE AND FEMALEpptxREPRODUCTIVE TOXICITY  STUDIE OF MALE AND FEMALEpptx
REPRODUCTIVE TOXICITY STUDIE OF MALE AND FEMALEpptx
 
How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17
 
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
 
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
 
Championnat de France de Tennis de table/
Championnat de France de Tennis de table/Championnat de France de Tennis de table/
Championnat de France de Tennis de table/
 
IATP How-to Foreign Travel May 2024.pdff
IATP How-to Foreign Travel May 2024.pdffIATP How-to Foreign Travel May 2024.pdff
IATP How-to Foreign Travel May 2024.pdff
 
Open Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPointOpen Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPoint
 
ppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyes
 

Chapter 5 - Fuzzy Logic

  • 1. Fuzzy Logic (Knowledge-Based Systems; R Akerkar, P Sajja) Prepared By: Ashique Rasool
  • 2. Fuzzy Logic  Flexible machine learning technique  Mimicking the logic of human thought  Logic may have two values and represents two possible solutions  Fuzzy logic is a multi valued logic and allows intermediate values to be defined  Provides an inference mechanism which can interpret and execute commands  Fuzzy systems are suitable for uncertain or approximate reasoning Prepared By: Ashique Rasool
  • 3. Fuzzy Logic Vs Bivalued Logic  Bivalued logic can have only two possible values as 0/1, yes/no, right/wrong etc  Fuzzy logic can be multi valued. It can have relative values like yes, not, not so much, a little bit etc. Prepared By: Ashique Rasool
  • 4. Characteristics of Fuzzy Logic  Exact reasoning is viewed as a limiting case of     approximate reasoning Everything is a matter of degree Knowledge is interpreted as a collection of elastic or equivalently fuzzy constraints on a collection of variables Inference is viewed as a process of propagating elastic constraints Any logical system can be fuzzified Prepared By: Ashique Rasool
  • 5. Fuzzy Set  Let X be a non empty set, A fuzzy set A in X is characterized by its membership function μA: X -> [0,1], where μA(x) is the degree of membership of element x in fuzzy set A for each x ∈ X Prepared By: Ashique Rasool
  • 6. Membership Function  Maps elements of a fuzzy set to real numbered values in the interval 0 to 1.  The curve representing the mathematical function is a membership function that determines the degree of belonging of member x to the fuzzy set T. Prepared By: Ashique Rasool
  • 7. Fuzzification The process of transforming crisp(bivalued) input values into linguistic values is called fuzzification Steps of Fuzzification: Step 1: Input values are translated into linguistic concepts, which are represented by fuzzy set. Step 2: Membership functions are applied to the measurements, and the degree of membership is determined Prepared By: Ashique Rasool
  • 8. Defuzzification Defuzzification converts the fuzzy values into crisp (bivalued) value. Example methods of defuzzification:  Max-membership method: This method chooses the elements with maximum value  Centroid method: This method find the centre point of the targeted fuzzy region by calculating the weighted mean of the output fuzzy region  Weighted average method: Assigns weight to each membership function in the output by its respective maximum membership value Prepared By: Ashique Rasool
  • 9. Operations on Fuzzy set Intersection of Fuzzy Set The intersection of A and B is defined as (A ∩ B)(x) = min{A(x), B(x)} = A(x)∩B(x), ∀ x ∈ X, as demonstrated in figure Prepared By: Ashique Rasool
  • 10. Operations on Fuzzy set Union of Fuzzy Set The union of A and B is defined as (A ∪ B)(x) = max{A(x), B(x)} = A(x)∪B(x), ∀ x ∈ X, as demonstrated in figure Prepared By: Ashique Rasool
  • 11. Operations on Fuzzy set Complement of Fuzzy Set The complement of a fuzzy set A is defined as (~ A)(x) = 1 - A(x) as demonstrated in figure Prepared By: Ashique Rasool
  • 12. Operations on Fuzzy set Equality of Fuzzy Sets Let A and B are fuzzy sets on classical set X. A and B are said to be equal, denoted as A = B if A ⊂ B and B ⊂ A. That is A = B, if and only if A(x) = B(x) ∀ x ∈ X Prepared By: Ashique Rasool
  • 13. Types of Fuzzy Function Quasi-Fuzzy Membership Functions: The membership function follows a quasi curve. A quasi curve is a real line with a normal fuzzy convex and a continuous membership function satisfying the limit conditions as below: Prepared By: Ashique Rasool
  • 14. Types of Fuzzy Function Triangular Fuzzy Membership Functions: The membership curve follows a triangular shape then it is triangular membership function. Fuzzy function A is called triangular fuzzy function(A=a,α,β) with peak a, left width α>0 and right width β>0 Prepared By: Ashique Rasool
  • 15. Types of Fuzzy Function Trapezoidal Fuzzy Membership Functions: The membership curve follows a trapezoidal shape. Fuzzy function A is called triangular fuzzy function(A=a,α,β) with tolerance interval [a, b], left width α and right width β Prepared By: Ashique Rasool
  • 16. Linguistic Variable A variable whose values are words or sentences in natural language. Example: Temperature is linguistic variable if it takes values hot, cool, warm, comfortable etc. The framework of linguistic variable is given as (X, Lx, χ, µx) where  X denotes the symbolic name of linguistic variable  Lx is a set of linguistic values that X can take  χ is the physical domain that defines crisp values  µx is a fuzzy function that maps linguistic terms of variables to the equivalent crisp values Prepared By: Ashique Rasool
  • 17. Fuzzy Propositions A fuzzy proposition is a statement that drives a fuzzy truth value.  Fuzzy Connectives: Fuzzy connectives are used to join simple fuzzy propositions to make compound propositions. Examples of fuzzy connectives are:  Negation  Disjunction  Conjunction  Imlication Prepared By: Ashique Rasool
  • 18. Fuzzy Rules The power and flexibility of simple If-Then-Else logic rules is enhanced by adding linguistic parameter. Fuzzy rules are expressed in the form: IF variable IS set THEN action  Examples:  IF temperature is very cold THEN stop air conditioner  IF temperature is normal THEN adjust air conditioner  IF temperature is hot THEN start air conditioner Prepared By: Ashique Rasool
  • 19. Fuzzy Control System A fuzzy control system is based on Fuzzy Logic. The process of designing fuzzy control system can be described using following steps  Step 1: Identify the principal input, output and process tasks  Step 2: Identify linguistic variables used and define fuzzy sets and memberships accordingly  Step 3: Use these fuzzy sets and linguistic variables to form procedural rules  Step 4: Determine the defuzzification method  Step 5: Test the system and modify if necessary Prepared By: Ashique Rasool
  • 20. Fuzzy Control System Prepared By: Ashique Rasool
  • 21. Modeling Fuzzy Systems Fuzzy system modeling can be pursued using the following steps  Step 1: Choose the relative input and output variables  Step 2: Determine the number of linguistic terms associated with each input/output variables  Step 3: Select a specific type of fuzzy system  Step 4: Design a collection of fuzzy if-then rules. To formulate initial rule base, the input space is divided into multi dimensional partitions and then actions are assigned to each of the partitions Prepared By: Ashique Rasool
  • 22. Limitations of Fuzzy Systems  Fuzzy systems lack the capability of machine learning as-well-as neural network type pattern recognition  Verification and validation of a fuzzy knowledge-based system require extensive testing with hardware  Determining exact fuzzy rules and membership functions is a hard task  Stability is an important concern for fuzzy control Prepared By: Ashique Rasool
  • 23. Applications of Fuzzy Logic  Automatic control system  Prediction, diagnostic and advisory systems  User interface and neural language processing  Domestic appliances and embedded systems  Soft computing and hybrid systems with artificial neural networks  Very Large Scale Integrated circuits (VLSI) micro controller  Fuzzy expert system and fuzzy inference Prepared By: Ashique Rasool