SlideShare a Scribd company logo
1 of 26
Prepared by
Sharath B.K
S8 CS B
12120079
FUZZY LOGIC
Fuzzy Sets
School Of Engineering ,CUSAT 2
• Introduced by Lotfi AZadeh in 1960’s
• Used to represent sets where boundary of information is
unclear
• To account for concepts used in human reasoning which are
vague and imprecise
• In traditional logic elements can belong to the set or not
• In fuzzy logic for each element a strength of membership/
Degree of membership is associated
Example
School Of Engineering ,CUSAT 3
● Fuzzy set is very convenient method for
representing some form of uncertainty
● For example: the weather today
● Sunny: If we define any cloud cover of 25%
or less is sunny
● This means that a cloud cover of 26% is not
sunny?
● Vagueness should be introduced
Difference
School Of Engineering ,CUSAT 4
• Ordinary Sets-Only two values possible
• Membership of element ‘x’in set Ais described by a
characteristic function μ A(x) which can be either 0 or 1
• Fuzzy sets – Extends this using partial membership
• A fuzzy set Aon a universe of discourse U is
characterized by a membership function μA(x)
that takes values in the interval [0, 1]
Fuzzy Example - Tall
• Afuzzy set Ain U may be represented as a set of ordered
pairs. Each pair consists of a generic element x and its grade
of membership function; that is
Ordinary Set
School Of Engineering ,CUSAT 5
Fuzzy Set
Fuzzy Membership Functions
School Of Engineering ,CUSAT 6
• One of the key issues in all fuzzy sets is how to
determine fuzzy membership functions
• Amembership function provides a measure of
the degree of similarity of an element to a fuzzy
set
• Membership functions can take any form, but
there are some common examples that appear in
real applications
Fuzzy sets- subset
• Given two fuzzy set A,B defined on the Universe of
Discourse X, then A is a subset of B denoted by
A  B x X
• Iff μ A(x) ≤ μ B(x) for all
AB iff AB A and AB B forany
School Of Engineering ,CUSAT 7
Fuzzy Complement
School Of Engineering ,CUSAT 8
• This is the same in fuzzy logic as for Boolean logic
• For a fuzzy set A, A’ denotes the fuzzy complement of
A
• Membership function for fuzzy complement is
 ( x )  1   A ( x )
A
Fuzzy Intersection
School Of Engineering ,CUSAT 9
• Most commonly adopted t-norm is the minimum
• Given two fuzzy sets A and B with membership functions
µA(x) and µB(x), the intersection A and B defined over the
same universe of discourse X is a new fuzzy set A∩B also on
X with membership function which is the minimum of the
grades of membership function of every x to A and B
AB (x)  min( A (x), B (x))
Fuzzy Union
School Of Engineering ,CUSAT 10
• Given two fuzzy sets A and B with membership functions
µA(x) and µB(x), the union A and B defined over the same
universe of discourse X is a new fuzzy set A𝖴B also on X
with membership function which is the maximum of the
grades of membership function of every x to Aand B
• μ A𝖴B(x) ≡ max(μA(x),μB(x))
Example Problem 1
School Of Engineering ,CUSAT 11
Let U = { 1,2,3,4,5,6,7}
A= { (3, 0.7), (5, 1), (6, 0.8) } and
B = {(3, 0.9), (4, 1), (6, 0.6) }
Find A  B,A  B, B-A and A
’
A B = { (3, 0.7), (6, 0.6) }
A  B = { (3, 0.9), (4, 1), (5, 1), (6, 0.8) }
A
’= {(1, 1),(2, 1), (3, 0.3), (4, 1), (6, 0.2),(7, 1)}
B-A = { (3, 0.3), (4, 1), (6, 0.2)}
Fuzzy Logic Laws
School Of Engineering ,CUSAT 12
• Intersection distributive over union...
A(BC)(x)  (AB)(AC)(x)
min[A,max(B,C) ]=max[ min(A,B), min(A,C) ]
• Union distributive over intersection...
A(BC) (x)  (AB)( AC) (x)
max[ A,min(B,C) ]= min[ max(A,B), max(A,C)]
Fuzzy Logic Laws
• Obeys Demorgan’s Laws
(AB) AB
u (x)  u (x)
AB
School Of Engineering ,CUSAT 13
u (x) u (x)
(AB)
Fuzzy Logic Laws Contd..
• Fails The Law Contradiction
A  A  
• Thus, (the set of numbers closeto 2) AND (the set of numbers
not closeto 2)  null set
School Of Engineering ,CUSAT 14
Other Results
School Of Engineering ,CUSAT 15
• 𝐴 ∪ 𝐴̅ ≠ X
• 𝐴 ß ∅ = ∅
• 𝐴 ∪ ∅ = 𝐴
• 𝐴 ß 𝑋 = 𝐴
• 𝐴 ∪ 𝑋= X
Basic Operations
School Of Engineering ,CUSAT 16
● For reshaping the membership functions
– Dilation (DIL) : increases the degree of
membership of all members by spreading out the
curve DIL(A)=(uA(x))1/2 for all x in U
– Concentration (CON): Decreases the degree of
membership of all members
CON(A)=uA(x)2 for all x in U
– Normalization (NORM) : discriminates all
membership degree in the same order unless
maximum value of any member is 1. Computed as:
µA(x) / max (µA(x)), x  X
Graphical representation
• Concentration
• Dilation
• Intensification
School Of Engineering ,CUSAT 17
Reasoning with Fuzzy Logic
School Of Engineering ,CUSAT 18
• Premise A
• Implication relation R(x,y)
• Conclusion B’
• Fuzzy value A
’matches approximately with A
Inference Procedure
School Of Engineering ,CUSAT 19
Example
School Of Engineering ,CUSAT 20
• Premise : This banana is very yellow
• Implication : If a banana is yellow then the banana is ripe
• Conclusion : This banana is very ripe
Inference
School Of Engineering ,CUSAT 21
• Zadeh’s compositional rule of inference
• If RA(x),RB(x,y), Rc(y) are fuzzy relations in X, X x Yand
Yresp.
• Rc(y)=RA(x) º RB(x,y) where º signifies the composition of
A& B
• Commonly used method for composition
is Max-Min
• Rc(y)=maxx min {uA(x), uB(x,y)}
Inference Example
X=Y={1,2,3,4}
A={little}={(1/1),(2/0.6),(3/0.2),(4/0)}
R=approximately equal, in fuzzy relation
defined by
School Of Engineering ,CUSAT 22
Inference Example contd..
School Of Engineering ,CUSAT 23
Rc(y)=maxx min {uA(x), uR(x,y)}
= maxx {min [(1,1),(0.6,0.5),(0.2,0), (0,0)] ,
min [(1,0.5),(0.6,1),(0.2,0.5), (0,0)]
min [(1,0),(0.6,0.5),(0.2,1), (0,0.5)]
min [(1,0),(0.6,0),(0.2,0.5), (0,1)] }
= maxx {[1,0.5,0,0],[0.5,0.6,0.2,0],[0,0.5,0.2,0],[0,0,0.2,0]}
= { [1],[0.6],[0.5],[0.2] }
Inference Example contd..
School Of Engineering ,CUSAT 24
Therefore the solution is
Rc(y)={(1/1),(2/0.6),(3/0.5),(4/0.2) }
Started in terms of fuzzy modus ponens we might interpret this
inference
Premise : x is little
Implication : x and y are approximately equal
Conclusion : y is more or less equal
Generalisation
School Of Engineering ,CUSAT 25
The before mentioned notions can be
generalized to any number of universals by
taking the cartesian product and defining the
various subsets
School Of Engineering ,CUSAT 26

More Related Content

Similar to fuzzy-sbk-150311135852-conversion-gate01.pptx

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
 
Unit-II -Soft Computing.pdf
Unit-II -Soft Computing.pdfUnit-II -Soft Computing.pdf
Unit-II -Soft Computing.pdfRamya Nellutla
 
Mkk1013 chapter 2.1
Mkk1013 chapter 2.1Mkk1013 chapter 2.1
Mkk1013 chapter 2.1ramlahmailok
 
Fuzzy Set Theory
Fuzzy Set TheoryFuzzy Set Theory
Fuzzy Set TheoryAMIT KUMAR
 
block-mdp-masters-defense.pdf
block-mdp-masters-defense.pdfblock-mdp-masters-defense.pdf
block-mdp-masters-defense.pdfJunghyun Lee
 
Blind Source Separation using Dictionary Learning
Blind Source Separation using Dictionary LearningBlind Source Separation using Dictionary Learning
Blind Source Separation using Dictionary LearningDavide Nardone
 
Gaps between the theory and practice of large-scale matrix-based network comp...
Gaps between the theory and practice of large-scale matrix-based network comp...Gaps between the theory and practice of large-scale matrix-based network comp...
Gaps between the theory and practice of large-scale matrix-based network comp...David Gleich
 
Variational inference
Variational inference  Variational inference
Variational inference Natan Katz
 
A lattice-based consensus clustering
A lattice-based consensus clusteringA lattice-based consensus clustering
A lattice-based consensus clusteringDmitrii Ignatov
 
Thesis oral defense
Thesis oral defenseThesis oral defense
Thesis oral defenseFan Zhitao
 
An approach to Fuzzy clustering of the iris petals by using Ac-means
An approach to Fuzzy clustering of the iris petals by using Ac-meansAn approach to Fuzzy clustering of the iris petals by using Ac-means
An approach to Fuzzy clustering of the iris petals by using Ac-meansijsc
 

Similar to fuzzy-sbk-150311135852-conversion-gate01.pptx (20)

Fuzzy sets
Fuzzy sets Fuzzy sets
Fuzzy sets
 
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
 
Chpt 2-sets v.3
Chpt 2-sets v.3Chpt 2-sets v.3
Chpt 2-sets v.3
 
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
 
Unit-II -Soft Computing.pdf
Unit-II -Soft Computing.pdfUnit-II -Soft Computing.pdf
Unit-II -Soft Computing.pdf
 
Mkk1013 chapter 2.1
Mkk1013 chapter 2.1Mkk1013 chapter 2.1
Mkk1013 chapter 2.1
 
Fuzzy Set Theory
Fuzzy Set TheoryFuzzy Set Theory
Fuzzy Set Theory
 
Lesson 26
Lesson 26Lesson 26
Lesson 26
 
AI Lesson 26
AI Lesson 26AI Lesson 26
AI Lesson 26
 
block-mdp-masters-defense.pdf
block-mdp-masters-defense.pdfblock-mdp-masters-defense.pdf
block-mdp-masters-defense.pdf
 
Blind Source Separation using Dictionary Learning
Blind Source Separation using Dictionary LearningBlind Source Separation using Dictionary Learning
Blind Source Separation using Dictionary Learning
 
Gaps between the theory and practice of large-scale matrix-based network comp...
Gaps between the theory and practice of large-scale matrix-based network comp...Gaps between the theory and practice of large-scale matrix-based network comp...
Gaps between the theory and practice of large-scale matrix-based network comp...
 
Variational inference
Variational inference  Variational inference
Variational inference
 
Modeling the dynamics of molecular concentration during the diffusion procedure
Modeling the dynamics of molecular concentration during the  diffusion procedureModeling the dynamics of molecular concentration during the  diffusion procedure
Modeling the dynamics of molecular concentration during the diffusion procedure
 
A lattice-based consensus clustering
A lattice-based consensus clusteringA lattice-based consensus clustering
A lattice-based consensus clustering
 
Ch02 fuzzyrelation
Ch02 fuzzyrelationCh02 fuzzyrelation
Ch02 fuzzyrelation
 
Fuzzy Logic_HKR
Fuzzy Logic_HKRFuzzy Logic_HKR
Fuzzy Logic_HKR
 
Thesis oral defense
Thesis oral defenseThesis oral defense
Thesis oral defense
 
An approach to Fuzzy clustering of the iris petals by using Ac-means
An approach to Fuzzy clustering of the iris petals by using Ac-meansAn approach to Fuzzy clustering of the iris petals by using Ac-means
An approach to Fuzzy clustering of the iris petals by using Ac-means
 
document(1).pdf
document(1).pdfdocument(1).pdf
document(1).pdf
 

More from saadurrehman35

More from saadurrehman35 (6)

Pattern Matching AI.pdf
Pattern Matching AI.pdfPattern Matching AI.pdf
Pattern Matching AI.pdf
 
AI_Lecture_10.pptx
AI_Lecture_10.pptxAI_Lecture_10.pptx
AI_Lecture_10.pptx
 
AI_Lecture2.pptx
AI_Lecture2.pptxAI_Lecture2.pptx
AI_Lecture2.pptx
 
AI
AIAI
AI
 
Symbolic Mathematics
Symbolic Mathematics Symbolic Mathematics
Symbolic Mathematics
 
Artificial Intelligence.pptx
Artificial Intelligence.pptxArtificial Intelligence.pptx
Artificial Intelligence.pptx
 

Recently uploaded

Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 

fuzzy-sbk-150311135852-conversion-gate01.pptx

  • 1. Prepared by Sharath B.K S8 CS B 12120079 FUZZY LOGIC
  • 2. Fuzzy Sets School Of Engineering ,CUSAT 2 • Introduced by Lotfi AZadeh in 1960’s • Used to represent sets where boundary of information is unclear • To account for concepts used in human reasoning which are vague and imprecise • In traditional logic elements can belong to the set or not • In fuzzy logic for each element a strength of membership/ Degree of membership is associated
  • 3. Example School Of Engineering ,CUSAT 3 ● Fuzzy set is very convenient method for representing some form of uncertainty ● For example: the weather today ● Sunny: If we define any cloud cover of 25% or less is sunny ● This means that a cloud cover of 26% is not sunny? ● Vagueness should be introduced
  • 4. Difference School Of Engineering ,CUSAT 4 • Ordinary Sets-Only two values possible • Membership of element ‘x’in set Ais described by a characteristic function μ A(x) which can be either 0 or 1 • Fuzzy sets – Extends this using partial membership • A fuzzy set Aon a universe of discourse U is characterized by a membership function μA(x) that takes values in the interval [0, 1]
  • 5. Fuzzy Example - Tall • Afuzzy set Ain U may be represented as a set of ordered pairs. Each pair consists of a generic element x and its grade of membership function; that is Ordinary Set School Of Engineering ,CUSAT 5 Fuzzy Set
  • 6. Fuzzy Membership Functions School Of Engineering ,CUSAT 6 • One of the key issues in all fuzzy sets is how to determine fuzzy membership functions • Amembership function provides a measure of the degree of similarity of an element to a fuzzy set • Membership functions can take any form, but there are some common examples that appear in real applications
  • 7. Fuzzy sets- subset • Given two fuzzy set A,B defined on the Universe of Discourse X, then A is a subset of B denoted by A  B x X • Iff μ A(x) ≤ μ B(x) for all AB iff AB A and AB B forany School Of Engineering ,CUSAT 7
  • 8. Fuzzy Complement School Of Engineering ,CUSAT 8 • This is the same in fuzzy logic as for Boolean logic • For a fuzzy set A, A’ denotes the fuzzy complement of A • Membership function for fuzzy complement is  ( x )  1   A ( x ) A
  • 9. Fuzzy Intersection School Of Engineering ,CUSAT 9 • Most commonly adopted t-norm is the minimum • Given two fuzzy sets A and B with membership functions µA(x) and µB(x), the intersection A and B defined over the same universe of discourse X is a new fuzzy set A∩B also on X with membership function which is the minimum of the grades of membership function of every x to A and B AB (x)  min( A (x), B (x))
  • 10. Fuzzy Union School Of Engineering ,CUSAT 10 • Given two fuzzy sets A and B with membership functions µA(x) and µB(x), the union A and B defined over the same universe of discourse X is a new fuzzy set A𝖴B also on X with membership function which is the maximum of the grades of membership function of every x to Aand B • μ A𝖴B(x) ≡ max(μA(x),μB(x))
  • 11. Example Problem 1 School Of Engineering ,CUSAT 11 Let U = { 1,2,3,4,5,6,7} A= { (3, 0.7), (5, 1), (6, 0.8) } and B = {(3, 0.9), (4, 1), (6, 0.6) } Find A  B,A  B, B-A and A ’ A B = { (3, 0.7), (6, 0.6) } A  B = { (3, 0.9), (4, 1), (5, 1), (6, 0.8) } A ’= {(1, 1),(2, 1), (3, 0.3), (4, 1), (6, 0.2),(7, 1)} B-A = { (3, 0.3), (4, 1), (6, 0.2)}
  • 12. Fuzzy Logic Laws School Of Engineering ,CUSAT 12 • Intersection distributive over union... A(BC)(x)  (AB)(AC)(x) min[A,max(B,C) ]=max[ min(A,B), min(A,C) ] • Union distributive over intersection... A(BC) (x)  (AB)( AC) (x) max[ A,min(B,C) ]= min[ max(A,B), max(A,C)]
  • 13. Fuzzy Logic Laws • Obeys Demorgan’s Laws (AB) AB u (x)  u (x) AB School Of Engineering ,CUSAT 13 u (x) u (x) (AB)
  • 14. Fuzzy Logic Laws Contd.. • Fails The Law Contradiction A  A   • Thus, (the set of numbers closeto 2) AND (the set of numbers not closeto 2)  null set School Of Engineering ,CUSAT 14
  • 15. Other Results School Of Engineering ,CUSAT 15 • 𝐴 ∪ 𝐴̅ ≠ X • 𝐴 ß ∅ = ∅ • 𝐴 ∪ ∅ = 𝐴 • 𝐴 ß 𝑋 = 𝐴 • 𝐴 ∪ 𝑋= X
  • 16. Basic Operations School Of Engineering ,CUSAT 16 ● For reshaping the membership functions – Dilation (DIL) : increases the degree of membership of all members by spreading out the curve DIL(A)=(uA(x))1/2 for all x in U – Concentration (CON): Decreases the degree of membership of all members CON(A)=uA(x)2 for all x in U – Normalization (NORM) : discriminates all membership degree in the same order unless maximum value of any member is 1. Computed as: µA(x) / max (µA(x)), x  X
  • 17. Graphical representation • Concentration • Dilation • Intensification School Of Engineering ,CUSAT 17
  • 18. Reasoning with Fuzzy Logic School Of Engineering ,CUSAT 18 • Premise A • Implication relation R(x,y) • Conclusion B’ • Fuzzy value A ’matches approximately with A
  • 19. Inference Procedure School Of Engineering ,CUSAT 19
  • 20. Example School Of Engineering ,CUSAT 20 • Premise : This banana is very yellow • Implication : If a banana is yellow then the banana is ripe • Conclusion : This banana is very ripe
  • 21. Inference School Of Engineering ,CUSAT 21 • Zadeh’s compositional rule of inference • If RA(x),RB(x,y), Rc(y) are fuzzy relations in X, X x Yand Yresp. • Rc(y)=RA(x) º RB(x,y) where º signifies the composition of A& B • Commonly used method for composition is Max-Min • Rc(y)=maxx min {uA(x), uB(x,y)}
  • 22. Inference Example X=Y={1,2,3,4} A={little}={(1/1),(2/0.6),(3/0.2),(4/0)} R=approximately equal, in fuzzy relation defined by School Of Engineering ,CUSAT 22
  • 23. Inference Example contd.. School Of Engineering ,CUSAT 23 Rc(y)=maxx min {uA(x), uR(x,y)} = maxx {min [(1,1),(0.6,0.5),(0.2,0), (0,0)] , min [(1,0.5),(0.6,1),(0.2,0.5), (0,0)] min [(1,0),(0.6,0.5),(0.2,1), (0,0.5)] min [(1,0),(0.6,0),(0.2,0.5), (0,1)] } = maxx {[1,0.5,0,0],[0.5,0.6,0.2,0],[0,0.5,0.2,0],[0,0,0.2,0]} = { [1],[0.6],[0.5],[0.2] }
  • 24. Inference Example contd.. School Of Engineering ,CUSAT 24 Therefore the solution is Rc(y)={(1/1),(2/0.6),(3/0.5),(4/0.2) } Started in terms of fuzzy modus ponens we might interpret this inference Premise : x is little Implication : x and y are approximately equal Conclusion : y is more or less equal
  • 25. Generalisation School Of Engineering ,CUSAT 25 The before mentioned notions can be generalized to any number of universals by taking the cartesian product and defining the various subsets