SlideShare a Scribd company logo
1 of 15
Fuzzy Inference Systems

• Introduction
• Mamdani Fuzzy models



             Abhimanyu Arya (IE-41)(01)
             Alekh Tibrewala (IE-41)(07)
             Deepak Kumar Sahu (IE-41)(19)
Introduction                       2

 Fuzzy inference is a computer paradigm
 based on fuzzy set theory, fuzzy if-then-
 rules and fuzzy reasoning

 Applications: data classification, decision
  analysis, expert systems, times series
  predictions, robotics & pattern recognition

 Different names; fuzzy rule-based system,
  fuzzy model, fuzzy associative memory,
  fuzzy logic controller & fuzzy system
Introduction                                          3

 Structure
       – Rule base      selects the set of fuzzy rules
       – Database (or dictionary)     defines the
         membership functions used in the fuzzy rules
       – A reasoning mechanism        performs the
         inference procedure (derive a conclusion from
         facts & rules!)

 Defuzzification: extraction of a crisp value
  that best represents a fuzzy set
       – Need: it is necessary to have a crisp output in
         some situations where an inference system is
         used as a controller
Dr Djamel Bouchaffra              CSE 513 Soft Computing, Ch4:Fuzzy Inference Systems
4




       Block diagram for a fuzzy inference system


Dr Djamel Bouchaffra          CSE 513 Soft Computing, Ch4:Fuzzy Inference Systems
5



 Non linearity

       – In the case of crisp inputs & outputs, a
         fuzzy inference system implements a
         nonlinear mapping from its input space
         to output space




Dr Djamel Bouchaffra          CSE 513 Soft Computing, Ch4:Fuzzy Inference Systems
Mamdani Fuzzy models                                   6


 Goal: Control a steam engine & boiler
 combination by a set of linguistic control
 rules obtained from experienced human
 operators

Illustrations of how a two-rule Mamdani
 fuzzy inference system derives the
 overall output z when subjected to two
 crisp input x & y

Dr Djamel Bouchaffra           CSE 513 Soft Computing, Ch4:Fuzzy Inference Systems
7




    The Mandamy fuzzy inference using min and max for
    T-norm and T-conorm operators, respectively
Dr Djamel Bouchaffra            CSE 513 Soft Computing, Ch4:Fuzzy Inference Systems
8




    The Mandamy fuzzy inference using min and max for
    T-norm and T-conorm operators, respectively
Dr Djamel Bouchaffra            CSE 513 Soft Computing, Ch4:Fuzzy Inference Systems
Mamdani Fuzzy models (cont.)                                        9

 Defuzzification [definition]

     “It refers to the way a crisp value is extracted from
     a fuzzy set as a representative value”

       – There are five methods of defuzzifying a fuzzy
         set A of a universe of discourse Z

              •   Centroid of area zCOA
              •   Bisector of area zBOA
              •   Mean of maximum zMOM
              •   Smallest of maximum zSOM
              •   Largest of maximum zLOM

Dr Djamel Bouchaffra                   CSE 513 Soft Computing, Ch4:Fuzzy Inference Systems
Mamdani Fuzzy models (cont.)                                               10

              • Centroid of area zCOA
                                                                  A ( z )zdz
                                                            Z
                                               z COA                           ,
                                                                  A ( z )dz
                                                             Z

                 where A(z) is the aggregated output MF.

              • Bisector of area zBOA
                this operator satisfies the following;
                         z BOA

                                 A ( z )dz           A ( z )dz,
                                             z BOA


                 where = min {z; z Z} & = max {z; z Z}. The
                 vertical line z = zBOA partitions the region between z
                 = , z = , y = 0 & y = A(z) into two regions with the
                 same area

Dr Djamel Bouchaffra                           CSE 513 Soft Computing, Ch4:Fuzzy Inference Systems
Mamdani Fuzzy models (cont.)                                                    11
       • Mean of maximum zMOM

           This operator computes the average of the maximizing z at

           which the MF reaches a maximum                           . It is expressed by :
                                          zdz
                                     Z'
                           z MOM                ,
                                          dz
                                      Z'

                           where Z' {z;             A (z )      }

            By definition : if   A ( z ) has a single        maximum at z z

                           then z MOM           z
                                                                               z1       z2
            However : if max     A (z )     z 1 , z 2 then z MOM
                            z                                                       2
Dr Djamel Bouchaffra                                  CSE 513 Soft Computing, Ch4:Fuzzy Inference Systems
Mamdani Fuzzy models ) (cont.)                                           12



        • Smallest of maximum zSOM

            Amongst all z that belong to [z1, z2], the smallest is called
            zSOM




        • Largest of maximum zLOM

            Amongst all z that belong to [z1, z2], the largest value is
            called zLOM




Dr Djamel Bouchaffra                       CSE 513 Soft Computing, Ch4:Fuzzy Inference Systems
13




           Various defuzzification schemes for
                 obtaining a crisp output

Dr Djamel Bouchaffra           CSE 513 Soft Computing, Ch4:Fuzzy Inference Systems
Mamdani Fuzzy models (cont.)                               14


Other Variants

       – Classical fuzzy reasoning is “not”
         tractable, difficult to compute

       – In practice, a fuzzy inference system
         may have a certain reasoning
         mechanism that does not follow the strict
         definition of the compositional rule of
         inference

Dr Djamel Bouchaffra           CSE 513 Soft Computing, Ch4:Fuzzy Inference Systems
Conclusion                                                15
           To completely specify the operation of a Mamdani fuzzy
           inference system, we need to assign a function for each
           of the following operators:

              • AND operator (usually T-norm) for the rule firing
                strength computation with AND’ed antecedents
              • OR operator (usually T-conorm) for calculating the
                firing strength of a rule with OR’ed antecedents
              • Implication operator (usually T-norm) for calculating
                qualified consequent MFs based on given firing
                strength
              • Aggregate operator (usually T-conorm) for
                aggregating qualified consequent MFs to generate an
                overall output MF composition of facts & rules to
                derive a consequent
              • Defuzzification operator for transforming an output MF
                to a crisp single output value


Dr Djamel Bouchaffra                      CSE 513 Soft Computing, Ch4:Fuzzy Inference Systems

More Related Content

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Abhimanyu alekh deepak_fuzzy interfearence design

  • 1. Fuzzy Inference Systems • Introduction • Mamdani Fuzzy models Abhimanyu Arya (IE-41)(01) Alekh Tibrewala (IE-41)(07) Deepak Kumar Sahu (IE-41)(19)
  • 2. Introduction 2  Fuzzy inference is a computer paradigm based on fuzzy set theory, fuzzy if-then- rules and fuzzy reasoning  Applications: data classification, decision analysis, expert systems, times series predictions, robotics & pattern recognition  Different names; fuzzy rule-based system, fuzzy model, fuzzy associative memory, fuzzy logic controller & fuzzy system
  • 3. Introduction 3  Structure – Rule base selects the set of fuzzy rules – Database (or dictionary) defines the membership functions used in the fuzzy rules – A reasoning mechanism performs the inference procedure (derive a conclusion from facts & rules!)  Defuzzification: extraction of a crisp value that best represents a fuzzy set – Need: it is necessary to have a crisp output in some situations where an inference system is used as a controller Dr Djamel Bouchaffra CSE 513 Soft Computing, Ch4:Fuzzy Inference Systems
  • 4. 4 Block diagram for a fuzzy inference system Dr Djamel Bouchaffra CSE 513 Soft Computing, Ch4:Fuzzy Inference Systems
  • 5. 5  Non linearity – In the case of crisp inputs & outputs, a fuzzy inference system implements a nonlinear mapping from its input space to output space Dr Djamel Bouchaffra CSE 513 Soft Computing, Ch4:Fuzzy Inference Systems
  • 6. Mamdani Fuzzy models 6  Goal: Control a steam engine & boiler combination by a set of linguistic control rules obtained from experienced human operators Illustrations of how a two-rule Mamdani fuzzy inference system derives the overall output z when subjected to two crisp input x & y Dr Djamel Bouchaffra CSE 513 Soft Computing, Ch4:Fuzzy Inference Systems
  • 7. 7 The Mandamy fuzzy inference using min and max for T-norm and T-conorm operators, respectively Dr Djamel Bouchaffra CSE 513 Soft Computing, Ch4:Fuzzy Inference Systems
  • 8. 8 The Mandamy fuzzy inference using min and max for T-norm and T-conorm operators, respectively Dr Djamel Bouchaffra CSE 513 Soft Computing, Ch4:Fuzzy Inference Systems
  • 9. Mamdani Fuzzy models (cont.) 9  Defuzzification [definition] “It refers to the way a crisp value is extracted from a fuzzy set as a representative value” – There are five methods of defuzzifying a fuzzy set A of a universe of discourse Z • Centroid of area zCOA • Bisector of area zBOA • Mean of maximum zMOM • Smallest of maximum zSOM • Largest of maximum zLOM Dr Djamel Bouchaffra CSE 513 Soft Computing, Ch4:Fuzzy Inference Systems
  • 10. Mamdani Fuzzy models (cont.) 10 • Centroid of area zCOA A ( z )zdz Z z COA , A ( z )dz Z where A(z) is the aggregated output MF. • Bisector of area zBOA this operator satisfies the following; z BOA A ( z )dz A ( z )dz, z BOA where = min {z; z Z} & = max {z; z Z}. The vertical line z = zBOA partitions the region between z = , z = , y = 0 & y = A(z) into two regions with the same area Dr Djamel Bouchaffra CSE 513 Soft Computing, Ch4:Fuzzy Inference Systems
  • 11. Mamdani Fuzzy models (cont.) 11 • Mean of maximum zMOM This operator computes the average of the maximizing z at which the MF reaches a maximum . It is expressed by : zdz Z' z MOM , dz Z' where Z' {z; A (z ) } By definition : if A ( z ) has a single maximum at z z then z MOM z z1 z2 However : if max A (z ) z 1 , z 2 then z MOM z 2 Dr Djamel Bouchaffra CSE 513 Soft Computing, Ch4:Fuzzy Inference Systems
  • 12. Mamdani Fuzzy models ) (cont.) 12 • Smallest of maximum zSOM Amongst all z that belong to [z1, z2], the smallest is called zSOM • Largest of maximum zLOM Amongst all z that belong to [z1, z2], the largest value is called zLOM Dr Djamel Bouchaffra CSE 513 Soft Computing, Ch4:Fuzzy Inference Systems
  • 13. 13 Various defuzzification schemes for obtaining a crisp output Dr Djamel Bouchaffra CSE 513 Soft Computing, Ch4:Fuzzy Inference Systems
  • 14. Mamdani Fuzzy models (cont.) 14 Other Variants – Classical fuzzy reasoning is “not” tractable, difficult to compute – In practice, a fuzzy inference system may have a certain reasoning mechanism that does not follow the strict definition of the compositional rule of inference Dr Djamel Bouchaffra CSE 513 Soft Computing, Ch4:Fuzzy Inference Systems
  • 15. Conclusion 15 To completely specify the operation of a Mamdani fuzzy inference system, we need to assign a function for each of the following operators: • AND operator (usually T-norm) for the rule firing strength computation with AND’ed antecedents • OR operator (usually T-conorm) for calculating the firing strength of a rule with OR’ed antecedents • Implication operator (usually T-norm) for calculating qualified consequent MFs based on given firing strength • Aggregate operator (usually T-conorm) for aggregating qualified consequent MFs to generate an overall output MF composition of facts & rules to derive a consequent • Defuzzification operator for transforming an output MF to a crisp single output value Dr Djamel Bouchaffra CSE 513 Soft Computing, Ch4:Fuzzy Inference Systems