Robert Jackson Marks II2 Based on intuition and judgment No need for a mathematical model Relatively simple, fast and adaptive Less sensitive to system.

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

Fuzzy Sets and Fuzzy Logic
 Negnevitsky, Pearson Education, Lecture 5 Fuzzy expert systems: Fuzzy inference n Mamdani fuzzy inference n Sugeno fuzzy inference n Case study.
Fuzzy Expert System  An expert might say, “ Though the power transformer is slightly overloaded, I can keep this load for a while”.  Another expert.
AI – CS364 Fuzzy Logic Fuzzy Logic 3 03 rd October 2006 Dr Bogdan L. Vrusias
Lecture 4 Fuzzy expert systems: Fuzzy logic
Fuzzy Logic and its Application to Web Caching
Fuzzy Inference and Defuzzification
Soft Computing. Per Printz Madsen Section of Automation and Control
Discrete Structures & Algorithms Basics of Set Theory EECE 320 — UBC.
Fuzzy Sets and Applications Introduction Introduction Fuzzy Sets and Operations Fuzzy Sets and Operations.
Chapter 14.7 Russell & Norvig. Fuzzy Sets  Rules of thumb frequently stated in “fuzzy” linguistic terms. John is tall. If someone is tall and well-built.
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.
Final Exam: May 10 Thursday. If event E occurs, then the probability that event H will occur is p ( H | E ) IF E ( evidence ) is true THEN H ( hypothesis.
FUZZY SYSTEMS. Fuzzy Systems Fuzzy Sets – To quantify and reason about fuzzy or vague terms of natural language – Example: hot, cold temperature small,
FUZZY Logic for Game Programmers
Fuzzy Logic E. Fuzzy Inference Engine. “antecedent” “consequent”
GATE Reactive Behavior Modeling Fuzzy Logic (GATE-561) Dr.Çağatay ÜNDEĞER Instructor Middle East Technical University, GameTechnologies Bilkent University,
Fuzzy Expert System.
Fuzzy Logic E. Fuzzy Inference Engine. “antecedent” “consequent”
Chapter 18 Fuzzy Reasoning.
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.
Fuzzy Logic Dave Saad CS498. Origin Proposed as a mathematical model similar to traditional set theory but with the possibility of partial set membership.
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,
Fuzzy Logic A. History & Justification. Looking at Fuzzy Logic 1. Accurate modeling of inaccuracy “When using a mathematical model, careful attention.
The Equivalence between fuzzy logic controllers and PD controllers for single input systems Professor: Chi-Jo Wang Student: Nguyen Thi Hoai Nam Student.
Rosen 1.6. Approaches to Proofs Membership tables (similar to truth tables) Convert to a problem in propositional logic, prove, then convert back Use.
BEE4333 Intelligent Control
Fuzzy Logic. Priyaranga Koswatta Mundhenk and Itti, 2007.
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.
CPSC 386 Artificial Intelligence Ellen Walker Hiram College
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. Lecture Outline Fuzzy Systems Fuzzy Sets Membership Functions Fuzzy Operators Fuzzy Set Characteristics Fuzziness and Probability.
Lecture 5 Fuzzy expert systems: Fuzzy inference Mamdani fuzzy inference Mamdani fuzzy inference Sugeno fuzzy inference Sugeno fuzzy inference Case study.
 Negnevitsky, Pearson Education, Lecture 5 Fuzzy expert systems: Fuzzy inference n Mamdani fuzzy inference n Sugeno fuzzy inference n Case study.
Fuzzy Inference (Expert) System
1 Asst. Prof. Dr. Sukanya Pongsuparb Dr. Srisupa Palakvangsa Na Ayudhya Dr. Benjarath Pupacdi SCCS451 Artificial Intelligence Week 9.
Logical Systems and Knowledge Representation Fuzzy Logical Systems 1.
Lógica difusa  Bayesian updating and certainty theory are techniques for handling the uncertainty that arises, or is assumed to arise, from statistical.
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.
“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.
AI Fuzzy Systems. History, State of the Art, and Future Development Sde Seminal Paper “Fuzzy Logic” by Prof. Lotfi Zadeh, Faculty in Electrical.
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.
Could Be Significant.
Based on intuition and judgment No need for a mathematical model Provides a smooth transition between members and nonmembers Relatively simple, fast and.
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.
Fuzzy Logic Artificial Intelligence Chapter 9. Outline Crisp Logic Fuzzy Logic Fuzzy Logic Applications Conclusion “traditional logic”: {true,false}
Chap 2: Aggregation Operations on Fuzzy Sets u Goal: In this chapter we provide a number of different methodologies for aggregating fuzzy subsets. u t-norm.
Fuzzy Relations( 關係 ), Fuzzy Graphs( 圖 形 ), and Fuzzy Arithmetic( 運算 ) Chapter 4.
© Negnevitsky, Pearson Education, Lecture 5 Fuzzy expert systems: Fuzzy inference Mamdani fuzzy inference Mamdani fuzzy inference Sugeno fuzzy inference.
Introduction to Fuzzy Logic and Fuzzy Systems
Fuzzy Logic Control What is Fuzzy Logic ? Logic and Fuzzy Logic
Artificial Intelligence CIS 342
Fuzzy expert systems Fuzzy inference Mamdani fuzzy inference
Fuzzy Logic 11/6/2001.
Stanisław H. Żak School of Electrical and Computer Engineering
Fuzzy Logic and Fuzzy Sets
Artificial Intelligence and Adaptive Systems
Fuzzy logic Introduction 3 Fuzzy Inference Aleksandar Rakić
Fuzzy System Structure
Dr. Unnikrishnan P.C. Professor, EEE
FUZZIFICATION AND DEFUZZIFICATION
Lecture 5 Fuzzy expert systems: Fuzzy inference
Dr. Unnikrishnan P.C. Professor, EEE
This time: Fuzzy Logic and Fuzzy Inference
Introduction to Fuzzy Set Theory
Intelligent System Course
Presentation transcript:

Robert Jackson Marks II2 Based on intuition and judgment No need for a mathematical model Relatively simple, fast and adaptive Less sensitive to system fluctuations Can implement design objectives, difficult to express mathematically, in linguistic or descriptive rules.

Robert Jackson Marks II3 “The image which is portrayed is of the ability to perform “The image which is portrayed is of the ability to perform magically well by the incorporation of `new age’ technologies magically well by the incorporation of `new age’ technologies Professor Bob Bitmead, IEEE Control Systems Magazine, June 1993, p.7. Continued Controversy of fuzzy logic, neural networks,... approximate reasoning, and... approximate reasoning, and self-organization in the face of dismal failure of traditional methods. This is pure unsupported claptrap which is pretentious and idolatrous in the extreme, and has no place in scientific literature.”

Robert Jackson Marks II4 The Wisdom of Experience... ??? “(Fuzzy theory’s) delayed exploitation outside Japan teaches several lessons....(One is) the traditional intellectualism in engineering research in general and the cult of analyticity within control system engineering research in particular.” E.H. Mamdami, 1975 father of fuzzy control (1993). "All progress means war with society." George Bernard Shaw

Robert Jackson Marks II5 “I never tell the truth” Frank shaved all in the village who did not shave themselves. This statement is false. Nothing is impossible.

Robert Jackson Marks II6 Conventional or crisp sets are binary. An element either belongs to the set or doesn't.Conventional or crisp sets are binary. An element either belongs to the set or doesn't. Fuzzy sets, on the other hand, have grades of memberships. The set of cities `far' from Los Angeles is an example.Fuzzy sets, on the other hand, have grades of memberships. The set of cities `far' from Los Angeles is an example.

Robert Jackson Marks II e.g. On a scale of one to 10, how good was the dive? The term far used to define this set is a fuzzy linguistic variable. Other examples include close, heavy, light, big, small, smart, fast, slow, hot, cold, tall and short.

Robert Jackson Marks II8 The set, B, of numbers near to two is or x B(x)B(x)

Robert Jackson Marks II9 A fuzzy set, A, is said to be a subset of B if e.g. B = far and A=very far. For example...

Robert Jackson Marks II10 Crisp membership functions are either one or zero. e.g. Numbers greater than 10. A ={x | x>10} 1 x 10 A(x)A(x)

Robert Jackson Marks II11 Fuzzy  Probability Example #1 –Billy has ten toes. The probability Billy has nine toes is zero. The fuzzy membership of Billy in the set of people with nine toes, however, is nonzero.

Robert Jackson Marks II12 Example #2 –A bottle of liquid has a probability of ½ of being rat poison and ½ of being pure water. –A second bottle’s contents, in the fuzzy set of liquids containing lots of rat poison, is ½. –The meaning of ½ for the two bottles clearly differs significantly and would impact your choice should you be dying of thirst. (cite: Bezdek) #1 #2

Robert Jackson Marks II13 Example #3 –Fuzzy is said to measure “possibility” rather than “probability”. –Difference All things possible are not probable. All things probable are possible. –Contrapositive All things impossible are improbable Not all things improbable are impossible

Robert Jackson Marks II14 The probability that a fair die will show six is 1/6. This is a crisp probability. All credible mathematicians will agree on this exact number.The probability that a fair die will show six is 1/6. This is a crisp probability. All credible mathematicians will agree on this exact number. The weatherman's forecast of a probability of rain tomorrow being 70% is also a fuzzy probability. Using the same meteorological data, another weatherman will typically announce a different probability.The weatherman's forecast of a probability of rain tomorrow being 70% is also a fuzzy probability. Using the same meteorological data, another weatherman will typically announce a different probability.

Robert Jackson Marks II15 Criteria for fuzzy “and”, “or”, and “complement” Must meet crisp boundary conditions Commutative Associative Idempotent Monotonic

Robert Jackson Marks II16 Example Fuzzy Sets to Aggregate... A = { x | x is near an integer} B = { x | x is close to 2} x A(x)A(x) B(x)B(x) 1

Robert Jackson Marks II17 Fuzzy Union (logic “or”) 4Meets crisp boundary conditions 4Commutative 4Associative 4Idempotent 4Monotonic

Robert Jackson Marks II x  A+B (x) A OR B = A+B ={ x | (x is near an integer) OR (x is close to 2)} = MAX [  A (x),  B (x) ]

Robert Jackson Marks II19 Fuzzy Intersection (logic “and”) 4Meets crisp boundary conditions 4Commutative 4Associative 4Idempotent 4Monotonic

Robert Jackson Marks II20 A AND B = A·B ={ x | (x is near an integer) AND (x is close to 2)} = MIN [  A (x),  B (x) ] x AB(x)AB(x)

Robert Jackson Marks II21 The complement of a fuzzy set has a membership function x 1 complement of A ={ x | x is not near an integer}

Robert Jackson Marks II22 Min-Max fuzzy logic has intersection distributive over union... since min[ A,max(B,C) ]=min[ max(A,B), max(A,C) ]

Robert Jackson Marks II23 Min-Max fuzzy logic has union distributive over intersection... since max[ A,min(B,C) ]= max[ min(A,B), min(A,C) ]

Robert Jackson Marks II24 Min-Max fuzzy logic obeys DeMorgans Law #1... since 1 - min(B,C)= max[ (1-A), (1-B)]

Robert Jackson Marks II25 Min-Max fuzzy logic obeys DeMorgans Law #2... since 1 - max(B,C)= min[(1-A), (1-B)]

Robert Jackson Marks II26 Min-Max fuzzy logic fails The Law of Excluded Middle. since min(  A,1-  A )  0 Thus, (the set of numbers close to 2) AND (the set of numbers not close to 2)  null set

Robert Jackson Marks II27 Min-Max fuzzy logic fails the The Law of Contradiction. since max(  A,1-  A )  1 Thus, (the set of numbers close to 2) OR (the set of numbers not close to 2)  universal set

Robert Jackson Marks II28 There are numerous other operations OTHER than Min and Max for performing fuzzy logic intersection and union operations. A common set operations is sum-product inferencing, where…

Robert Jackson Marks II29 The intersection and union operations can also be used to assign memberships on the Cartesian product of two sets. Consider, as an example, the fuzzy membership of a set, G, of liquids that taste good and the set, LA, of cities close to Los Angeles

Robert Jackson Marks II30 We form the set... E = G ·LA = liquids that taste good AND cities that are close to LA The following table results... LosAngeles(0.0) Chicago (0.5) New York (0.8) London(0.9) Swamp Water (0.0) Radish Juice (0.5) Grape Juice (0.9)

Robert Jackson Marks II31 “antecedent” “consequent”

Robert Jackson Marks II32 Assume that we need to evaluate student applicants based on their GPA and GRE scores. For simplicity, let us have three categories for each score [High (H), Medium (M), and Low(L)] Let us assume that the decision should be Excellent (E), Very Good (VG), Good (G), Fair (F) or Poor (P) An expert will associate the decisions to the GPA and GRE score. They are then Tabulated.

Robert Jackson Marks II33

Robert Jackson Marks II34 Fuzzifier converts a crisp input into a vector of fuzzy membership values. The membership functions –reflects the designer's knowledge –provides smooth transition between fuzzy sets –are simple to calculate Typical shapes of the membership function are Gaussian, trapezoidal and triangular.

Robert Jackson Marks II35  GRE = {  L,  M,  H }  GRE

Robert Jackson Marks II36  GPA  GPA = {  L,  M,  H }

Robert Jackson Marks II37 F

Robert Jackson Marks II38 Transform the crisp antecedents into a vector of fuzzy membership values. Assume a student with GRE=900 and GPA=3.6. Examining the membership function gives  GRE = {  L = 0.8,  M = 0.2,  H = 0 }  GPA = {  L = 0,  M = 0.6,  H = 0.4 }

Robert Jackson Marks II39

Robert Jackson Marks II40

Robert Jackson Marks II41 F

Robert Jackson Marks II42 Converts the output fuzzy numbers into a unique (crisp) number Method: Add all weighted curves and find the center of mass F

Robert Jackson Marks II43 Fuzzy set with the largest membership value is selected. Fuzzy decision: F = {B, F, G,VG, E} F = {0.6, 0.4, 0.2, 0.2, 0} Final Decision (FD) = Bad Student If two decisions have same membership max, use the average of the two.

Robert Jackson Marks II44 F

Robert Jackson Marks II45

Robert Jackson Marks II46

Robert Jackson Marks II47 Consequent is or SN if a or b or c or d or f.

Robert Jackson Marks II48 Consequent is or SN if a or b or c or d or f. Consequent Membership = max(a,b,c,d,e,f) = 0.5 More generally:

Robert Jackson Marks II49 Special Cases:

Robert Jackson Marks II Time [sec] rpm trajectory response

Robert Jackson Marks II Time [sec] Turn trajectory response

Robert Jackson Marks II52 F F

Robert Jackson Marks II53 Instead of min(x,y) for fuzzy AND... Use  x y Instead of max(x,y) for fuzzy OR... Use  min(1, x + y) Why?

Robert Jackson Marks II54

Robert Jackson Marks II55 “In theory, theory and reality are the same. In reality, they are not.”

Robert Jackson Marks II56