SlideShare ist ein Scribd-Unternehmen logo
1 von 47
Fuzzy Logic



By Manoj Harsule
Overview

•   A Little History
•   Fuzzy Logic – A Definition
•   Fuzzy set theory
•   Introduction to fuzzy set
•   Fuzzy Relations
A little History
 In the 1960’s Lotfi A. Zadeh Ph.D,. University of
  California, Berkeley, published an obscure paper on
  fuzzy sets . His unconventional theory allowed for
  approximate information and uncertainty when
  generating complex solutions; a process that
  previously did not exist.

 Fuzzy Logic has been around since the mid 60’s but
  was not readily excepted until the 80’s and 90’s.
  Although now prevalent throughout much of the
  world, China, Japan and Korea were the early
  adopters
WHAT IS FUZZY LOGIC?

   Definition of fuzzy
     Fuzzy   – “not clear, distinct, or not precise;
      uncertain”
   Definition of fuzzy logic
    A   form of knowledge representation suitable for
      notions that cannot be defined precisely, but which
      depend upon their contexts.
TRADITIONAL REPRESENTATION OF
LOGIC




Slow (Low)         Fast (High)

Speed = 0        Speed = 1
FUZZY LOGIC
REPRESENTATION
                    Slowest
 For every         [ 0.0 – 0.25 ]
  problem           Slow
  must           [ 0.25 – 0.50 ]
  represent in      Fast
  terms of       [ 0.50 – 0.75 ]
  fuzzy sets.       Fastest
                 [ 0.75 – 1.00 ]
Introduction to
Fuzzy Set Theory

Fuzzy Sets
Types of Uncertainty

• Stochastic uncertainty
  – E.g., rolling a dice


• Linguistic uncertainty
  – E.g., low price, tall people, young age


• Informational uncertainty
  – E.g., credit worthiness, honesty
Crisp or Fuzzy Logic

• Crisp Logic
  – A proposition can be true or false only.
    • Ajay is a student (true)
    • Smoking is healthy (false)
  – The degree of truth is 0 or 1.
• Fuzzy Logic
  – The degree of truth is between 0 and 1.
    • Raj is young (0.3 truth)
    • Amol is smart (0.9 truth)
Crisp Sets
• Classical sets are called crisp sets
  – either an element belongs to a set or
    not, i.e.,
     x∈ A          or
                            x∉ A

• Member Function of crisp set
           0 x∉ A
      µ A ( x) =            µ A ( x) ∈ { 0,1}
                 1 x ∈ A
Crisp Sets
  P : the set of all people.
  Y : the set of all young people.             P
                                       Y
                                       Y
Young = { y y = age( x) ≤ 25, x ∈ P}

   µYoung ( y )

             1
                        25                 y
Crisp sets   µ A ( x) ∈ { 0,1}

Fuzzy Sets

     µ A ( x) ∈ [0,1]
               Example
µYoung ( y )

          1
                                                 y
Definition:
Fuzzy Sets and Membership
Functions
  U : universe of discourse.
If U is a collection of objects denoted generically by x, then
a fuzzy set A in U is defined as a set of ordered pairs:



    A = { ( x, µ A ( x)) x ∈ U }
                       membership
                        function


           µ A : U → [0,1]
Example (Discrete
    Universe)

 U = {1, 2,3, 4,5, 6, 7,8}
  # courses a student may take in a semester.
      (1, 0.1) (2, 0.3) (3, 0.8) (4,1) 
   A=                                        #appropriate
      (5, 0.9) (6, 0.5) (7, 0.2) (8, 0.1)     courses taken

            1
µA ( x )
           0.5

            0
                 2    4   6   8

                     x : # courses
Example (Discrete
   Universe)

U = {1, 2,3, 4,5, 6, 7,8}                       # courses a student may
                                                take in a semester.

    (1,0.1) (2,0.3) (3,0.8) (4,1)               appropriate
A=                                  
    (5,0.9) (6,0.5) (7,0.2) (8,0.1)             # courses taken

    Alternative Representation:

   A = 0.1/ 1 + 0.3 / 2 + 0.8 / 3 + 1.0 / 4 + 0.9 / 5 + 0.5 / 6 + 0.2 / 7 + 0.1/ 8
Example (Continuous
 Universe)

  U : the set of positive real numbers                               possible ages

      B = { ( x, µ B ( x)) x ∈U }
                   1       about 50 years old
µ B ( x) =                  4
                x − 50                    1.2

           1+            ÷                   1

                5                         0.8
                                           µ B ( x)   0.6
Alternative                                           0.4

Representation:                                       0.2

                                                       0

   B=∫                 1
                                       x                    0   20    40   60   80   100

                   (           )
                                   4

                                                                     x : age
          R + 1+       x −50
                         5
Alternative Notation

          A = { ( x, µ A ( x)) x ∈ U }
 U : discrete universe                      A=    ∑µ
                                                  xi ∈U
                                                          A   ( xi ) / xi

U : continuous universe                     A = ∫ µ A ( x) / x
                                                   U


Note that ∑ and integral signs stand for the union of membership grades; “
/ ” stands for a marker and does not imply division.
Membership Functions
 (MF’s)

• A fuzzy set is completely characterized by
  a membership function.
  – a subjective measure.
  – not a probability measure.
                       “tall” in Asia
    Membership




             1
      value




                     “tall” in USA

                                 “tall” in Aus
             0                          height
Fuzzy Partition

• Fuzzy partitions formed by the linguistic
  values “young”, “middle aged”, and “old”:
Introduction to
Fuzzy Set Theory

   Set-Theoretic
    Operations
Set-Theoretic
Operations
• Subset
  A ⊆B ⇔µA ( x ) ≤ µ ( x ), ∀ ∈
                    B        x U


• Complement
  A = U − A ⇔ µA ( x ) = 1 − µA ( x )


• Union
 C = A ∪ B ⇔ µC ( x ) = max( µA ( x ), µB ( x )) = µA ( x ) ∨ µB ( x )


  Intersection
• C = A ∩ B ⇔ µ ( x) = min( µ
                    C               A   ( x ), µB ( x )) = µA ( x) ∧ µB ( x)
Set-Theoretic
Operations


 A⊂ B                A




                  A∩ B

           A∪ B
Properties

Involution         A=A
                                                       De Morgan’s laws
                   A∪ B = B ∪ A                         A∪ B = A∩ B
Commutativity      A∩ B = B ∩ A
                                                        A∩ B = A∪ B
               ( A ∪ B) ∪ C = A ∪ ( B ∪ C )
Associativity ( A ∩ B ) ∩ C = A ∩ ( B ∩ C )
               A ∩ ( B ∪ C ) = ( A ∩ B) ∪ ( A ∩ C )
Distributivity A ∪ ( B ∩ C ) = ( A ∪ B ) ∩ ( A ∪ C )
                  A∪ A = A
Idempotence       A∩ A = A
                 A ∪ ( A ∩ B) = A
Absorption       A ∩ ( A ∪ B) = A
Properties

• The following properties are invalid
  for fuzzy sets:

  – The laws of contradiction
            A∩ A = ∅

  – The laws of excluded middle
            A∪ A =U
Other Definitions for Set
Operations


• Union
 µ A∪ B ( x) = min ( 1, µ A ( x) + µ B ( x) )

• Intersection
  µ A∩ B ( x) = µ A ( x) ×µ B ( x)
Other Definitions for Set
Operations


• Union
µ A∪ B ( x ) = µ A ( x ) + µ B ( x ) − µ A ( x ) µ B ( x )

• Intersection
 µ A∩ B ( x) = µ A ( x) ×µ B ( x)
Generalized
Union/Intersection
• Generalized Intersection

      t-norm
• Generalized Union

      t-conorm
T-Norm
                           Or called triangular norm.


         T :[0,1] × [0,1] → [0,1]
1. Symmetry        T ( x, y ) = T ( y , x )

2. Associativity   T (T ( x, y ), z ) = T ( x, T ( y, z ))

3. Monotonicity    x1 ≤ x2 , y1 ≤ y2 ⇒ T ( x1 , y1 ) ≤ T ( x2 , y2 )

4. Border Condition T ( x,1) = x
T-Conorm Or called s-norm.

         S :[0,1] × [0,1] → [0,1]
1. Symmetry        S ( x, y ) = S ( y , x )

2. Associativity   S ( S ( x, y ), z ) = S ( x, S ( y, z ))

3. Monotonicity    x1 ≤ x2 , y1 ≤ y2 ⇒ S ( x1 , y1 ) ≤ S ( x2 , y2 )

4. Border Condition      S ( x, 0) = x
Fuzzy Relations


 Review
 Fuzzy Relations
R ⊆ A×B
Binary Relation (R)

                                               b1
         a1
                                               b2
 A       a2
         a3
                                               b3            B
                                               b4
         a4                                    b5

    1   0    1   0   0            a1 Rb1 a1 Rb3 a2 Rb5
    0                1
         0    0   0           ( a1 , b1 ), ( a1 , b3 ), ( a2 , b5 ) 
MR =                     R =                                      
    1   0    0   1   0      ( a3 , b1 ), ( a3 , b4 ), ( a4 , b2 ) 
                      
    0   1    0   0   0            a3 Rb1     a3 Rb4 a4 Rb2
The Real-Life Relation


• x is close to y
   – x and y are numbers
• x depends on y
   – x and y are events
• x and y look alike
   – x and y are persons or objects
• If x is large, then y is small
   – x is an observed reading and y is a corresponding
     action
Fuzzy Relations

A fuzzy relation R is a 2D MF:

 R = { ( ( x, y ), µ R ( x, y ) ) | ( x, y ) ∈ X × Y }
R = { ( ( x, y ), µ R ( x, y ) ) | ( x, y ) ∈ X × Y }

 Example (Approximate Equal)


X = Y = U = {1, 2,3, 4,5}

                                      1 0.8 0.3 0    0 
             1   u−v = 0            0.8 1 0.8 0.3 0 
                                                      
             0.8 u − v = 1    M R =  0.3 0.8 1 0.8 0.3
µ R (u, v) = 
             0.3 u − v = 2                            
             0   otherwise           0 0.3 0.8 1 0.8
                                    0
                                           0 0.3 0.8 1 
                                                        
Max-Min Composition
X         Y           Z
                              R: fuzzy relation defined on X and Y.

                              S: fuzzy relation defined on Y and Z.
                             R 。 S: the composition of R and S.
                              A fuzzy relation defined on X an Z.



µ RoS (x, z ) = max y min ( µ R ( x, y ), µS ( y, z ) )

              = ∨ y ( µ R ( x, y ) ∧ µ S ( y , z ) )
µ S o R (x, y ) = max v min ( µ R ( x, v), µ S (v, y ) )


    Example
R   a   b    c   d                                 S α    β   γ
1   0.1 0.2 0.0 1.0                                a 0.9 0.0 0.3
2   0.3 0.3 0.0 0.2                                b 0.2 1.0 0.8
3   0.8 0.9 1.0 0.4                                c 0.8 0.0 0.7
                           0.1 0.2 0.0 1.0
                                                   d 0.4 0.2 0.3
                           0.9 0.2 0.8 0.4
                 min0.1        0.2 0.0 0.4
                 max
                      RoS    α    β   γ
                       1     0.4 0.2 0.3
                       2     0.3 0.3 0.3
                       3     0.8 0.9 0.8
Max-min composition is not mathematically
                    tractable, therefore other compositions such as
                    max-product composition have been suggested.

Max-Product Composition
X          Y          Z
                               R: fuzzy relation defined on X and Y.

                               S: fuzzy relation defined on Y and Z.
                              R 。 S: the composition of R and S.
                               A fuzzy relation defined on X an Z.



    µ RoS (x, z ) = max y ( µ R ( x, y ) µ S ( y, z ) )
Dimension Reduction

Projection
                     R


RY =  R ↓ Y 
                        RX =  R ↓ X 
                                      
Dimension Reduction

Projection
                                R




RY =  R ↓ Y 
                                  RX =  R ↓ X 
                                                
    = ∫ max µ R ( x, y ) / y           = ∫ maxµ R ( x, y ) / x
       Y    x                             X    y


µ RY ( y ) = max µ R ( x, y )       µ RX ( x) = max µ R ( x, y)
                                                   y
                x
Dimension Expansion

Cylindrical Extension

A : a fuzzy set in X.
C(A) = [A↑X×Y] : cylindrical extension of A.
 C ( A) = ∫        µ A ( x ) | ( x, y )   µC ( A ) ( x , y ) = µ A ( x )
            X ×Y
Types of Fuzzy Relations

                              R ( x, x) = 1 for all x ∈ X
• Reflexive
  – Irreflexive      R ( x, x) ≠ 1 for some x ∈ X
  – Antireflexive    R ( x, x) ≠ 1 for all x ∈ X
  – Epsilon Reflexive R ( x, x) ≥ ε for all x ∈ X


• Symmetric                 R ( x, y ) = R ( y, x) for all x ∈ X
  – Asymmetric    R ( x, y ) ≠ R( y, x) for some x ∈ X
  – Antisymmetric R( x, y ) > 0 and R( y, x) > 0 → x = y for all x, y ∈ X
Types of Fuzzy Relations

• Transitive (max-min transitive)
  R ( x, z ) ≥ max min[ R ( x, y ), R ( y , z )] for all x,z ∈X
              y∈Y




  – Non-transitive:
     For some (x,z), the above do not satisfy.
  – Antitransitive:
  R ( x, z ) < max min[ R ( x, y ), R ( y , z )] for all x,z ∈X
               y∈Y




• Example: X = Set of cities, R=“very far”
         Reflexive, symmetric, non-transitive
Types of Fuzzy Relations

• Transitive Closure
  – Crisp: Transitive relation that contains
    R(X,X) with fewest possible members
  – Fuzzy: Transitive relation that contains
    R(X,X) with smallest possible
    membership
  – Algorithm:
  1. R ' = R ∪ R o R ).
              (
  2. If R ' ≠ R, make R = R ' and go to step 1
  3. Stop : R ' = RT
Types of Fuzzy Relations

• Fuzzy Equivalence or Similarity
  Relation
  – Reflexive, symmetric, and transitive
  – Decomposition:
   R=    ααR
           ⋅
       α∈ ,1]
         [0
   α
    R is a crisp equivalence relation.
   Set of partitions :
       ∏ ={π(αR ) | α∈
        (R)           [0,1]}


  – Partition Tree
Types of Fuzzy Relations

• Fuzzy Compatibility or Tolerance Relation
  – Reflexive and symmetric
  – Maximal compatibility class and complete cover
     • Compatibility class  Subset A of X such that < x, y >∈R

     • Maximal compatibility class: largest compatibility
       class
     • Complete cover: Set of maximal compatibility
       classes
  – Maximal alpha-compatibility class
  – Complete alpha-covers
  – Note:
    Relation from distance metrics forms tolerance
    relation in clustering.
Bibliography
• J. R. Jang, C. Sun, E. Mizutani,
  “Neuro-Fuzzy and Soft Computing: A
  Computational Approach to Learning
  and Machine Intelligence, Prentice
  Hall
• Slides and notes:
  http://equipe.nce.ufrj.br/adriano/fuzzy/bib
Introduction to Artificial Intelligence

Weitere ähnliche Inhalte

Was ist angesagt?

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
 
Fuzzy logic and application in AI
Fuzzy logic and application in AIFuzzy logic and application in AI
Fuzzy logic and application in AIIldar Nurgaliev
 
Extension principle
Extension principleExtension principle
Extension principleSavo Delić
 
Fuzzy relations
Fuzzy relationsFuzzy relations
Fuzzy relationsnaugariya
 
Rough sets and fuzzy rough sets in Decision Making
Rough sets and  fuzzy rough sets in Decision MakingRough sets and  fuzzy rough sets in Decision Making
Rough sets and fuzzy rough sets in Decision MakingDrATAMILARASIMCA
 
Fuzzy Logic and Neural Network
Fuzzy Logic and Neural NetworkFuzzy Logic and Neural Network
Fuzzy Logic and Neural NetworkSHIMI S L
 
Lecture 2 fuzzy inference system
Lecture 2  fuzzy inference systemLecture 2  fuzzy inference system
Lecture 2 fuzzy inference systemParveenMalik18
 
Lecture 6 radial basis-function_network
Lecture 6 radial basis-function_networkLecture 6 radial basis-function_network
Lecture 6 radial basis-function_networkParveenMalik18
 
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 SemDigiGurukul
 
Linguistic variable
Linguistic variable Linguistic variable
Linguistic variable Math-Circle
 
Perspectives and application of fuzzy initial value problems
Perspectives and application of fuzzy initial value problemsPerspectives and application of fuzzy initial value problems
Perspectives and application of fuzzy initial value problemsRAJKRISHNA MONDAL
 

Was ist angesagt? (20)

2.2.ppt.SC
2.2.ppt.SC2.2.ppt.SC
2.2.ppt.SC
 
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
 
Fuzzy logic and application in AI
Fuzzy logic and application in AIFuzzy logic and application in AI
Fuzzy logic and application in AI
 
Soft computing Chapter 1
Soft computing Chapter 1Soft computing Chapter 1
Soft computing Chapter 1
 
Lecture 29 fuzzy systems
Lecture 29   fuzzy systemsLecture 29   fuzzy systems
Lecture 29 fuzzy systems
 
8709508
87095088709508
8709508
 
Fuzzy Set
Fuzzy SetFuzzy Set
Fuzzy Set
 
Extension principle
Extension principleExtension principle
Extension principle
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Fuzzy relations
Fuzzy relationsFuzzy relations
Fuzzy relations
 
FUZZY LOGIC
FUZZY LOGICFUZZY LOGIC
FUZZY LOGIC
 
Rough sets and fuzzy rough sets in Decision Making
Rough sets and  fuzzy rough sets in Decision MakingRough sets and  fuzzy rough sets in Decision Making
Rough sets and fuzzy rough sets in Decision Making
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
L3 some other properties
L3 some other propertiesL3 some other properties
L3 some other properties
 
Fuzzy Logic and Neural Network
Fuzzy Logic and Neural NetworkFuzzy Logic and Neural Network
Fuzzy Logic and Neural Network
 
Lecture 2 fuzzy inference system
Lecture 2  fuzzy inference systemLecture 2  fuzzy inference system
Lecture 2 fuzzy inference system
 
Lecture 6 radial basis-function_network
Lecture 6 radial basis-function_networkLecture 6 radial basis-function_network
Lecture 6 radial basis-function_network
 
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
 
Linguistic variable
Linguistic variable Linguistic variable
Linguistic variable
 
Perspectives and application of fuzzy initial value problems
Perspectives and application of fuzzy initial value problemsPerspectives and application of fuzzy initial value problems
Perspectives and application of fuzzy initial value problems
 

Ähnlich wie Introduction to Artificial Intelligence

Fuzzy Logic.pptx
Fuzzy Logic.pptxFuzzy Logic.pptx
Fuzzy Logic.pptxImXaib
 
53158699-d7c5-4e6e-af19-1f642992cc58-161011142651.pptx
53158699-d7c5-4e6e-af19-1f642992cc58-161011142651.pptx53158699-d7c5-4e6e-af19-1f642992cc58-161011142651.pptx
53158699-d7c5-4e6e-af19-1f642992cc58-161011142651.pptxsaadurrehman35
 
Unit-II -Soft Computing.pdf
Unit-II -Soft Computing.pdfUnit-II -Soft Computing.pdf
Unit-II -Soft Computing.pdfRamya Nellutla
 
00_1 - Slide Pelengkap (dari Buku Neuro Fuzzy and Soft Computing).ppt
00_1 - Slide Pelengkap (dari Buku Neuro Fuzzy and Soft Computing).ppt00_1 - Slide Pelengkap (dari Buku Neuro Fuzzy and Soft Computing).ppt
00_1 - Slide Pelengkap (dari Buku Neuro Fuzzy and Soft Computing).pptDediTriLaksono1
 
2D1431 Machine Learning
2D1431 Machine Learning2D1431 Machine Learning
2D1431 Machine Learningbutest
 
Numerical solution of boundary value problems by piecewise analysis method
Numerical solution of boundary value problems by piecewise analysis methodNumerical solution of boundary value problems by piecewise analysis method
Numerical solution of boundary value problems by piecewise analysis methodAlexander Decker
 
Density theorems for anisotropic point configurations
Density theorems for anisotropic point configurationsDensity theorems for anisotropic point configurations
Density theorems for anisotropic point configurationsVjekoslavKovac1
 
Optimal Finite Difference Grids for Elliptic and Parabolic PDEs with Applicat...
Optimal Finite Difference Grids for Elliptic and Parabolic PDEs with Applicat...Optimal Finite Difference Grids for Elliptic and Parabolic PDEs with Applicat...
Optimal Finite Difference Grids for Elliptic and Parabolic PDEs with Applicat...Alex (Oleksiy) Varfolomiyev
 
A Coq Library for the Theory of Relational Calculus
A Coq Library for the Theory of Relational CalculusA Coq Library for the Theory of Relational Calculus
A Coq Library for the Theory of Relational CalculusYoshihiro Mizoguchi
 
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
 
IVR - Chapter 1 - Introduction
IVR - Chapter 1 - IntroductionIVR - Chapter 1 - Introduction
IVR - Chapter 1 - IntroductionCharles Deledalle
 
Existence Theory for Second Order Nonlinear Functional Random Differential Eq...
Existence Theory for Second Order Nonlinear Functional Random Differential Eq...Existence Theory for Second Order Nonlinear Functional Random Differential Eq...
Existence Theory for Second Order Nonlinear Functional Random Differential Eq...IOSR Journals
 
Cs229 cvxopt
Cs229 cvxoptCs229 cvxopt
Cs229 cvxoptcerezaso
 
Engr 371 final exam april 1996
Engr 371 final exam april 1996Engr 371 final exam april 1996
Engr 371 final exam april 1996amnesiann
 
Fuzzy Group Ideals and Rings
Fuzzy Group Ideals and RingsFuzzy Group Ideals and Rings
Fuzzy Group Ideals and RingsIJERA Editor
 

Ähnlich wie Introduction to Artificial Intelligence (20)

Fuzzy Logic.pptx
Fuzzy Logic.pptxFuzzy Logic.pptx
Fuzzy Logic.pptx
 
53158699-d7c5-4e6e-af19-1f642992cc58-161011142651.pptx
53158699-d7c5-4e6e-af19-1f642992cc58-161011142651.pptx53158699-d7c5-4e6e-af19-1f642992cc58-161011142651.pptx
53158699-d7c5-4e6e-af19-1f642992cc58-161011142651.pptx
 
Unit-II -Soft Computing.pdf
Unit-II -Soft Computing.pdfUnit-II -Soft Computing.pdf
Unit-II -Soft Computing.pdf
 
00_1 - Slide Pelengkap (dari Buku Neuro Fuzzy and Soft Computing).ppt
00_1 - Slide Pelengkap (dari Buku Neuro Fuzzy and Soft Computing).ppt00_1 - Slide Pelengkap (dari Buku Neuro Fuzzy and Soft Computing).ppt
00_1 - Slide Pelengkap (dari Buku Neuro Fuzzy and Soft Computing).ppt
 
Chpt 2-sets v.3
Chpt 2-sets v.3Chpt 2-sets v.3
Chpt 2-sets v.3
 
2D1431 Machine Learning
2D1431 Machine Learning2D1431 Machine Learning
2D1431 Machine Learning
 
Universal algebra (1)
Universal algebra (1)Universal algebra (1)
Universal algebra (1)
 
Numerical solution of boundary value problems by piecewise analysis method
Numerical solution of boundary value problems by piecewise analysis methodNumerical solution of boundary value problems by piecewise analysis method
Numerical solution of boundary value problems by piecewise analysis method
 
Ch02 fuzzyrelation
Ch02 fuzzyrelationCh02 fuzzyrelation
Ch02 fuzzyrelation
 
Density theorems for anisotropic point configurations
Density theorems for anisotropic point configurationsDensity theorems for anisotropic point configurations
Density theorems for anisotropic point configurations
 
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
 
Optimal Finite Difference Grids for Elliptic and Parabolic PDEs with Applicat...
Optimal Finite Difference Grids for Elliptic and Parabolic PDEs with Applicat...Optimal Finite Difference Grids for Elliptic and Parabolic PDEs with Applicat...
Optimal Finite Difference Grids for Elliptic and Parabolic PDEs with Applicat...
 
WEEK-1.pdf
WEEK-1.pdfWEEK-1.pdf
WEEK-1.pdf
 
A Coq Library for the Theory of Relational Calculus
A Coq Library for the Theory of Relational CalculusA Coq Library for the Theory of Relational Calculus
A Coq Library for the Theory of Relational Calculus
 
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
 
IVR - Chapter 1 - Introduction
IVR - Chapter 1 - IntroductionIVR - Chapter 1 - Introduction
IVR - Chapter 1 - Introduction
 
Existence Theory for Second Order Nonlinear Functional Random Differential Eq...
Existence Theory for Second Order Nonlinear Functional Random Differential Eq...Existence Theory for Second Order Nonlinear Functional Random Differential Eq...
Existence Theory for Second Order Nonlinear Functional Random Differential Eq...
 
Cs229 cvxopt
Cs229 cvxoptCs229 cvxopt
Cs229 cvxopt
 
Engr 371 final exam april 1996
Engr 371 final exam april 1996Engr 371 final exam april 1996
Engr 371 final exam april 1996
 
Fuzzy Group Ideals and Rings
Fuzzy Group Ideals and RingsFuzzy Group Ideals and Rings
Fuzzy Group Ideals and Rings
 

Kürzlich hochgeladen

Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesShubhangi Sonawane
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxNikitaBankoti2
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 

Kürzlich hochgeladen (20)

Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 

Introduction to Artificial Intelligence

  • 2. Overview • A Little History • Fuzzy Logic – A Definition • Fuzzy set theory • Introduction to fuzzy set • Fuzzy Relations
  • 3. A little History  In the 1960’s Lotfi A. Zadeh Ph.D,. University of California, Berkeley, published an obscure paper on fuzzy sets . His unconventional theory allowed for approximate information and uncertainty when generating complex solutions; a process that previously did not exist.  Fuzzy Logic has been around since the mid 60’s but was not readily excepted until the 80’s and 90’s. Although now prevalent throughout much of the world, China, Japan and Korea were the early adopters
  • 4. WHAT IS FUZZY LOGIC?  Definition of fuzzy  Fuzzy – “not clear, distinct, or not precise; uncertain”  Definition of fuzzy logic A form of knowledge representation suitable for notions that cannot be defined precisely, but which depend upon their contexts.
  • 5. TRADITIONAL REPRESENTATION OF LOGIC Slow (Low) Fast (High) Speed = 0 Speed = 1
  • 6. FUZZY LOGIC REPRESENTATION Slowest For every [ 0.0 – 0.25 ] problem Slow must [ 0.25 – 0.50 ] represent in Fast terms of [ 0.50 – 0.75 ] fuzzy sets. Fastest [ 0.75 – 1.00 ]
  • 7. Introduction to Fuzzy Set Theory Fuzzy Sets
  • 8. Types of Uncertainty • Stochastic uncertainty – E.g., rolling a dice • Linguistic uncertainty – E.g., low price, tall people, young age • Informational uncertainty – E.g., credit worthiness, honesty
  • 9. Crisp or Fuzzy Logic • Crisp Logic – A proposition can be true or false only. • Ajay is a student (true) • Smoking is healthy (false) – The degree of truth is 0 or 1. • Fuzzy Logic – The degree of truth is between 0 and 1. • Raj is young (0.3 truth) • Amol is smart (0.9 truth)
  • 10. Crisp Sets • Classical sets are called crisp sets – either an element belongs to a set or not, i.e., x∈ A or x∉ A • Member Function of crisp set 0 x∉ A µ A ( x) =  µ A ( x) ∈ { 0,1} 1 x ∈ A
  • 11. Crisp Sets P : the set of all people. Y : the set of all young people. P Y Y Young = { y y = age( x) ≤ 25, x ∈ P} µYoung ( y ) 1 25 y
  • 12. Crisp sets µ A ( x) ∈ { 0,1} Fuzzy Sets µ A ( x) ∈ [0,1] Example µYoung ( y ) 1 y
  • 13. Definition: Fuzzy Sets and Membership Functions U : universe of discourse. If U is a collection of objects denoted generically by x, then a fuzzy set A in U is defined as a set of ordered pairs: A = { ( x, µ A ( x)) x ∈ U } membership function µ A : U → [0,1]
  • 14. Example (Discrete Universe) U = {1, 2,3, 4,5, 6, 7,8} # courses a student may take in a semester.  (1, 0.1) (2, 0.3) (3, 0.8) (4,1)  A=  #appropriate  (5, 0.9) (6, 0.5) (7, 0.2) (8, 0.1)  courses taken 1 µA ( x ) 0.5 0 2 4 6 8 x : # courses
  • 15. Example (Discrete Universe) U = {1, 2,3, 4,5, 6, 7,8} # courses a student may take in a semester.  (1,0.1) (2,0.3) (3,0.8) (4,1)  appropriate A=    (5,0.9) (6,0.5) (7,0.2) (8,0.1)  # courses taken Alternative Representation: A = 0.1/ 1 + 0.3 / 2 + 0.8 / 3 + 1.0 / 4 + 0.9 / 5 + 0.5 / 6 + 0.2 / 7 + 0.1/ 8
  • 16. Example (Continuous Universe) U : the set of positive real numbers possible ages B = { ( x, µ B ( x)) x ∈U } 1 about 50 years old µ B ( x) = 4  x − 50  1.2 1+  ÷ 1  5  0.8 µ B ( x) 0.6 Alternative 0.4 Representation: 0.2 0 B=∫ 1 x 0 20 40 60 80 100 ( ) 4 x : age R + 1+ x −50 5
  • 17. Alternative Notation A = { ( x, µ A ( x)) x ∈ U } U : discrete universe A= ∑µ xi ∈U A ( xi ) / xi U : continuous universe A = ∫ µ A ( x) / x U Note that ∑ and integral signs stand for the union of membership grades; “ / ” stands for a marker and does not imply division.
  • 18. Membership Functions (MF’s) • A fuzzy set is completely characterized by a membership function. – a subjective measure. – not a probability measure. “tall” in Asia Membership 1 value “tall” in USA “tall” in Aus 0 height
  • 19. Fuzzy Partition • Fuzzy partitions formed by the linguistic values “young”, “middle aged”, and “old”:
  • 20. Introduction to Fuzzy Set Theory Set-Theoretic Operations
  • 21. Set-Theoretic Operations • Subset A ⊆B ⇔µA ( x ) ≤ µ ( x ), ∀ ∈ B x U • Complement A = U − A ⇔ µA ( x ) = 1 − µA ( x ) • Union C = A ∪ B ⇔ µC ( x ) = max( µA ( x ), µB ( x )) = µA ( x ) ∨ µB ( x ) Intersection • C = A ∩ B ⇔ µ ( x) = min( µ C A ( x ), µB ( x )) = µA ( x) ∧ µB ( x)
  • 23. Properties Involution A=A De Morgan’s laws A∪ B = B ∪ A A∪ B = A∩ B Commutativity A∩ B = B ∩ A A∩ B = A∪ B ( A ∪ B) ∪ C = A ∪ ( B ∪ C ) Associativity ( A ∩ B ) ∩ C = A ∩ ( B ∩ C ) A ∩ ( B ∪ C ) = ( A ∩ B) ∪ ( A ∩ C ) Distributivity A ∪ ( B ∩ C ) = ( A ∪ B ) ∩ ( A ∪ C ) A∪ A = A Idempotence A∩ A = A A ∪ ( A ∩ B) = A Absorption A ∩ ( A ∪ B) = A
  • 24. Properties • The following properties are invalid for fuzzy sets: – The laws of contradiction A∩ A = ∅ – The laws of excluded middle A∪ A =U
  • 25. Other Definitions for Set Operations • Union µ A∪ B ( x) = min ( 1, µ A ( x) + µ B ( x) ) • Intersection µ A∩ B ( x) = µ A ( x) ×µ B ( x)
  • 26. Other Definitions for Set Operations • Union µ A∪ B ( x ) = µ A ( x ) + µ B ( x ) − µ A ( x ) µ B ( x ) • Intersection µ A∩ B ( x) = µ A ( x) ×µ B ( x)
  • 27. Generalized Union/Intersection • Generalized Intersection t-norm • Generalized Union t-conorm
  • 28. T-Norm Or called triangular norm. T :[0,1] × [0,1] → [0,1] 1. Symmetry T ( x, y ) = T ( y , x ) 2. Associativity T (T ( x, y ), z ) = T ( x, T ( y, z )) 3. Monotonicity x1 ≤ x2 , y1 ≤ y2 ⇒ T ( x1 , y1 ) ≤ T ( x2 , y2 ) 4. Border Condition T ( x,1) = x
  • 29. T-Conorm Or called s-norm. S :[0,1] × [0,1] → [0,1] 1. Symmetry S ( x, y ) = S ( y , x ) 2. Associativity S ( S ( x, y ), z ) = S ( x, S ( y, z )) 3. Monotonicity x1 ≤ x2 , y1 ≤ y2 ⇒ S ( x1 , y1 ) ≤ S ( x2 , y2 ) 4. Border Condition S ( x, 0) = x
  • 30. Fuzzy Relations Review Fuzzy Relations
  • 31. R ⊆ A×B Binary Relation (R) b1 a1 b2 A a2 a3 b3 B b4 a4 b5 1 0 1 0 0 a1 Rb1 a1 Rb3 a2 Rb5 0 1 0 0 0 ( a1 , b1 ), ( a1 , b3 ), ( a2 , b5 )  MR =  R =  1 0 0 1 0 ( a3 , b1 ), ( a3 , b4 ), ( a4 , b2 )    0 1 0 0 0 a3 Rb1 a3 Rb4 a4 Rb2
  • 32. The Real-Life Relation • x is close to y – x and y are numbers • x depends on y – x and y are events • x and y look alike – x and y are persons or objects • If x is large, then y is small – x is an observed reading and y is a corresponding action
  • 33. Fuzzy Relations A fuzzy relation R is a 2D MF: R = { ( ( x, y ), µ R ( x, y ) ) | ( x, y ) ∈ X × Y }
  • 34. R = { ( ( x, y ), µ R ( x, y ) ) | ( x, y ) ∈ X × Y } Example (Approximate Equal) X = Y = U = {1, 2,3, 4,5}  1 0.8 0.3 0 0  1 u−v = 0 0.8 1 0.8 0.3 0     0.8 u − v = 1 M R =  0.3 0.8 1 0.8 0.3 µ R (u, v) =  0.3 u − v = 2   0 otherwise  0 0.3 0.8 1 0.8  0  0 0.3 0.8 1  
  • 35. Max-Min Composition X Y Z R: fuzzy relation defined on X and Y. S: fuzzy relation defined on Y and Z. R 。 S: the composition of R and S. A fuzzy relation defined on X an Z. µ RoS (x, z ) = max y min ( µ R ( x, y ), µS ( y, z ) ) = ∨ y ( µ R ( x, y ) ∧ µ S ( y , z ) )
  • 36. µ S o R (x, y ) = max v min ( µ R ( x, v), µ S (v, y ) ) Example R a b c d S α β γ 1 0.1 0.2 0.0 1.0 a 0.9 0.0 0.3 2 0.3 0.3 0.0 0.2 b 0.2 1.0 0.8 3 0.8 0.9 1.0 0.4 c 0.8 0.0 0.7 0.1 0.2 0.0 1.0 d 0.4 0.2 0.3 0.9 0.2 0.8 0.4 min0.1 0.2 0.0 0.4 max RoS α β γ 1 0.4 0.2 0.3 2 0.3 0.3 0.3 3 0.8 0.9 0.8
  • 37. Max-min composition is not mathematically tractable, therefore other compositions such as max-product composition have been suggested. Max-Product Composition X Y Z R: fuzzy relation defined on X and Y. S: fuzzy relation defined on Y and Z. R 。 S: the composition of R and S. A fuzzy relation defined on X an Z. µ RoS (x, z ) = max y ( µ R ( x, y ) µ S ( y, z ) )
  • 38. Dimension Reduction Projection R RY =  R ↓ Y    RX =  R ↓ X   
  • 39. Dimension Reduction Projection R RY =  R ↓ Y    RX =  R ↓ X    = ∫ max µ R ( x, y ) / y = ∫ maxµ R ( x, y ) / x Y x X y µ RY ( y ) = max µ R ( x, y ) µ RX ( x) = max µ R ( x, y) y x
  • 40. Dimension Expansion Cylindrical Extension A : a fuzzy set in X. C(A) = [A↑X×Y] : cylindrical extension of A. C ( A) = ∫ µ A ( x ) | ( x, y ) µC ( A ) ( x , y ) = µ A ( x ) X ×Y
  • 41. Types of Fuzzy Relations R ( x, x) = 1 for all x ∈ X • Reflexive – Irreflexive R ( x, x) ≠ 1 for some x ∈ X – Antireflexive R ( x, x) ≠ 1 for all x ∈ X – Epsilon Reflexive R ( x, x) ≥ ε for all x ∈ X • Symmetric R ( x, y ) = R ( y, x) for all x ∈ X – Asymmetric R ( x, y ) ≠ R( y, x) for some x ∈ X – Antisymmetric R( x, y ) > 0 and R( y, x) > 0 → x = y for all x, y ∈ X
  • 42. Types of Fuzzy Relations • Transitive (max-min transitive) R ( x, z ) ≥ max min[ R ( x, y ), R ( y , z )] for all x,z ∈X y∈Y – Non-transitive: For some (x,z), the above do not satisfy. – Antitransitive: R ( x, z ) < max min[ R ( x, y ), R ( y , z )] for all x,z ∈X y∈Y • Example: X = Set of cities, R=“very far” Reflexive, symmetric, non-transitive
  • 43. Types of Fuzzy Relations • Transitive Closure – Crisp: Transitive relation that contains R(X,X) with fewest possible members – Fuzzy: Transitive relation that contains R(X,X) with smallest possible membership – Algorithm: 1. R ' = R ∪ R o R ). ( 2. If R ' ≠ R, make R = R ' and go to step 1 3. Stop : R ' = RT
  • 44. Types of Fuzzy Relations • Fuzzy Equivalence or Similarity Relation – Reflexive, symmetric, and transitive – Decomposition: R=  ααR ⋅ α∈ ,1] [0 α R is a crisp equivalence relation. Set of partitions : ∏ ={π(αR ) | α∈ (R) [0,1]} – Partition Tree
  • 45. Types of Fuzzy Relations • Fuzzy Compatibility or Tolerance Relation – Reflexive and symmetric – Maximal compatibility class and complete cover • Compatibility class Subset A of X such that < x, y >∈R • Maximal compatibility class: largest compatibility class • Complete cover: Set of maximal compatibility classes – Maximal alpha-compatibility class – Complete alpha-covers – Note: Relation from distance metrics forms tolerance relation in clustering.
  • 46. Bibliography • J. R. Jang, C. Sun, E. Mizutani, “Neuro-Fuzzy and Soft Computing: A Computational Approach to Learning and Machine Intelligence, Prentice Hall • Slides and notes: http://equipe.nce.ufrj.br/adriano/fuzzy/bib