SlideShare a Scribd company logo
1 of 24
Soft Computing
Fuzzy Logic
FUZZY LOGIC
Motivation
• Modeling of imprecise concepts
E.g. age, weight, height,…
• Modeling of imprecise dependencies (e.g. rules), e.g. if
Temperature is high and Oil is cheap then I will turn-on the
generator
• Origin of information
- Modeling of expert knowledge
-Representation of information extracted from
inherentedly imprecise data
FUZZY LOGIC
To quantify and reason about fuzzy or vague terms of natural
language
Example: hot, cold temperature
small, medium, tall height
creeping, slow, fast speed
Fuzzy Variable
A concept that usually has vague (or fuzzy) values
Example: age, temperature, height, speed
FUZZY LOGIC
Universe of Discourse
Range of possible values of a fuzzy variable
Example: Speed: 0 to 100 mph
FUZZY LOGIC
Fuzzy Set (Value)
Let X be a universe of discourse of a fuzzy variable and x be
its elements
One or more fuzzy sets (or values) Ai can be defined over X
Example: Fuzzy variable: Age
Universe of discourse: 0 – 120 years
Fuzzy values: Child, Young, Old
A fuzzy set A is characterized by a membership function
µA(x) that associates each element x with a degree of
membership value in A
The value of membership is between 0 and 1 and it
represents the degree to which an element x belongs
to the fuzzy set A
FUZZY LOGIC
Fuzzy Set (Value)
In traditional set theory, an object is either in a set or not in a
set (0 or 1), and there are no partial memberships
Such sets are called “crisp sets”
FUZZY LOGIC
Fuzzy Set Representation
Fuzzy Set A = (a1, a2, … an)
ai = µA(xi)
xi = an element of X
X = universe of discourse
For clearer representation
A = (a1/x1, a2/x2, …, an/xn)
Example: Tall = (0/5’, 0.25/5.5’, 0.9/5.75’, 1/6’, 1/7’, …)
FUZZY LOGIC
Fuzzy Set Representation
For a continuous set of elements, we need some function to
map the elements to their membership values
Typical functions: sigmoid, gaussian
FUZZY LOGIC
Formation of Fuzzy Sets
• Opinion of a single person
• Average of opinion of a set of persons
• Other methods (e.g. function approximation from data
by neural networks)
• Modification of existing fuzzy sets
- Hedges
- Application of Fuzzy set operators
FUZZY LOGIC
Formation of Fuzzy Sets
Hedges: Modification of existing fuzzy sets to account for
some added adverbs
Types:
Concentration (very)
Square of memberships Conc(µA(x)) = [µA(x)]2
reduces small memberships values
0.1 changes to 0.01 (10 times reduction)
0.9 changes to 0.81 (0.1 times reduction)
Example: very tall
FUZZY LOGIC
Formation of Fuzzy Sets
Dilation (somewhat)
Square root of memberships
Dil(µA(x)) = [µA(x)]1/2
increases small memberships values
0.09 changes to 0.3
0.81 changes to 0.9
Example: somewhat tall
FUZZY LOGIC
Fuzzy Sets Operations
Intersection (A  B)
In classical set theory the intersection of two sets contains
those elements that are common to both
In fuzzy set theory, the value of those elements in the
intersection:
µA  B(x) = min [µA(x), µB(x)]
e.g. Tall = (0/5, 0.1/5.25, 0.5/5.5, 0.8/5.75, 1/6)
Short = (1/5, 0.8/5.25, 0.5/5.5, 0.1/5.75, 0/6)
Tall  Short = (0/5, 0.1/5.25, 0.5/5.5, 0.1/5.75, 0/6)
= Medium
FUZZY LOGIC
Fuzzy Sets Operations
Union (A  B)
In classical set theory the union of two sets contains those
elements that are in any one of the two sets
In fuzzy set theory, the value of those elements in the union:
µA  B(x) = max [µA(x), µB(x)]
e.g. Tall = (0/5, 0.1/5.25, 0.5/5.5, 0.8/5.75, 1/6)
Short = (1/5, 0.8/5.25, 0.5/5.5, 0.1/5.75)
Tall  Short = (1/5, 0.8/5.25, 0.5/5.5, 0.8/5.75, 1/6)
= not Medium
FUZZY LOGIC
Fuzzy Sets Operations
Complement (A)
In fuzzy set theory, the value of complement of A is:
µ  A(x) = 1 - µA(x)
e.g. Tall = (0/5, 0.1/5.25, 0.5/5.5, 0.8/5.75, 1/6)
 Tall = (1/5, 0.9/5.25, 0.5/5.5, 0.2/5.75, 0/6)
FUZZY RULES
Fuzzy Rules
Relates two or more fuzzy propositions
If X is A then Y is B
e.g. if height is tall then weight is heavy
X and Y are fuzzy variables
A and B are fuzzy sets
FUZZY LOGIC
Fuzzy Relations
Classical relation between two universes
U = {1, 2} and V = {a, b, c} is defined as:
a b c
R = U x V = 1 1 1 1
2 1 1 1
Example:
U = Weight (normal, over)
V = Height (short, med, tall)
FUZZY LOGIC
Fuzzy Relations
Fuzzy relation between two universes U and V is defined as:
µR (u, v) = µAxB (u, v) = min [µA (u), µB (v)]
i.e. we take the minimum of the memberships of the two
elements which are to be related
FUZZY LOGIC
Fuzzy Relations
Example:
Determine fuzzy relation between A1 and A2
A1 = 0.2/x1 + 0.9/x2
A2 = 0.3/y1 + 0.5/y2 + 1/y3
The fuzzy relation R is
R = A1 x A2 = 0.2 x 0.3 0.5 1
0.9
FUZZY LOGIC
Fuzzy Relations
Example:
R = A1 x A2 = 0.2 x 0.3 0.5 1
0.9
= min(0.2, 0.3) min(0.2, 0.5) min(0.2, 1)
min(0.9, 0.3) min(0.9, 0.5) min(0.9, 1)
= 0.2 0.2 0.2
0.3 0.5 0.9
FUZZY LOGIC
Fuzzy Relations
R = R(A1, A2)
= 0.2 0.2 0.2
0.3 0.5 0.9
A1
A2
a11
(0.2)
a12
(0.9)
a22
(0.5
)
a21
(0.3
) 0.2 0.3
0.2 0.5
a23
(1.0
)
0.2
0.9
FUZZY RULES
Fuzzy Associative Matrix
So for the fuzzy rule:
If X is A then Y is B
We can define a fuzzy matrix M(nxp) which relates A to B
M = A x B
It maps fuzzy set A to fuzzy set B and is used in the fuzzy
inference process
FUZZY RULES
Fuzzy Associative Matrix
Concept behind M
a1  b1 a1  b2 …
a2  b1 …
.
.
.
If a1 is true then b1 is true; and so on
FUZZY RULES
Approximate Reasoning
Example: Let there be a fuzzy associative matrix M for the
rule: if A then B
e.g. If Temperature is normal then Speed is medium
Let A = [0/100, 0.5/125, 1/150, 0.5/175, 0/200]
B = [0/10, 0.6/20, 1/30, 0.6/40, 0/50]
FUZZY RULES
Approximate Reasoning: Max-Min Inference
Let A = [0/100, 0.5/125, 1/150, 0.5/175, 0/200]
B = [0/10, 0.6/20, 1/30, 0.6/40, 0/50]
then
M = (0, 0) (0, 0.6) . . .
(0.5, 0) . . .
.
.
.
= 0 0 0 0 0
0 0.5 0.5 0.5 0 by taking the minimum
0 0.6 1 0.6 0 of each pair
0 0.5 0.5 0.5 0
0 0 0 0 0

More Related Content

Similar to - Fuzzy Systems -II.pptx

Fuzzy Set Theory
Fuzzy Set TheoryFuzzy Set Theory
Fuzzy Set TheoryAMIT KUMAR
 
Lec09- AI
Lec09- AILec09- AI
Lec09- AIdrmbalu
 
block-mdp-masters-defense.pdf
block-mdp-masters-defense.pdfblock-mdp-masters-defense.pdf
block-mdp-masters-defense.pdfJunghyun Lee
 
Machine learning (1)
Machine learning (1)Machine learning (1)
Machine learning (1)NYversity
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
Fuzzy relations
Fuzzy relationsFuzzy relations
Fuzzy relationsnaugariya
 
Fuzzy modelling using sciFLT
Fuzzy modelling using sciFLTFuzzy modelling using sciFLT
Fuzzy modelling using sciFLTUmang Shukla
 
Fuzzy Logic Ppt
Fuzzy Logic PptFuzzy Logic Ppt
Fuzzy Logic Pptrafi
 
Introduction to Artificial Intelligence
Introduction to Artificial IntelligenceIntroduction to Artificial Intelligence
Introduction to Artificial IntelligenceManoj Harsule
 
Optimization Of Fuzzy Bexa Using Nm
Optimization Of Fuzzy Bexa Using NmOptimization Of Fuzzy Bexa Using Nm
Optimization Of Fuzzy Bexa Using NmAshish Khetan
 
Some New Operations on Fuzzy Soft Sets
Some New Operations on Fuzzy Soft SetsSome New Operations on Fuzzy Soft Sets
Some New Operations on Fuzzy Soft SetsIJMER
 
Principal Component Analysis PCA
Principal Component Analysis PCAPrincipal Component Analysis PCA
Principal Component Analysis PCAAbdullah al Mamun
 
Resources
ResourcesResources
Resourcesbutest
 
principle component analysis.pptx
principle component analysis.pptxprinciple component analysis.pptx
principle component analysis.pptxwahid ullah
 

Similar to - Fuzzy Systems -II.pptx (20)

Ch02 fuzzyrelation
Ch02 fuzzyrelationCh02 fuzzyrelation
Ch02 fuzzyrelation
 
Fuzzy sets
Fuzzy sets Fuzzy sets
Fuzzy sets
 
Fuzzy Set Theory
Fuzzy Set TheoryFuzzy Set Theory
Fuzzy Set Theory
 
9966850
99668509966850
9966850
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Fuzzy logic1
Fuzzy logic1Fuzzy logic1
Fuzzy logic1
 
Lec09- AI
Lec09- AILec09- AI
Lec09- AI
 
block-mdp-masters-defense.pdf
block-mdp-masters-defense.pdfblock-mdp-masters-defense.pdf
block-mdp-masters-defense.pdf
 
Machine learning (1)
Machine learning (1)Machine learning (1)
Machine learning (1)
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
 
Fuzzy relations
Fuzzy relationsFuzzy relations
Fuzzy relations
 
Fuzzy modelling using sciFLT
Fuzzy modelling using sciFLTFuzzy modelling using sciFLT
Fuzzy modelling using sciFLT
 
Fuzzy Logic Ppt
Fuzzy Logic PptFuzzy Logic Ppt
Fuzzy Logic Ppt
 
Introduction to Artificial Intelligence
Introduction to Artificial IntelligenceIntroduction to Artificial Intelligence
Introduction to Artificial Intelligence
 
Optimization Of Fuzzy Bexa Using Nm
Optimization Of Fuzzy Bexa Using NmOptimization Of Fuzzy Bexa Using Nm
Optimization Of Fuzzy Bexa Using Nm
 
Some New Operations on Fuzzy Soft Sets
Some New Operations on Fuzzy Soft SetsSome New Operations on Fuzzy Soft Sets
Some New Operations on Fuzzy Soft Sets
 
Principal Component Analysis PCA
Principal Component Analysis PCAPrincipal Component Analysis PCA
Principal Component Analysis PCA
 
Resources
ResourcesResources
Resources
 
ANFIS
ANFISANFIS
ANFIS
 
principle component analysis.pptx
principle component analysis.pptxprinciple component analysis.pptx
principle component analysis.pptx
 

More from Ramya Nellutla

artificial Intelligence unit1 ppt (1).ppt
artificial Intelligence unit1 ppt (1).pptartificial Intelligence unit1 ppt (1).ppt
artificial Intelligence unit1 ppt (1).pptRamya Nellutla
 
Deep network notes.pdf
Deep network notes.pdfDeep network notes.pdf
Deep network notes.pdfRamya Nellutla
 
pentration testing.pdf
pentration testing.pdfpentration testing.pdf
pentration testing.pdfRamya Nellutla
 
- Social Engineering Unit- II Part- I.pdf
- Social Engineering Unit- II Part- I.pdf- Social Engineering Unit- II Part- I.pdf
- Social Engineering Unit- II Part- I.pdfRamya Nellutla
 
Unit-3-Part-1 [Autosaved].ppt
Unit-3-Part-1 [Autosaved].pptUnit-3-Part-1 [Autosaved].ppt
Unit-3-Part-1 [Autosaved].pptRamya Nellutla
 
E5-roughsets unit-V.pdf
E5-roughsets unit-V.pdfE5-roughsets unit-V.pdf
E5-roughsets unit-V.pdfRamya Nellutla
 
SC01_IntroductionSC-Unit-I.ppt
SC01_IntroductionSC-Unit-I.pptSC01_IntroductionSC-Unit-I.ppt
SC01_IntroductionSC-Unit-I.pptRamya Nellutla
 

More from Ramya Nellutla (11)

artificial Intelligence unit1 ppt (1).ppt
artificial Intelligence unit1 ppt (1).pptartificial Intelligence unit1 ppt (1).ppt
artificial Intelligence unit1 ppt (1).ppt
 
Deep network notes.pdf
Deep network notes.pdfDeep network notes.pdf
Deep network notes.pdf
 
pentration testing.pdf
pentration testing.pdfpentration testing.pdf
pentration testing.pdf
 
Deep Learning.pptx
Deep Learning.pptxDeep Learning.pptx
Deep Learning.pptx
 
Unit-I PPT.pdf
Unit-I PPT.pdfUnit-I PPT.pdf
Unit-I PPT.pdf
 
- Social Engineering Unit- II Part- I.pdf
- Social Engineering Unit- II Part- I.pdf- Social Engineering Unit- II Part- I.pdf
- Social Engineering Unit- II Part- I.pdf
 
Datamodels.pptx
Datamodels.pptxDatamodels.pptx
Datamodels.pptx
 
Unit-3-Part-1 [Autosaved].ppt
Unit-3-Part-1 [Autosaved].pptUnit-3-Part-1 [Autosaved].ppt
Unit-3-Part-1 [Autosaved].ppt
 
E5-roughsets unit-V.pdf
E5-roughsets unit-V.pdfE5-roughsets unit-V.pdf
E5-roughsets unit-V.pdf
 
Unit-3.pptx
Unit-3.pptxUnit-3.pptx
Unit-3.pptx
 
SC01_IntroductionSC-Unit-I.ppt
SC01_IntroductionSC-Unit-I.pptSC01_IntroductionSC-Unit-I.ppt
SC01_IntroductionSC-Unit-I.ppt
 

Recently uploaded

Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdfKamal Acharya
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxSCMS School of Architecture
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesMayuraD1
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksMagic Marks
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdfKamal Acharya
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Air Compressor reciprocating single stage
Air Compressor reciprocating single stageAir Compressor reciprocating single stage
Air Compressor reciprocating single stageAbc194748
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwaitjaanualu31
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...HenryBriggs2
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086anil_gaur
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...Health
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projectssmsksolar
 

Recently uploaded (20)

Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic Marks
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Air Compressor reciprocating single stage
Air Compressor reciprocating single stageAir Compressor reciprocating single stage
Air Compressor reciprocating single stage
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 

- Fuzzy Systems -II.pptx

  • 2. FUZZY LOGIC Motivation • Modeling of imprecise concepts E.g. age, weight, height,… • Modeling of imprecise dependencies (e.g. rules), e.g. if Temperature is high and Oil is cheap then I will turn-on the generator • Origin of information - Modeling of expert knowledge -Representation of information extracted from inherentedly imprecise data
  • 3. FUZZY LOGIC To quantify and reason about fuzzy or vague terms of natural language Example: hot, cold temperature small, medium, tall height creeping, slow, fast speed Fuzzy Variable A concept that usually has vague (or fuzzy) values Example: age, temperature, height, speed
  • 4. FUZZY LOGIC Universe of Discourse Range of possible values of a fuzzy variable Example: Speed: 0 to 100 mph
  • 5. FUZZY LOGIC Fuzzy Set (Value) Let X be a universe of discourse of a fuzzy variable and x be its elements One or more fuzzy sets (or values) Ai can be defined over X Example: Fuzzy variable: Age Universe of discourse: 0 – 120 years Fuzzy values: Child, Young, Old A fuzzy set A is characterized by a membership function µA(x) that associates each element x with a degree of membership value in A The value of membership is between 0 and 1 and it represents the degree to which an element x belongs to the fuzzy set A
  • 6. FUZZY LOGIC Fuzzy Set (Value) In traditional set theory, an object is either in a set or not in a set (0 or 1), and there are no partial memberships Such sets are called “crisp sets”
  • 7. FUZZY LOGIC Fuzzy Set Representation Fuzzy Set A = (a1, a2, … an) ai = µA(xi) xi = an element of X X = universe of discourse For clearer representation A = (a1/x1, a2/x2, …, an/xn) Example: Tall = (0/5’, 0.25/5.5’, 0.9/5.75’, 1/6’, 1/7’, …)
  • 8. FUZZY LOGIC Fuzzy Set Representation For a continuous set of elements, we need some function to map the elements to their membership values Typical functions: sigmoid, gaussian
  • 9. FUZZY LOGIC Formation of Fuzzy Sets • Opinion of a single person • Average of opinion of a set of persons • Other methods (e.g. function approximation from data by neural networks) • Modification of existing fuzzy sets - Hedges - Application of Fuzzy set operators
  • 10. FUZZY LOGIC Formation of Fuzzy Sets Hedges: Modification of existing fuzzy sets to account for some added adverbs Types: Concentration (very) Square of memberships Conc(µA(x)) = [µA(x)]2 reduces small memberships values 0.1 changes to 0.01 (10 times reduction) 0.9 changes to 0.81 (0.1 times reduction) Example: very tall
  • 11. FUZZY LOGIC Formation of Fuzzy Sets Dilation (somewhat) Square root of memberships Dil(µA(x)) = [µA(x)]1/2 increases small memberships values 0.09 changes to 0.3 0.81 changes to 0.9 Example: somewhat tall
  • 12. FUZZY LOGIC Fuzzy Sets Operations Intersection (A  B) In classical set theory the intersection of two sets contains those elements that are common to both In fuzzy set theory, the value of those elements in the intersection: µA  B(x) = min [µA(x), µB(x)] e.g. Tall = (0/5, 0.1/5.25, 0.5/5.5, 0.8/5.75, 1/6) Short = (1/5, 0.8/5.25, 0.5/5.5, 0.1/5.75, 0/6) Tall  Short = (0/5, 0.1/5.25, 0.5/5.5, 0.1/5.75, 0/6) = Medium
  • 13. FUZZY LOGIC Fuzzy Sets Operations Union (A  B) In classical set theory the union of two sets contains those elements that are in any one of the two sets In fuzzy set theory, the value of those elements in the union: µA  B(x) = max [µA(x), µB(x)] e.g. Tall = (0/5, 0.1/5.25, 0.5/5.5, 0.8/5.75, 1/6) Short = (1/5, 0.8/5.25, 0.5/5.5, 0.1/5.75) Tall  Short = (1/5, 0.8/5.25, 0.5/5.5, 0.8/5.75, 1/6) = not Medium
  • 14. FUZZY LOGIC Fuzzy Sets Operations Complement (A) In fuzzy set theory, the value of complement of A is: µ  A(x) = 1 - µA(x) e.g. Tall = (0/5, 0.1/5.25, 0.5/5.5, 0.8/5.75, 1/6)  Tall = (1/5, 0.9/5.25, 0.5/5.5, 0.2/5.75, 0/6)
  • 15. FUZZY RULES Fuzzy Rules Relates two or more fuzzy propositions If X is A then Y is B e.g. if height is tall then weight is heavy X and Y are fuzzy variables A and B are fuzzy sets
  • 16. FUZZY LOGIC Fuzzy Relations Classical relation between two universes U = {1, 2} and V = {a, b, c} is defined as: a b c R = U x V = 1 1 1 1 2 1 1 1 Example: U = Weight (normal, over) V = Height (short, med, tall)
  • 17. FUZZY LOGIC Fuzzy Relations Fuzzy relation between two universes U and V is defined as: µR (u, v) = µAxB (u, v) = min [µA (u), µB (v)] i.e. we take the minimum of the memberships of the two elements which are to be related
  • 18. FUZZY LOGIC Fuzzy Relations Example: Determine fuzzy relation between A1 and A2 A1 = 0.2/x1 + 0.9/x2 A2 = 0.3/y1 + 0.5/y2 + 1/y3 The fuzzy relation R is R = A1 x A2 = 0.2 x 0.3 0.5 1 0.9
  • 19. FUZZY LOGIC Fuzzy Relations Example: R = A1 x A2 = 0.2 x 0.3 0.5 1 0.9 = min(0.2, 0.3) min(0.2, 0.5) min(0.2, 1) min(0.9, 0.3) min(0.9, 0.5) min(0.9, 1) = 0.2 0.2 0.2 0.3 0.5 0.9
  • 20. FUZZY LOGIC Fuzzy Relations R = R(A1, A2) = 0.2 0.2 0.2 0.3 0.5 0.9 A1 A2 a11 (0.2) a12 (0.9) a22 (0.5 ) a21 (0.3 ) 0.2 0.3 0.2 0.5 a23 (1.0 ) 0.2 0.9
  • 21. FUZZY RULES Fuzzy Associative Matrix So for the fuzzy rule: If X is A then Y is B We can define a fuzzy matrix M(nxp) which relates A to B M = A x B It maps fuzzy set A to fuzzy set B and is used in the fuzzy inference process
  • 22. FUZZY RULES Fuzzy Associative Matrix Concept behind M a1  b1 a1  b2 … a2  b1 … . . . If a1 is true then b1 is true; and so on
  • 23. FUZZY RULES Approximate Reasoning Example: Let there be a fuzzy associative matrix M for the rule: if A then B e.g. If Temperature is normal then Speed is medium Let A = [0/100, 0.5/125, 1/150, 0.5/175, 0/200] B = [0/10, 0.6/20, 1/30, 0.6/40, 0/50]
  • 24. FUZZY RULES Approximate Reasoning: Max-Min Inference Let A = [0/100, 0.5/125, 1/150, 0.5/175, 0/200] B = [0/10, 0.6/20, 1/30, 0.6/40, 0/50] then M = (0, 0) (0, 0.6) . . . (0.5, 0) . . . . . . = 0 0 0 0 0 0 0.5 0.5 0.5 0 by taking the minimum 0 0.6 1 0.6 0 of each pair 0 0.5 0.5 0.5 0 0 0 0 0 0