Introduction to Fuzzy Set Theory

Slides:



Advertisements
Similar presentations
Fuzzy Sets and Fuzzy Logic
Advertisements

Lecture 4 Fuzzy expert systems: Fuzzy logic
Fuzzy Inference and Defuzzification
Soft Computing. Per Printz Madsen Section of Automation and Control
Slides for Fuzzy Sets, Ch. 2 of Neuro-Fuzzy and Soft Computing J.-S. Roger Jang ( 張智星 ) CS Dept., Tsing Hua Univ., Taiwan
CLASSICAL LOGIC and FUZZY LOGIC. CLASSICAL LOGIC In classical logic, a simple proposition P is a linguistic, or declarative, statement contained within.
Fuzzy Sets and Applications Introduction Introduction Fuzzy Sets and Operations Fuzzy Sets and Operations.
Fuzzy Expert System Fuzzy Logic
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.
Fuzzy Expert Systems. Lecture Outline What is fuzzy thinking? What is fuzzy thinking? Fuzzy sets Fuzzy sets Linguistic variables and hedges Linguistic.
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
Slides for Fuzzy Sets, Ch. 2 of Neuro-Fuzzy and Soft Computing J.-S. Roger Jang ( 張智星 ) CS Dept., Tsing Hua Univ., Taiwan
Fuzzy Control Lect 3 Membership Function and Approximate Reasoning
Fuzzy Expert System.
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.
Chapter 18 Fuzzy Reasoning.
Theory and Applications
Fuzzy Sets and Fuzzy Logic Theory and Applications
BEE4333 Intelligent Control
FUZZY LOGIC Babu Appat. OVERVIEW What is Fuzzy Logic? Where did it begin? Fuzzy Logic vs. Neural Networks Fuzzy Logic in Control Systems Fuzzy Logic in.
9/3/2015Intelligent Systems and Soft Computing1 Lecture 4 Fuzzy expert systems: Fuzzy logic Introduction, or what is fuzzy thinking? Introduction, or what.
Fuzzy logic Introduction 2 Fuzzy Sets & Fuzzy Rules Aleksandar Rakić
Fuzzy Sets Introduction/Overview Material for these slides obtained from: Modern Information Retrieval by Ricardo Baeza-Yates and Berthier Ribeiro-Neto.
Fuzzy Logic. Lecture Outline Fuzzy Systems Fuzzy Sets Membership Functions Fuzzy Operators Fuzzy Set Characteristics Fuzziness and Probability.
Theory and Applications
1 Asst. Prof. Dr. Sukanya Pongsuparb Dr. Srisupa Palakvangsa Na Ayudhya Dr. Benjarath Pupacdi SCCS451 Artificial Intelligence Week 9.
Ch. 2 of Neuro-Fuzzy and Soft Computing. Fuzzy Sets: Outline Introduction Basic definitions and terminology Set-theoretic operations MF formulation and.
Logical Systems and Knowledge Representation Fuzzy Logical Systems 1.
Fuzzy Sets and Control. Fuzzy Logic The definition of Fuzzy logic is a form of multi-valued logic derived frommulti-valued logic fuzzy setfuzzy set theory.
Theory and Applications
Topic 2 Fuzzy Logic Control. Ming-Feng Yeh2-2 Outlines Basic concepts of fuzzy set theory Fuzzy relations Fuzzy logic control General Fuzzy System R.R.
Slides for Fuzzy Sets, Ch. 2 of Neuro-Fuzzy and Soft Computing Provided: J.-S. Roger Jang Modified: Vali Derhami Neuro-Fuzzy and Soft Computing: Fuzzy.
Fuzzy systems. Calculate the degree of matching Fuzzy inference engine Defuzzification module Fuzzy rule base General scheme of a fuzzy system.
Chap 3: Fuzzy Rules and Fuzzy Reasoning J.-S. Roger Jang ( 張智星 ) CS Dept., Tsing Hua Univ., Taiwan Fuzzy.
Fuzzy Logic & Approximate Reasoning 1. 2 Fuzzy Sets.
AI Fuzzy Systems. History, State of the Art, and Future Development Sde Seminal Paper “Fuzzy Logic” by Prof. Lotfi Zadeh, Faculty in Electrical.
Chapter 2: FUZZY SETS Introduction (2.1)
Fuzzy Optimization D Nagesh Kumar, IISc Water Resources Planning and Management: M9L1 Advanced Topics.
Fuzzy Expert System n Introduction n Fuzzy sets n Linguistic variables and hedges n Operations of fuzzy sets n Fuzzy rules n Summary.
Fuzzy Sets Neuro-Fuzzy and Soft Computing: Fuzzy Sets ...
Fuzzy Logic Artificial Intelligence Chapter 9. Outline Crisp Logic Fuzzy Logic Fuzzy Logic Applications Conclusion “traditional logic”: {true,false}
Ch.3 Fuzzy Rules and Fuzzy Reasoning
Fuzzy Relations( 關係 ), Fuzzy Graphs( 圖 形 ), and Fuzzy Arithmetic( 運算 ) Chapter 4.
Chapter 3: Fuzzy Rules & Fuzzy Reasoning Extension Principle & Fuzzy Relations (3.2) Fuzzy if-then Rules(3.3) Fuzzy Reasonning (3.4)
Lecture 4 Fuzzy expert systems: Fuzzy logic n Introduction, or what is fuzzy thinking? n Fuzzy sets n Linguistic variables and hedges n Operations of fuzzy.
Mathematical basics for general fuzzy systems
Introduction to Fuzzy Logic and Fuzzy Systems
Chapter 8 : Fuzzy Logic.
Artificial Intelligence CIS 342
Slides for Fuzzy Sets, Ch. 2 of Neuro-Fuzzy and Soft Computing
Question: Is it warm in here?
Fuzzy Inference Systems
Fuzzy Control Electrical Engineering Islamic University of Gaza
Introduction to Fuzzy Logic
Chap 3: Fuzzy Rules and Fuzzy Reasoning
CLASSICAL LOGIC and FUZZY LOGIC
Chap 3: Fuzzy Rules and Fuzzy Reasoning
Intelligent Systems and Soft Computing
Slides for Fuzzy Sets, Ch. 2 of Neuro-Fuzzy and Soft Computing
Slides for Fuzzy Sets, Ch. 2 of Neuro-Fuzzy and Soft Computing
Original: J.-S. Roger Jang (張智星) Edited and Extended by 陳琨太
Chap 3: Fuzzy Rules and Fuzzy Reasoning
Slides for Fuzzy Sets, Ch. 2 of Neuro-Fuzzy and Soft Computing
Teacher Salary Raise Model Teacher Salary Raise Model (revisited)
Classical Sets and Fuzzy Sets
Logic Logic is a discipline that studies the principles and methods used to construct valid arguments. An argument is a related sequence of statements.
Fuzzy Sets Neuro-Fuzzy and Soft Computing: Fuzzy Sets ...
© Negnevitsky, Pearson Education, Lecture 4 Fuzzy expert systems: Fuzzy logic Introduction, or what is fuzzy thinking? Introduction, or what is.
Presentation transcript:

Introduction to Fuzzy Set Theory 主講人: 虞台文

Content Fuzzy Sets Set-Theoretic Operations MF Formulation Extension Principle Fuzzy Relations Linguistic Variables Fuzzy Rules Fuzzy Reasoning

Introduction to Fuzzy Set Theory Fuzzy Sets

Types of Uncertainty Stochastic uncertainty Linguistic 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 Fuzzy Logic A proposition can be true or false only. Bob 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. William is young (0.3 truth) Ariel is smart (0.9 truth)

Crisp Sets Classical sets are called crisp sets either an element belongs to a set or not, i.e., Member Function of crisp set or

Crisp Sets P Y P : the set of all people. Y : the set of all young people. Y 1 y 25

Crisp sets Fuzzy Sets Example 1 y

Fuzzy Sets L. A. Zadeh, “Fuzzy sets,” Information and Control, Lotfi A. Zadeh, The founder of fuzzy logic. Fuzzy Sets L. A. Zadeh, “Fuzzy sets,” Information and Control, vol. 8, pp. 338-353, 1965.

Definition: Fuzzy Sets and Membership Functions U : universe of discourse. Definition: Fuzzy Sets and Membership Functions 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: membership function

Example (Discrete Universe) # courses a student may take in a semester. appropriate # courses taken 0.5 1 2 4 6 8 x : # courses

Example (Discrete Universe) # courses a student may take in a semester. appropriate # courses taken Alternative Representation:

Example (Continuous Universe) U : the set of positive real numbers possible ages about 50 years old x : age Alternative Representation:

Alternative Notation U : discrete universe U : continuous universe 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. Membership value height 1 “tall” in Asia 5’10” “tall” in USA “tall” in NBA

Fuzzy Partition Fuzzy partitions formed by the linguistic values “young”, “middle aged”, and “old”:

MF Terminology cross points x 1 0.5 MF core width  -cut support

More Terminologies Normality Fuzzy singleton Fuzzy numbers core non-empty Fuzzy singleton support one single point Fuzzy numbers fuzzy set on real line R that satisfies convexity and normality Symmetricity Open left or right, closed

Convexity of Fuzzy Sets A fuzzy set A is convex if for any  in [0, 1].

Introduction to Fuzzy Set Theory Set-Theoretic Operations

Set-Theoretic Operations Subset Complement Union Intersection

Set-Theoretic Operations

Properties Involution De Morgan’s laws Commutativity Associativity Distributivity Idempotence Absorption

Properties The following properties are invalid for fuzzy sets: The laws of contradiction The laws of exclude middle

Other Definitions for Set Operations Union Intersection

Other Definitions for Set Operations Union Intersection

Generalized Union/Intersection Generalized Intersection Generalized Union t-norm t-conorm

T-Norm Or called triangular norm. Symmetry Associativity Monotonicity Border Condition

T-Conorm Or called s-norm. Symmetry Associativity Monotonicity Border Condition

Examples: T-Norm & T-Conorm Minimum/Maximum: Lukasiewicz: Probabilistic:

Introduction to Fuzzy Set Theory MF Formulation

MF Formulation Triangular MF Trapezoidal MF Gaussian MF Generalized bell MF

MF Formulation

Manipulating Parameter of the Generalized Bell Function

Sigmoid MF Extensions: Abs. difference of two sig. MF Product

L-R MF Example: c=65 =60 =10 c=25 =10 =40

Introduction to Fuzzy Set Theory Extension Principle

Functions Applied to Crisp Sets y B(y) x y = f(x) B A x A(x)

Functions Applied to Fuzzy Sets x y = f(x) B B(y) A(x) A x

Functions Applied to Fuzzy Sets x y = f(x) B B(y) A(x) A x

The Extension Principle Assume a fuzzy set A and a function f. How does the fuzzy set f(A) look like? The Extension Principle y x y = f(x) B B(y) A(x) A x

The Extension Principle Assume a fuzzy set A and a function f. How does the fuzzy set f(A) look like? The Extension Principle y x y = f(x) B B(y) A(x) A x

The Extension Principle fuzzy sets defined on The extension of f operating on A1, …, An gives a fuzzy set F with membership function

Introduction to Fuzzy Set Theory Fuzzy Relations

Binary Relation (R) A a1 a2 a3 a4 B b1 b2 b3 b4 b5

Binary Relation (R) A a1 a2 a3 a4 B b1 b2 b3 b4 b5

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:

Example (Approximate Equal)

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.

Example min max

Max-Product Composition 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.

Dimension Reduction Projection R

Dimension Reduction Projection

Cylindrical Extension Dimension Expansion Cylindrical Extension A : a fuzzy set in X. C(A) = [AXY] : cylindrical extension of A.

Introduction to Fuzzy Set Theory Linguistic Variables

Linguistic Variables Linguistic variable is “a variable whose values are words or sentences in a natural or artificial language”. Each linguistic variable may be assigned one or more linguistic values, which are in turn connected to a numeric value through the mechanism of membership functions.

Motivation Conventional techniques for system analysis are intrinsically unsuited for dealing with systems based on human judgment, perception & emotion.

Example if temperature is cold and oil is cheap then heating is high

Example if temperature is cold and oil is cheap then heating is high Linguistic Variable cold if temperature is cold and oil is cheap then heating is high Linguistic Value Linguistic Value Linguistic Variable cheap high Linguistic Variable Linguistic Value

Definition [Zadeh 1973] A linguistic variable is characterized by a quintuple Universe Term Set Name Syntactic Rule Semantic Rule

Example A linguistic variable is characterized by a quintuple age [0, 100] Example semantic rule:

Example (x) cold warm hot x Linguistic Variable : temperature Linguistics Terms (Fuzzy Sets) : {cold, warm, hot} (x) cold warm hot 20 60 1 x

Introduction to Fuzzy Set Theory Fuzzy Rules

Classical Implication B A  B T F A B A  B 1 A  B A  B A B A  B T F A B A  B 1

Classical Implication B A  B 1 A  B A  B A B A  B 1

Modus Ponens A  B A  B If A then B  A  A  A is true B B 1 Modus Ponens A  B A  B If A then B  A  A  A is true B B B is true

Fuzzy If-Than Rules A  B  If x is A then y is B. antecedent or premise consequence or conclusion

Examples A  B  If x is A then y is B. If pressure is high, then volume is small. If the road is slippery, then driving is dangerous. If a tomato is red, then it is ripe. If the speed is high, then apply the brake a little.

Fuzzy Rules as Relations A  B R  If x is A then y is B. Depends on how to interpret A  B A fuzzy rule can be defined as a binary relation with MF

Interpretations of A  B A coupled with B A B x y A B A entails B x y

Interpretations of A  B A coupled with B A B x y A coupled with B (A and B) A B A entails B x y t-norm

Interpretations of A  B A coupled with B A B x y A coupled with B (A and B) A B A entails B x y E.g.,

Interpretations of A  B A entails B (not A or B) Material implication Propositional calculus Extended propositional calculus Generalization of modus ponens A coupled with B A B x y A B A entails B x y

Interpretations of A  B A entails B (not A or B) Material implication Propositional calculus Extended propositional calculus Generalization of modus ponens

Introduction to Fuzzy Set Theory Fuzzy Reasoning

Generalized Modus Ponens Single rule with single antecedent Rule: if x is A then y is B Fact: x is A’ Conclusion: y is B’

Fuzzy Reasoning Single Rule with Single Antecedent x A A’ B B’ = ?

Fuzzy Reasoning Single Rule with Single Antecedent Max-Min Composition Firing Strength Firing Strength x A A’ B

Fuzzy Reasoning Single Rule with Single Antecedent Max-Min Composition x A A’ B

Fuzzy Reasoning Single Rule with Multiple Antecedents if x is A and y is B then z is C Fact: x is A and y is B Conclusion: z is C

Fuzzy Reasoning Single Rule with Multiple Antecedents if x is A and y is B then z is C Fact: x is A’ and y is B’ Conclusion: z is C’ x A B C A’ B’ C’ = ?

Fuzzy Reasoning Single Rule with Multiple Antecedents Max-Min Composition Firing Strength B A A’ B’ C x

Fuzzy Reasoning Single Rule with Multiple Antecedents Max-Min Composition Firing Strength B A A’ B’ C x

Fuzzy Reasoning Multiple Rules with Multiple Antecedents if x is A1 and y is B1 then z is C1 Rule2: if x is A2 and y is B2 then z is C2 Fact: x is A’ and y is B’ Conclusion: z is C’

Fuzzy Reasoning Multiple Rules with Multiple Antecedents x A1 y B1 A’ B’ x A2 y B2 z C2 A’ B’ C’ = ?

Fuzzy Reasoning Multiple Rules with Multiple Antecedents Max-Min Composition z C1 x A1 y B1 A’ B’ x A2 y B2 z C2 A’ B’ Max z