CS621: Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–3: Some proofs in Fuzzy Sets and Fuzzy Logic 27 th July.

Slides:



Advertisements
Similar presentations
(Fuzzy Set Operations)
Advertisements

CS344: Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 15, 16: Perceptrons and their computing power 6 th and.
CS344 : Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 9,10,11- Logic; Deduction Theorem 23/1/09 to 30/1/09.
Prof. Johnnie Baker Module Basic Structures: Sets
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Discrete Structures & Algorithms Basics of Set Theory EECE 320 — UBC.
Instructor: Hayk Melikya
(CSC 102) Discrete Structures Lecture 14.
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Fuzzy Sets and Applications Introduction Introduction Fuzzy Sets and Operations Fuzzy Sets and Operations.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 11– Fuzzy Logic: Inferencing.
CS344 Artificial Intelligence Prof. Pushpak Bhattacharya Class on 6 Mar 2007.
Fuzzy Expert System. Basic Notions 1.Fuzzy Sets 2.Fuzzy representation in computer 3.Linguistic variables and hedges 4.Operations of fuzzy sets 5.Fuzzy.
CS344: Introduction to Artificial Intelligence (associated lab: CS386) Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–1: Introduction.
Geometry of Fuzzy Sets.
1 Section 1.7 Set Operations. 2 Union The union of 2 sets A and B is the set containing elements found either in A, or in B, or in both The denotation.
Discrete Structures Chapter 3 Set Theory Nurul Amelina Nasharuddin Multimedia Department.
EE1J2 - Slide 1 EE1J2 – Discrete Maths Lecture 12 Number theory Mathematical induction Proof by induction Examples.
1 Set Theory. Notation S={a, b, c} refers to the set whose elements are a, b and c. a  S means “a is an element of set S”. d  S means “d is not an element.
Ragionamento in condizioni di incertezza: Approccio fuzzy Paolo Radaelli Corso di Inelligenza Articifiale - Elementi.
1 Set Theory. Notation S={a, b, c} refers to the set whose elements are a, b and c. a  S means “a is an element of set S”. d  S means “d is not an element.
Mathematics.
Rosen 1.6. Approaches to Proofs Membership tables (similar to truth tables) Convert to a problem in propositional logic, prove, then convert back Use.
CS621: Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–4: Fuzzy Inferencing 29 th July 2010.
MATERI VI FUZZY SET. Fuzzy Set 2 Fuzzy Set Theory was formalized by Professor Lofti Zadeh at the University of California in What Zadeh proposed.
CS344: Introduction to Artificial Intelligence (associated lab: CS386) Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–2: Fuzzy Logic and Inferencing.
CSE 311 Foundations of Computing I Lecture 8 Proofs and Set Theory Spring
1 Asst. Prof. Dr. Sukanya Pongsuparb Dr. Srisupa Palakvangsa Na Ayudhya Dr. Benjarath Pupacdi SCCS451 Artificial Intelligence Week 9.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 28– Interpretation; Herbrand Interpertation 30 th Sept, 2010.
CS344: Introduction to Artificial Intelligence (associated lab: CS386) Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 19: Interpretation in Predicate.
CS621 : Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 30 Uncertainty, Fuizziness.
CS201: Data Structures and Discrete Mathematics I
Logical Systems and Knowledge Representation Fuzzy Logical Systems 1.
CompSci 102 Discrete Math for Computer Science
CS344: Introduction to Artificial Intelligence (associated lab: CS386) Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–4: Fuzzy Control of Inverted.
CS344: Introduction to Artificial Intelligence (associated lab: CS386) Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–3: Fuzzy Inferencing: Inverted.
Theory and Applications
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 38: Fuzzy Logic.
1 Introduction to Abstract Mathematics Sets Section 2.1 Basic Notions of Sets Section 2.2 Operations with sets Section 2.3 Indexed Sets Instructor: Hayk.
Discrete Mathematical Structures 4 th Edition Kolman, Busby, Ross © 2000 by Prentice-Hall, Inc. ISBN
CSE 311 Foundations of Computing I Lecture 9 Proofs and Set Theory Autumn 2012 CSE
Prof. Pushpak Bhattacharyya, IIT Bombay 1 CS 621 Artificial Intelligence Lecture /08/05 Prof. Pushpak Bhattacharyya Fuzzy Set (contd) Fuzzy.
Introduction to Set theory. Ways of Describing Sets.
Ch. 2 Basic Structures Section 1 Sets. Principles of Inclusion and Exclusion | A  B | = | A | + | B | – | A  B| | A  B  C | = | A | + | B | + | C.
CLASSICAL RELATIONS AND FUZZY RELATIONS
Basic Definitions of Set Theory Lecture 24 Section 5.1 Fri, Mar 2, 2007.
Lecture 3 Fuzzy sets. 1.1 Sets Elements of sets An universal set X is defined in the universe of discourse and it includes all possible elements.
Discrete Mathematics Set.
Prof. Pushpak Bhattacharyya, IIT Bombay 1 CS 621 Artificial Intelligence Lecture 5 – 08/08/05 Prof. Pushpak Bhattacharyya FUZZY LOGIC & INFERENCING.
Prof. Pushpak Bhattacharyya, IIT Bombay 1 CS 621 Artificial Intelligence Lecture /08/05 Prof. Pushpak Bhattacharyya Fuzzy Logic Application.
CSE 311: Foundations of Computing Fall 2013 Lecture 8: Proofs and Set theory.
Module #3 - Sets 3/2/2016(c) , Michael P. Frank 2. Sets and Set Operations.
Notions & Notations (2) - 1ICOM 4075 (Spring 2010) UPRM Department of Electrical and Computer Engineering University of Puerto Rico at Mayagüez Spring.
CS621 : Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 32 Fuzzy Expert System.
Chapter 2 1. Chapter Summary Sets (This Slide) The Language of Sets - Sec 2.1 – Lecture 8 Set Operations and Set Identities - Sec 2.2 – Lecture 9 Functions.
CS344 : Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 4- Logic.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 10– Uncertainty: Fuzzy Logic.
CS344 : Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 5- Deduction Theorem.
Sets, Permutations, and Combinations. Lecture 4-1: Sets Sets: Powerful tool in computer science to solve real world problems. A set is a collection of.
Set Theory.
Advanced Algorithms Analysis and Design
Set, Combinatorics, Probability & Number Theory
CS621: Introduction to Artificial Intelligence
CS100: Discrete structures
Financial Informatics –IX: Fuzzy Sets
Set Operations Section 2.2.
CS621: Artificial Intelligence
Negations of quantifiers
Classical Sets and Fuzzy Sets
CS621: Artificial Intelligence
Presentation transcript:

CS621: Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–3: Some proofs in Fuzzy Sets and Fuzzy Logic 27 th July 2010

Theory of Fuzzy Sets Given any set ‘S’ and an element ‘e’, there is a very natural predicate, μ s (e) called as the belongingness predicate. The predicate is such that, μ s (e) = 1,iff e ∈ S = 0,otherwise For example, S = {1, 2, 3, 4}, μ s (1) = 1 and μ s (5) = 0 A predicate P(x) also defines a set naturally. S = {x | P(x) is true} For example, even(x) defines S = {x | x is even}

Fuzzy Set Theory (contd.) In Fuzzy theory μ s (e) = [0, 1] Fuzzy set theory is a generalization of classical set theory aka called Crisp Set Theory. In real life, belongingness is a fuzzy concept. Example: Let, T = “tallness” μ T (height=6.0ft ) = 1.0 μ T (height=3.5ft) = 0.2 An individual with height 3.5ft is “tall” with a degree 0.2

Representation of Fuzzy sets Let U = {x 1,x 2,…..,x n } |U| = n The various sets composed of elements from U are presented as points on and inside the n-dimensional hypercube. The crisp sets are the corners of the hypercube. (1,0) (0,0) (0,1) (1,1) x1x1 x2x2 x1x1 x2x2 (x 1,x 2 ) A(0.3,0.4) μ A (x 1 )=0.3 μ A (x 2 )=0.4 Φ U={x 1,x 2 } A fuzzy set A is represented by a point in the n-dimensional space as the point {μ A (x 1 ), μ A (x 2 ),……μ A (x n )}

Degree of fuzziness The centre of the hypercube is the most fuzzy set. Fuzziness decreases as one nears the corners Measure of fuzziness Called the entropy of a fuzzy set Entropy Fuzzy setFarthest corner Nearest corner

(1,0) (0,0) (0,1) (1,1) x1x1 x2x2 d(A, nearest) d(A, farthest) (0.5,0.5) A

Definition Distance between two fuzzy sets L 1 - norm Let C = fuzzy set represented by the centre point d(c,nearest) = | | + |0.5 – 0.0| = 1 = d(C,farthest) => E(C) = 1

Definition Cardinality of a fuzzy set (generalization of cardinality of classical sets) Union, Intersection, complementation, subset hood

Example of Operations on Fuzzy Set Let us define the following: Universe U={X 1,X 2,X 3 } Fuzzy sets A={0.2/X 1, 0.7/X 2, 0.6/X 3 } and B={0.7/X 1,0.3/X 2,0.5/X 3 } Then Cardinality of A and B are computed as follows: Cardinality of A=|A|= =1.5 Cardinality of B=|B|= =1.5 While distance between A and B d(A,B)=| )+| |+| |=1.0 What does the cardinality of a fuzzy set mean? In crisp sets it means the number of elements in the set.

Example of Operations on Fuzzy Set (cntd.) Universe U={X 1,X 2,X 3 } Fuzzy sets A={0.2/X 1,0.7/X 2,0.6/X 3 } and B={0.7/X 1,0.3/X 2,0.5/X 3 } A U B= {0.7/X 1, 0.7/X 2, 0.6/X 3 } A ∩ B= {0.2/X 1, 0.3/X 2, 0.5/X 3 } A c = {0.8/X 1, 0.3/X 2, 0.4/X 3 }

Laws of Set Theory The laws of Crisp set theory also holds for fuzzy set theory (verify them) These laws are listed below: – Commutativity: A U B = B U A – Associativity: A U ( B U C )=( A U B ) U C – Distributivity: A U ( B ∩ C )=( A ∩ C ) U ( B ∩ C) A ∩ ( B U C)=( A U C) ∩ ( B U C) – De Morgan’s Law: (A U B) C = A C ∩ B C (A ∩ B) C = A C U B C

Distributivity Property Proof Let Universe U={x 1,x 2,…x n } p i =µ AU(B ∩ C) (x i ) =max[µ A (x i ), µ (B ∩ C) (x i )] = max[µ A (x i ), min(µ B (x i ),µ C (x i ))] q i =µ (AUB) ∩ (AUC) (x i ) =min[max(µ A (x i ), µ B (x i )), max(µ A (x i ), µ C (x i ))]

Distributivity Property Proof Case I: 0<µ C <µ B <µ A <1 p i = max[µ A (x i ), min(µ B (x i ),µ C (x i ))] = max[µ A (x i ), µ C (x i )]=µ A (x i ) q i =min[max(µ A (x i ), µ B (x i )), max(µ A (x i ), µ C (x i ))] = min[µ A (x i ), µ A (x i )]=µ A (x i ) Case II: 0<µ C <µ A <µ B <1 p i = max[µ A (x i ), min(µ B (x i ),µ C (x i ))] = max[µ A (x i ), µ C (x i )]=µ A (x i ) q i =min[max(µ A (x i ), µ B (x i )), max(µ A (x i ), µ C (x i ))] = min[µ B (x i ), µ A (x i )]=µ A (x i ) Prove it for rest of the 4 cases.

Note on definition by extension and intension S 1 = {x i |x i mod 2 = 0 } – Intension S 2 = {0,2,4,6,8,10,………..} – extension

How to define subset hood?

Meaning of fuzzy subset Suppose, following classical set theory we say if Consider the n-hyperspace representation of A and B (1,1) (1,0)(0,0) (0,1) x1x1 x2x2 A. B 1.B 2.B 3 Region where

This effectively means CRISPLY P(A) = Power set of A Eg: Suppose A = {0,1,0,1,0,1,…………….,0,1} – 10 4 elements B = {0,0,0,1,0,1,……………….,0,1} – 10 4 elements Isn’t with a degree? (only differs in the 2 nd element)

Subset operator is the “odd man” out AUB, A ∩ B, A c are all “Set Constructors” while A  B is a Boolean Expression or predicate. According to classical logic In Crisp Set theory A  B is defined as  x x  A  x  B So, in fuzzy set theory A  B can be defined as  x µ A (x)  µ B (x)

Zadeh’s definition of subsethood goes against the grain of fuzziness theory Another way of defining A  B is as follows:  x µ A (x)  µ B (x) But, these two definitions imply that µ P(B) (A)=1 where P(B) is the power set of B Thus, these two definitions violate the fuzzy principle that every belongingness except Universe is fuzzy

Fuzzy definition of subset Measured in terms of “fit violation”, i.e. violating the condition Degree of subset hood S(A,B)= 1- degree of superset = m(B) = cardinality of B =

We can show that Exercise 1: Show the relationship between entropy and subset hood Exercise 2: Prove that Subset hood of B in A

Fuzzy sets to fuzzy logic Forms the foundation of fuzzy rule based system or fuzzy expert system Expert System Rules are of the form If then A i Where C i s are conditions Eg: C 1 =Colour of the eye yellow C 2 = has fever C 3 =high bilurubin A = hepatitis

In fuzzy logic we have fuzzy predicates Classical logic P(x 1,x 2,x 3 …..x n ) = 0/1 Fuzzy Logic P(x 1,x 2,x 3 …..x n ) = [0,1] Fuzzy OR Fuzzy AND Fuzzy NOT

Fuzzy Implication Many theories have been advanced and many expressions exist The most used is Lukasiewitz formula t(P) = truth value of a proposition/predicate. In fuzzy logic t(P) = [0,1] t( ) = min[1,1 -t(P)+t(Q)] Lukasiewitz definition of implication