Lecture 32 Fuzzy Set Theory (4)

Slides:



Advertisements
Similar presentations
인공지능 2002년 2학기 이복주 단국대학교 컴퓨터공학과
Advertisements

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.
Graphical Technique of Inference
Intro. ANN & Fuzzy Systems Lecture 33 Fuzzy Logic Control (I)
AI – CS364 Fuzzy Logic Fuzzy Logic 3 03 rd October 2006 Dr Bogdan L. Vrusias
Fuzzy Inference and Defuzzification
CS 561, Sessions This time: Fuzzy Logic and Fuzzy Inference Why use fuzzy logic? Tipping example Fuzzy set theory Fuzzy inference.
Fuzzy Logic The restriction of classical propositional calculus to a two- valued logic has created many interesting paradoxes over the ages. For example,
CLASSICAL LOGIC and FUZZY LOGIC. CLASSICAL LOGIC In classical logic, a simple proposition P is a linguistic, or declarative, statement contained within.
Intro. ANN & Fuzzy Systems Lecture 29 Introduction to Fuzzy Set Theory (I)
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 SYSTEMS. Fuzzy Systems Fuzzy Sets – To quantify and reason about fuzzy or vague terms of natural language – Example: hot, cold temperature small,
Intro. ANN & Fuzzy Systems Lecture 30 Fuzzy Set Theory (I)
Fuzzy Expert System.
PART 8 Approximate Reasoning 1. Fuzzy expert systems 2. Fuzzy implications 3. Selecting fuzzy implications 4. Multiconditional reasoning 5. Fuzzy relation.
Chapter 18 Fuzzy Reasoning.
MAE 552 Heuristic Optimization Instructor: John Eddy Lecture #32 4/19/02 Fuzzy Logic.
Linguistic Descriptions Adriano Joaquim de Oliveira Cruz NCE e IM/UFRJ © 2003.
1 Chapter 18 Fuzzy Reasoning. 2 Chapter 18 Contents (1) l Bivalent and Multivalent Logics l Linguistic Variables l Fuzzy Sets l Membership Functions l.
Ming-Feng Yeh General Fuzzy Systems A fuzzy system is a static nonlinear mapping between its inputs and outputs (i.e., it is not a dynamic system).
Copyright © Peter Cappello Logical Inferences Goals for propositional logic 1.Introduce notion of a valid argument & rules of inference. 2.Use inference.
Fuzzy Logic Dave Saad CS498. Origin Proposed as a mathematical model similar to traditional set theory but with the possibility of partial set membership.
The Equivalence between fuzzy logic controllers and PD controllers for single input systems Professor: Chi-Jo Wang Student: Nguyen Thi Hoai Nam Student.
Fuzzy Sets and Fuzzy Logic Theory and Applications
Fuzzy Rule-based Models *Neuro-fuzzy and Soft Computing - J.Jang, C. Sun, and, E. Mizutani, Prentice Hall 1997.
CS621: Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–4: Fuzzy Inferencing 29 th July 2010.
Rule-Based Fuzzy Model. In rule-based fuzzy systems, the relationships between variables are represented by means of fuzzy if–then rules of the following.
Fuzzy Logic Conception Introduced by Lotfi Zadeh in 1960s at Berkley Wanted to expand crisp logic.
Fuzzy Logic. Lecture Outline Fuzzy Systems Fuzzy Sets Membership Functions Fuzzy Operators Fuzzy Set Characteristics Fuzziness and Probability.
Fuzzy Rules 1965 paper: “Fuzzy Sets” (Lotfi Zadeh) Apply natural language terms to a formal system of mathematical logic
Theory and Applications
Fuzzy Expert Systems. 2 Motivation On vagueness “Everything is vague to a degree you do not realise until you have tried to make it precise.” Bertrand.
Fuzzy Inference (Expert) System
Lógica difusa  Bayesian updating and certainty theory are techniques for handling the uncertainty that arises, or is assumed to arise, from statistical.
Lec 34 Fuzzy Logic Control (II)
Theory and Applications
Fuzzy Inference Systems. Fuzzy inference (reasoning) is the actual process of mapping from a given input to an output using fuzzy logic. The process involves.
Lecture 3 Fuzzy Reasoning 1. inference engine core of every fuzzy controller the computational mechanism with which decisions can be inferred even though.
Fuzzy logic and its applications in medicine Nguyen Hoang Phuong, Vladik Kreinovich International Journal of Medical Informatics Volume: 62, Issue: 2-3,
“Principles of Soft Computing, 2 nd Edition” by S.N. Sivanandam & SN Deepa Copyright  2011 Wiley India Pvt. Ltd. All rights reserved. CHAPTER 12 FUZZY.
Prof. Pushpak Bhattacharyya, IIT Bombay 1 CS 621 Artificial Intelligence Lecture /08/05 Prof. Pushpak Bhattacharyya Fuzzy Set (contd) 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 Inference and Reasoning
1 Lecture 4 The Fuzzy Controller design. 2 By a fuzzy logic controller (FLC) we mean a control law that is described by a knowledge-based system consisting.
Ch.3 Fuzzy Rules and Fuzzy Reasoning
CT214 – Logical Foundations of Computing Darren Doherty Rm. 311 Dept. of Information Technology NUI Galway
Fuzzy Relations( 關係 ), Fuzzy Graphs( 圖 形 ), and Fuzzy Arithmetic( 運算 ) Chapter 4.
Intro. ANN & Fuzzy Systems Lecture 11. MLP (III): Back-Propagation.
Chapter 3: Fuzzy Rules & Fuzzy Reasoning Extension Principle & Fuzzy Relations (3.2) Fuzzy if-then Rules(3.3) Fuzzy Reasonning (3.4)
Classical Relations and Fuzzy Relations
Artificial Intelligence CIS 342
Chapter 9 Fuzzy Inference
Fuzzy Systems Michael J. Watts
Fuzzy Inference Systems
Introduction to Fuzzy Logic
Chap 3: Fuzzy Rules and Fuzzy Reasoning
Fuzzy logic Introduction 3 Fuzzy Inference Aleksandar Rakić
Fuzzy System Structure
CLASSICAL LOGIC and FUZZY LOGIC
Chap 3: Fuzzy Rules and Fuzzy Reasoning
Lecture 31 Fuzzy Set Theory (3)
Lecture 35 Fuzzy Logic Control (III)
Chap 3: Fuzzy Rules and Fuzzy Reasoning
Dept. of Mechanical and Control Systems Eng.
This time: Fuzzy Logic and Fuzzy Inference
Fuzzy Inference Systems
Introduction to Fuzzy Set Theory
Lecture 35 Fuzzy Logic Control (III)
Presentation transcript:

Lecture 32 Fuzzy Set Theory (4)

Outline Fuzzy Inference Fuzzy Inference method Zadeh’s formula Composition rule Mamdani’s formula Multiple fuzzy rules (C) 2001-2003 by Yu Hen Hu

Fuzzy Inference An IF-THEN-ELSE rule (conditional proposition) is activated if part or all of its preconditions (the IF part) are satisfied to a degree such that it produces a non-zero grade value of its conclusions (the THEN part). Example. Consider two rules in the rule base Rule 1. IF angle is small, THEN force is large Rule 2. IF angle is medium, THEN force is medium. Suppose µsmall(Angle) = 0.4, and µmedium(Angle) = 0.7. Then it is likely both rule 1 and rule 2 will be activated. QUESTION: How to find the fuzzy set which describe the fuzzy variable "force" as a results of firing rules 1 & 2? (C) 2001-2003 by Yu Hen Hu

Implication Formula (Zadeh) In conventional mathematical logic (Crisp Logic), the logic predicate "A implies B" is evaluated as: A  B = If A then B = ~A  B = If ~B then ~A Example. All human are mortal = If "x is human" then "x is mortal” = "x is NOT human" OR "x is mortal” = If "x is NOT mortal" then "x is NOT human" In Fuzzy Logic, the implication is a relation which can be defined (due to Zadeh) similar to crisp logic case as: Note that ~A ´ 1 – µA(u). The term "1 " is to limit the membership function from greater than unity. (C) 2001-2003 by Yu Hen Hu

Composition of Inferences Consider the following composition of inferences: Premise 1 If x is A then y is B Premise 2 x is A’ . Conclusion y is B' GOAL: Given A', Find B’ Answer: Use Max-min composition rule, we have B' = A' o (A  B), or µB'(v) = { µA'(u)  µAB(u,v)} (C) 2001-2003 by Yu Hen Hu

An Example Consider the propositions below: If it is in the north of Wisconsin, then it is cold John lives in the FAR north of Wisconsin . Conclusion: It is VERY cold Define fuzzy sets: north = 0.1/Madison + 0.5/Dells + 0.7/Greenbay + 1/Superior; cold = 1/20 + 0.9/35 + 0.4/50 + 0.2/65 (C) 2001-2003 by Yu Hen Hu

Example cont'd If north (A) then cold (B) = north  cold = This relation is found by the equation: µnorthÆcold(u,v) = 1  {1 – north(u) + cold(v)} (C) 2001-2003 by Yu Hen Hu

Example cont'd Far_north (A') = north2 = 0.01/Madison + 0.25/Dells + 0.49/Greenbay + 1/Superior Use Max-min composition rule, B' = [0.01 0.25 0.49 1]o = [ 1 0.9 0.49 0.49] However, a Modus Ponens Property is not satisfied: if A' = A, then B' = [0.1 0.5 0.7 1]o = [ 1 0.9 0.7 0.5]  B! (C) 2001-2003 by Yu Hen Hu

Mamdani's Formula Zadeh's implication formula does not satisfy the modus poenes property. Mamdani's Method Rc = A  B = /(u, v) µAB(u) = µA(u)  µB(v) "" can be Min. or Product Composition Rule of Inference: B' = A' o (A  B), µB'(v) = { µA'(u)  µ AB(u,v)} = { µA'(u)  [µA(u)  µB(v)]} = { [µA'(u)  µA(u)]  µB(v)} = { [µA'(u)  µA(u)]}  µB(v) If A is normalized such that max(A) = 1, then clearly, when A' = A (i.e. µA'(u)  µA(u) = µA(u)), B' = B. (C) 2001-2003 by Yu Hen Hu

Mamdani's Method (Example) Example. (same example as the previous one) north = 0.1/1 + 0.5/2 + 0.7/3 + 1/4; cold = 1/20 + 0.9/35 + 0.4/50 + 0.2/65 Far_north (A') = north2 = 0.01/1 + 0.25/2 + 0.49/3 + 1/4 max{min(A, A')} = max{ min{(0.1,0.01), (0.5,0.25), (0.7,0.49), (1,1)}} = max{0.01, 0.25, 0.49, 1} = 1. Hence B' = min(B, 1) = B even A'  A! Observation: We may not get the Very cold conclusion using Momdani's method. (Or maybe northern Wisconsin isn't so cold anyway!) (C) 2001-2003 by Yu Hen Hu

Mamdani's Method (Example) Example. (Continuous fuzzy variable) (C) 2001-2003 by Yu Hen Hu

Example cont'd Crisp Input value: u = uo When A' = 1/(u = uo), we have Max(Min(A, A')) = µA(uo), and µB'(v) = max( µB(v), µA(uo)) (C) 2001-2003 by Yu Hen Hu

Multiple Fuzzy Rules w1, w2 are called compatibility for each of the antecedent conditions of the rules and the input. (C) 2001-2003 by Yu Hen Hu

Fuzzy Inference Example (C) 2001-2003 by Yu Hen Hu