Computational Intelligence Winter Term 2015/16 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.

Slides:



Advertisements
Similar presentations
Fuzzy Logic (1) Intelligent System Course. Apples, oranges or in between? A O Group of appleGroup of orange A A AA A A O O O O O O.
Advertisements

Computational Intelligence Winter Term 2009/10 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.
Computational Intelligence Winter Term 2010/11 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.
Computational Intelligence
Fuzzy Sets and Fuzzy Logic
Computational Intelligence Winter Term 2010/11 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.
Computational Intelligence Winter Term 2014/15 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.
Lecture 4 Fuzzy expert systems: Fuzzy logic
Discrete Mathematics I Lectures Chapter 6
Discrete Mathematics Lecture 5 Alexander Bukharovich New York University.
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Discrete Structures & Algorithms Basics of Set Theory EECE 320 — UBC.
CLASSICAL LOGIC and FUZZY LOGIC. CLASSICAL LOGIC In classical logic, a simple proposition P is a linguistic, or declarative, statement contained within.
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.
FUZZY SYSTEMS. Fuzzy Systems Fuzzy Sets – To quantify and reason about fuzzy or vague terms of natural language – Example: hot, cold temperature small,
Fuzzy Sets and Fuzzy Logic Theory and Applications
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.
Boolean Algebra cont’ The digital abstraction Graphs and Topological Sort מבנה המחשב + מבוא למחשבים ספרתיים תרגול 2#
Sets Definition of a Set: NAME = {list of elements or description of elements} i.e. B = {1,2,3} or C = {x  Z + | -4 < x < 4} Axiom of Extension: A set.
Discrete Structures Chapter 3 Set Theory Nurul Amelina Nasharuddin Multimedia Department.
PART 1 From classical sets to fuzzy sets 1. Introduction 2. Crisp sets: an overview 3. Fuzzy sets: basic types 4. Fuzzy sets: basic concepts FUZZY SETS.
Fuzzy Logic B. Logic Operations. Conventional or crisp sets are binary. An element either belongs to the set or doesn't. Fuzzy sets, on the other hand,
1 CSE 20: Lecture 7 Boolean Algebra CK Cheng 4/21/2011.
1 Set Operations CS/APMA 202, Spring 2005 Rosen, section 1.7 Aaron Bloomfield.
Rosen 1.6. Approaches to Proofs Membership tables (similar to truth tables) Convert to a problem in propositional logic, prove, then convert back Use.
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.
Classical Sets and Fuzzy Sets
Fuzzy Logic. Lecture Outline Fuzzy Systems Fuzzy Sets Membership Functions Fuzzy Operators Fuzzy Set Characteristics Fuzziness and Probability.
Chapter 3 – Set Theory  .
Set, Combinatorics, Probability & Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Set,
Sets Defined A set is an object defined as a collection of other distinct objects, known as elements of the set The elements of a set can be anything:
Logical Systems and Knowledge Representation Fuzzy Logical Systems 1.
CompSci 102 Discrete Math for Computer Science
Week 6 - Friday.  What did we talk about last time?  Solving recurrence relations.
CSE 20: Lecture 7 Boolean Algebra CK Cheng
Chapter 2 With Question/Answer Animations. Section 2.1.
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI
Computational Intelligence Winter Term 2015/16 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.
Fuzzy Optimization D Nagesh Kumar, IISc Water Resources Planning and Management: M9L1 Advanced Topics.
Set Theory Concepts Set – A collection of “elements” (objects, members) denoted by upper case letters A, B, etc. elements are lower case brackets are used.
1 Topic Sets (5.1, 5.2, 5.3). 2 Original author of the slides: Vadim Bulitko University of Alberta Modified by.
Set Operations Section 2.2.
Notions & Notations (2) - 1ICOM 4075 (Spring 2010) UPRM Department of Electrical and Computer Engineering University of Puerto Rico at Mayagüez Spring.
Introduction to Graph Theory & its Applications
Computational Intelligence Winter Term 2015/16 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.
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.
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 Operations CS 202, Spring 2008 Epp, chapter 5.
Discrete Structures – CNS 2300
Computational Intelligence
Computational Intelligence
Computational Intelligence
Set, Combinatorics, Probability & Number Theory
Computational Intelligence
Computational Intelligence
CLASSICAL LOGIC and FUZZY LOGIC
Financial Informatics –IX: Fuzzy Sets
Set Operations Section 2.2.
Computational Intelligence
Computational Intelligence
Classical Sets and Fuzzy Sets
Computational Intelligence
Computational Intelligence
Introduction to Fuzzy Set Theory
Computational Intelligence
Intelligent System Course
Presentation transcript:

Computational Intelligence Winter Term 2015/16 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund

Lecture 05 G. Rudolph: Computational Intelligence ▪ Winter Term 2015/16 2 Plan for Today ● Fuzzy Sets  Basic Definitions and Results for Standard Operations  Algebraic Difference between Fuzzy and Crisp Sets

Lecture 05 G. Rudolph: Computational Intelligence ▪ Winter Term 2015/16 3 Fuzzy Systems: Introduction Observation: Communication between people is not precise but somehow fuzzy and vague. Despite these shortcomings in human language we are able ● to process fuzzy / uncertain information and ● to accomplish complex tasks! “If the water is too hot then add a little bit of cold water.“ Goal: Development of formal framework to process fuzzy statements in computer.

Lecture 05 G. Rudolph: Computational Intelligence ▪ Winter Term 2015/16 4 Fuzzy Systems: Introduction “The water is hot.”Consider the statement: Which temperature defines “hot”? A single temperature T = 100° C? No! Rather, an interval of temperatures: T  [ 70, 120 ] ! But who defines the limits of the intervals? Some people regard temperatures > 60° C as hot, others already T > 50° C! Idea: All people might agree that a temperature in the set [70, 120] defines a hot temperature! If T = 65°C not all people regard this as hot. It does not belong to [70,120]. But it is hot to some degree. Or: T = 65°C belongs to set of hot temperatures to some degree!  Can be the concept for capturing fuzziness!  Formalize this concept!

Lecture 05 G. Rudolph: Computational Intelligence ▪ Winter Term 2015/16 5 Fuzzy Sets: The Beginning … Remark: A fuzzy set F is actually a map F(x). Shorthand notation is simply F. Definition A map F: X → [0,1]  R that assigns its degree of membership F(x) to each x  X is termed a fuzzy set. Same point of view possible for traditional (“crisp”) sets: characteristic / indicator function of (crisp) set A  membership function interpreted as generalization of characteristic function

Lecture 05 G. Rudolph: Computational Intelligence ▪ Winter Term 2015/16 6 Fuzzy Sets: Membership Functions triangle function trapezoidal

Lecture 05 G. Rudolph: Computational Intelligence ▪ Winter Term 2015/16 7 Fuzzy Sets: Membership Functions paraboloidal functiongaussoid function

Lecture 05 G. Rudolph: Computational Intelligence ▪ Winter Term 2015/16 8 Fuzzy Sets: Basic Definitions Definition A fuzzy set F over the crisp set X is termed a) emptyif F(x) = 0 for all x  X, b) universalif F(x) = 1 for all x  X. Empty fuzzy set is denoted by O. Universal set is denoted by U.■ Definition Let A and B be fuzzy sets over the crisp set X. a)A and B are termed equal, denoted A = B, if A(x) = B(x) for all x  X. b)A is a subset of B, denoted A  B, if A(x) ≤ B(x) for all x  X. c)A is a strict subset of B, denoted A  B, if A  B and  x  X: A(x) < B(x).■ Remark: A strict subset is also called a proper subset.

Lecture 05 G. Rudolph: Computational Intelligence ▪ Winter Term 2015/16 9 Fuzzy Sets: Basic Relations Theorem Let A, B and C be fuzzy sets over the crisp set X. The following relations are valid: a)reflexivity: A  A. b)antisymmetry: A  B and B  A  A = B. c)transitivity: A  B and B  C  A  C. Proof: (via reduction to definitions and exploiting operations on crisp sets) ad a)  x  X: A(x) ≤ A(x). ad b)  x  X: A(x) ≤ B(x) and B(x) ≤ A(x)  A(x) = B(x). ad c)  x  X: A(x) ≤ B(x) and B(x) ≤ C(x)  A(x) ≤ C(x). q.e.d. Remark: Same relations valid for crisp sets. No Surprise! Why?

Lecture 05 G. Rudolph: Computational Intelligence ▪ Winter Term 2015/16 10 Fuzzy Sets: Standard Operations Definition Let A and B be fuzzy sets over the crisp set X. The set C is the a) union of A and B, denoted C = A  B, if C(x) = max{ A(x), B(x) } for all x  X; b) intersection of A and B, denoted C = A  B, if C(x) = min{ A(x), B(x) } for all x  X; c) complement of A, denoted C = A c, if C(x) = 1 – A(x) for all x  X. ■ A B A  B A  B AcAc BcBc

Lecture 05 G. Rudolph: Computational Intelligence ▪ Winter Term 2015/16 11 Fuzzy Sets: Standard Operations in 2D A  B BA interpretation: membership = 0 is white, = 1 is black, in between is gray standard fuzzy union

Lecture 05 G. Rudolph: Computational Intelligence ▪ Winter Term 2015/16 12 Fuzzy Sets: Standard Operations in 2D A  B BA interpretation: membership = 0 is white, = 1 is black, in between is gray standard fuzzy intersection

Lecture 05 G. Rudolph: Computational Intelligence ▪ Winter Term 2015/16 13 Fuzzy Sets: Standard Operations in 2D AcAc A interpretation: membership = 0 is white, = 1 is black, in between is gray standard fuzzy complement

Lecture 05 G. Rudolph: Computational Intelligence ▪ Winter Term 2015/16 14 Fuzzy Sets: Basic Definitions Definition The fuzzy set A over the crisp set X has a) height hgt(A) = sup{ A(x) : x  X }, b) depth dpth(A) = inf { A(x) : x  X }. ■ hgt(A) = 0.8 dpth(A) = 0.2 hgt(A) = 1 dpth(A) = 0

Lecture 05 G. Rudolph: Computational Intelligence ▪ Winter Term 2015/16 15 Fuzzy Sets: Basic Definitions Definition The fuzzy set A over the crisp set X is a) normal if hgt(A) = 1 b) strongly normalif  x  X: A(x) = 1 c) co-normalif dpth(A) = 0 d) strongly co-normalif  x  X: A(x) = 0 e) subnormalif 0 < A(x) < 1 for all x  X.■ A is (co-) normal but not strongly (co-) normal Remark: How to normalize a non-normal fuzzy set A?

Lecture 05 G. Rudolph: Computational Intelligence ▪ Winter Term 2015/16 16 Fuzzy Sets: Basic Definitions Definition The cardinality card(A) of a fuzzy set A over the crisp set X is ■ Examples: a) A(x) = q x with q  (0,1), x  N 0  card(A) = b) A(x) = 1/x with x  N  card(A) = c) A(x) = exp(-|x|)  card(A) = RnRn

Lecture 05 G. Rudolph: Computational Intelligence ▪ Winter Term 2015/16 17 Fuzzy Sets: Basic Results Theorem For fuzzy sets A, B and C over a crisp set X the standard union operation is a) commutative: A  B = B  A b) associative: A  (B  C) = (A  B)  C c) idempotent: A  A = A d) monotone: A  B  (A  C)  (B  C). Proof: (via reduction to definitions) ad a) A  B = max { A(x), B(x) } = max { B(x), A(x) } = B  A. ad b) A  (B  C)= max { A(x), max{ B(x), C(x) } } = max { A(x), B(x), C(x) } = max { max { A(x), B(x) }, C(x) } = (A  B)  C. ad c) A  A = max { A(x), A(x) } = A(x) = A. ad d) A  C = max { A(x), C(x) } ≤ max { B(x), C(x) } = B  C since A(x) ≤ B(x). q.e.d.

Lecture 05 G. Rudolph: Computational Intelligence ▪ Winter Term 2015/16 18 Fuzzy Sets: Basic Results Theorem For fuzzy sets A, B and C over a crisp set X the standard intersection operation is a) commutative: A  B = B  A b) associative: A  (B  C) = (A  B)  C c) idempotent: A  A = A d) monotone: A  B  (A  C)  (B  C). Proof: (analogous to proof for standard union operation)■

Lecture 05 G. Rudolph: Computational Intelligence ▪ Winter Term 2015/16 19 Fuzzy Sets: Basic Results Theorem For fuzzy sets A, B and C over a crisp set X there are the distributive laws a)A  (B  C) = (A  B)  (A  C) b)A  (B  C) = (A  B)  (A  C). Proof: ad a) max { A(x), min { B(x), C(x) } } = max { A(x), B(x) } if B(x) ≤ C(x) max { A(x), C(x) } otherwise If B(x) ≤ C(x) then max { A(x), B(x) } ≤ max { A(x), C(x) }. Otherwise max { A(x), C(x) } ≤ max { A(x), B(x) }.  result is always the smaller max-expression  result is min { max { A(x), B(x) }, max { A(x), C(x) } } = (A  B)  (A  C). ad b) analogous.■

Lecture 05 G. Rudolph: Computational Intelligence ▪ Winter Term 2015/16 20 Fuzzy Sets: Basic Results Theorem If A is a fuzzy set over a crisp set X then a)A  O = A b)A  U = U c)A  O = O d)A  U = A. Proof: (via reduction to definitions) ad a) max { A(x), 0 } = A(x) ad b) max { A(x), 1 } = U(x)  1 ad c) min { A(x), 0 } = O (x)  0 ad d) min { A(x), 1 } = A(x). ■ Breakpoint: So far we know that fuzzy sets with operations  and  are a distributive lattice. If we can show the validity of (A c ) c = A A  A c = U A  A c = O  Fuzzy Sets would be Boolean Algebra! Is it true ?

Lecture 05 G. Rudolph: Computational Intelligence ▪ Winter Term 2015/16 21 Fuzzy Sets: Basic Results Theorem If A is a fuzzy set over a crisp set X then a)(A c ) c = A b)½ ≤ (A  A c )(x) < 1 for A(x)  (0,1) c)0 < (A  A c )(x) ≤ ½ for A(x)  (0,1) Proof: ad a)  x  X: 1 – (1 – A(x)) = A(x). ad b)  x  X: max { A(x), 1 – A(x) } = ½ + | A(x) – ½ |  ½. Value 1 only attainable for A(x) = 0 or A(x) = 1. ad c)  x  X: min { A(x), 1 – A(x) } = ½ - | A(x) – ½ | ≤ ½. Value 0 only attainable for A(x) = 0 or A(x) = 1. q.e.d. Remark: Recall the identities

Lecture 05 G. Rudolph: Computational Intelligence ▪ Winter Term 2015/16 22 Fuzzy Sets: Algebraic Structure Conclusion: Fuzzy sets with  and  are a distributive lattice. But in general: a)A  A c ≠ U b)A  A c ≠ O  Fuzzy sets with  and  are not a Boolean algebra! Remarks: ad a) The law of excluded middle does not hold! („Everything must either be or not be!“) ad b)The law of noncontradiction does not hold! („Nothing can both be and not be!“)  Nonvalidity of these laws generate the desired fuzziness! but:Fuzzy sets still endowed with much algebraic structure (distributive lattice)!

Lecture 05 G. Rudolph: Computational Intelligence ▪ Winter Term 2015/16 23 Fuzzy Sets: DeMorgan‘s Laws Theorem If A and B are fuzzy sets over a crisp set X with standard union, intersection, and complement operations then DeMorgan ‘s laws are valid: a)(A  B) c = A c  B c b)(A  B) c = A c  B c Proof: (via reduction to elementary identities) ad a) (A  B) c (x) = 1 – min { A(x), B(x) } = max { 1 – A(x), 1 – B(x) } = A c (x)  B c (x) ad b) (A  B) c (x) = 1 – max { A(x), B(x) } = min { 1 – A(x), 1 – B(x) } = A c (x)  B c (x) q.e.d. Question: Why restricting result above to “standard“ operations? Conjecture: Most likely there also exist “nonstandard” operations!