Fuzzy Logic. WHAT IS FUZZY LOGIC? Definition of fuzzy Fuzzy – “not clear, distinct, or precise; blurred” Definition of fuzzy logic A form of knowledge.

Slides:



Advertisements
Similar presentations
© Negnevitsky, Pearson Education, Lecture 4 Fuzzy expert systems: Fuzzy logic Introduction, or what is fuzzy thinking? Introduction, or what is.
Advertisements

Fuzzy Logic 11/6/2001. Agenda General Definition Applications Formal Definitions Operations Rules Fuzzy Air Conditioner Controller Structure.
Fuzzy Sets and Fuzzy Logic
Fuzzy Expert System  An expert might say, “ Though the power transformer is slightly overloaded, I can keep this load for a while”.  Another expert.
Lecture 4 Fuzzy expert systems: Fuzzy logic
Fuzzy Logic and its Application to Web Caching
Soft Computing. Per Printz Madsen Section of Automation and Control
CLASSICAL LOGIC and FUZZY LOGIC. CLASSICAL LOGIC In classical logic, a simple proposition P is a linguistic, or declarative, statement contained within.
Fuzzy Expert System Fuzzy Logic
AI TECHNIQUES Fuzzy Logic (Fuzzy System). Fuzzy Logic : An Idea.
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 SET THEORY ABBY YINGER. DEFINITIONS WHAT IS A FUZZY SET? Definition: A fuzzy set is any set that allows its members to have different grades of.
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
FUZZY LOGIC Shane Warren Brittney Ballard. OVERVIEW What is Fuzzy Logic? Where did it begin? Fuzzy Logic vs. Neural Networks Fuzzy Logic in Control Systems.
Fuzzy Expert System.
1 Pertemuan 21 MEMBERSHIP FUNCTION Matakuliah: H0434/Jaringan Syaraf Tiruan Tahun: 2005 Versi: 1.
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 Medical Image Segmentation
MAE 552 Heuristic Optimization Instructor: John Eddy Lecture #32 4/19/02 Fuzzy Logic.
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.
WELCOME TO THE WORLD OF FUZZY SYSTEMS. DEFINITION Fuzzy logic is a superset of conventional (Boolean) logic that has been extended to handle the concept.
Fuzzy Logic Dave Saad CS498. Origin Proposed as a mathematical model similar to traditional set theory but with the possibility of partial set membership.
Introduction What is Fuzzy Logic? HOW DOES FL WORK? Differences between Classical set (crisps) and Fuzzy set theory Example 1 Example 2 Classifying Houses.
Fuzzy Logic BY: ASHLEY REYNOLDS. Where Fuzzy Logic Falls in the Field of Mathematics  Mathematics  Mathematical Logic and Foundations  Fuzzy Logic.
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.
9/3/2015Intelligent Systems and Soft Computing1 Lecture 4 Fuzzy expert systems: Fuzzy logic Introduction, or what is fuzzy thinking? Introduction, or what.
Abdul Rahim Ahmad MITM 613 Intelligent System Chapter 3b: Dealing with Uncertainty (Fuzzy Logic)
Introduction to Innovative Design Thinking
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.
 Definition Definition  Bit of History Bit of History  Why Fuzzy Logic? Why Fuzzy Logic?  Applications Applications  Fuzzy Logic Operators Fuzzy.
3. Rough set extensions  In the rough set literature, several extensions have been developed that attempt to handle better the uncertainty present in.
1 Asst. Prof. Dr. Sukanya Pongsuparb Dr. Srisupa Palakvangsa Na Ayudhya Dr. Benjarath Pupacdi SCCS451 Artificial Intelligence Week 9.
FUZZY LOGIC 1.
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.
Artificial Intelligence CIS 342 The College of Saint Rose David Goldschmidt, Ph.D.
Chapter 13 Fuzzy Logic 1. Handling Uncertainty Probability-based approach and Bayesian theory Certainty factor and evidential reasoning Fuzzy logic 2.
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.
Fuzzy Logic Artificial Intelligence Chapter 9. Outline Crisp Logic Fuzzy Logic Fuzzy Logic Applications Conclusion “traditional logic”: {true,false}
Fuzzy C-means Clustering Dr. Bernard Chen University of Central Arkansas.
Fuzzy Logic.
Aisha Iqbal (CT-084) Kanwal Hakeem (CT-098) Tehreem Mushtaq (CT-078) Talha Syed (CT-111)
Fuzzy Logic 1. Introduction Form of multivalued logic Deals reasoning that is approximate rather than precise The fuzzy logic variables may have a membership.
Dinner for Two. Fuzzify Inputs Apply Fuzzy Operator.
S PEED CONTROL OF DC MOTOR BY FUZZY CONTROLLER MD MUSTAFA KAMAL ROLL NO M E (CONTROL AND INSTRUMENTATION)
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.
Introduction to Fuzzy Logic and Fuzzy Systems
Artificial Intelligence CIS 342
MC301 DESIGN OF MECHATRONICS SYSTEMS
Fuzzy Expert Systems (part 1) By: H.Nematzadeh
Meaning of “fuzzy” Covered with fuzz; Of or resembling fuzz;
Fuzzy Logic 11/6/2001.
Artificial Intelligence
Meaning of “fuzzy”, Definition of Fuzzy Logic
Fuzzy Expert Systems (part 1) By: H.Nematzadeh
Fuzzy Logic and Fuzzy Sets
Intelligent Systems and Soft Computing
FUZZIFICATION AND DEFUZZIFICATION
Meaning of “fuzzy”, Definition of Fuzzy Logic
Meaning of “fuzzy”, Definition of Fuzzy Logic
© Negnevitsky, Pearson Education, Lecture 4 Fuzzy expert systems: Fuzzy logic Introduction, or what is fuzzy thinking? Introduction, or what is.
Fuzzy Logic KH Wong Fuzzy Logic v.9a.
Presentation transcript:

Fuzzy Logic

WHAT IS FUZZY LOGIC? Definition of fuzzy Fuzzy – “not clear, distinct, or precise; blurred” Definition of fuzzy logic A form of knowledge representation suitable for notions that cannot be defined precisely, but which depend upon their contexts.

Fuzziness Vs. Vagueness “I will be back sometime” FuzzyVague “I will be back in a few minutes” Fuzzy 3

TRADITIONAL REPRESENTATION OF LOGIC SlowFast Speed = 0Speed = 1 bool speed; get the speed if ( speed == 0) { // speed is slow } else { // speed is fast }

FUZZY LOGIC REPRESENTATION Every problem must represent in terms of fuzzy sets. Slowest Fastest Slow Fast [ 0.0 – 0.25 ] [ 0.25 – 0.50 ] [ 0.50 – 0.75 ] [ 0.75 – 1.00 ]

FUZZY LOGIC REPRESENTATION CONT. SlowestFastest float speed; get the speed if ((speed >= 0.0)&&(speed < 0.25)) { // speed is slowest } else if ((speed >= 0.25)&&(speed < 0.5)) { // speed is slow } else if ((speed >= 0.5)&&(speed < 0.75)) { // speed is fast } else // speed >= 0.75 && speed < 1.0 { // speed is fastest } SlowFast

ORIGINS OF FUZZY LOGIC Lotfi Asker Zadeh ( 1965 ) First to publish ideas of fuzzy logic. Professor Toshire Terano ( 1972 ) Organized the world's first working group on fuzzy systems. F.L. Smidth & Co. ( 1980 ) First to market fuzzy expert systems.

TEMPERATURE CONTROLLER The problem Change the speed of a heater fan, based on the room temperature and humidity. A temperature control system has four settings Cold, Cool, Warm, and Hot Humidity can be defined by: Low, Medium, and High Using this we can define the fuzzy set.

Introduction Fuzzy Logic is used to provide mathematical rules and functions which permitted natural language queries. Fuzzy logic provides a means of calculating intermediate values between absolute true and absolute false with resulting values ranging between 0.0 and 1.0. With fuzzy logic, it is possible to calculate the degree to which an item is a member.

For example, if a person is.83 of tallness, they are “rather tall”. Fuzzy logic calculates the shades of gray between black/white and true/false. Fuzzy logic is a super set of conventional (or Boolean) logic and contains similarities and differences with Boolean logic. Fuzzy logic is similar to Boolean logic, in that Boolean logic results are returned by fuzzy logic operations when all fuzzy memberships are restricted to 0 and 1. Fuzzy logic differs from Boolean logic in that it is permissive of natural language queries and is more like human thinking; it is based on degrees of truth.

Fuzzy LogicBoolean Logic

Fuzzy logic may appear similar to probability and statistics as well. Although, fuzzy logic is different than probability even though the results appear similar. The probability statement, " There is a 70% chance that Bill is tall" supposes that Bill is either tall or he is not. There is a 70% chance that we know which set Bill belongs. The fuzzy logic statement, " Bill's degree of membership in the set of tall people is.80 " supposes that Bill is rather tall. The fuzzy logic answer determines not only the set which Bill belongs, but also to what degree he is a member.

Fuzzy logic deals with the degree of membership. Fuzzy logic has been applied in many areas; it is used in a variety of ways. Household appliances such as dishwashers and washing machines use fuzzy logic to determine the optimal amount of soap and the correct water pressure for dishes and clothes. Fuzzy logic is even used in self-focusing cameras. Expert systems, such as decision-support and meteorological systems, use fuzzy logic.

History Fuzzy Logic deals with those imprecise conditions about which a true/false value cannot be determined. Much of this has to do with the vagueness and ambiguity that can be found in everyday life. For example, the question: Is it HOT outside? These are often labelled as subjective responses, where no one answer is exact. Subjective responses are relative to an individual's experience and knowledge. Human beings are able to exert this higher level of abstraction during the thought process.

For this reason, Fuzzy Logic has been compared to the human decision making process. Conventional Logic (and computing systems for that matter) are by nature related to the Boolean Conditions (true/false). What Fuzzy Logic attempts to encompass is that area where a partial truth can be established. In fuzzy set theory, although it is still possible to have an exact yes/no answer as to set membership, elements can now be partial members in a set.

Fuzzy Sets Fuzzy logic is a superset of Boolean (conventional) logic that handles the concept of partial truth, which is truth values between "completely true" and "completely false". This section of the fuzzy logic describes: –Basic Definition of Fuzzy Set –Similarities and Differences of Fuzzy Sets with Traditional Set Theory –Examples Illustrating the Concepts of Fuzzy Sets –Logical Operation on Fuzzy Sets –Hedging

Fuzzy Set A fuzzy set is a set whose elements have degrees of membership. That is, a member of a set can be full member (100% membership status) or a partial member (eg. less than 100% membership and greater than 0% membership). To fully understand fuzzy sets, one must first understand traditional sets. A traditional or crisp set can formally be defined as the following: A subset U of a set S is a mapping from the elements of S to the elements of the set {0,1}. This is represented by the notation: U: S-> {0,1} The mapping is represented by one ordered pair for each element S where the first element is from the set S and the second element is from the set {0,1}. The value zero represents non-membership, while the value one represents membership. Essentially this says that an element of the set S is either a member or a non-member of the subset U. There are no partial members in traditional sets.

A fuzzy set is a set whose elements have degrees of membership. These can formally be defined as the following: A fuzzy subset F of a set S can be defined as a set of ordered pairs. The first element of the ordered pair is from the set S, and the second element from the ordered pair is from the interval [0,1]. The value zero is used to represent non- membership; the value one is used to represent complete membership, and the values in between are used to represent degrees of membership.

Example Consider a set of young people using fuzzy sets. In general, young people range from the age of 0 to 20. But, if we use this strict interval to define young people, then a person on his 20th birthday is still young (still a member of the set). But on the day after his 20th birthday, this person is now old (not a member of the young set). How can one remedy this? By RELAXING the boundary between the strict separation of young and old. This separation can easily be relaxed by considering the boundary between young and old as "fuzzy". The figure below graphically illustrates a fuzzy set of young and old people.

Notice in the figure that people whose ages are >= zero and <= 20 are complete members of the young set (that is, they have a membership value of one). Also note that people whose ages are > 20 and < 30 are partial members of the young set. For example, a person who is 25 would be young to the degree of 0.5. Finally people whose ages are >= 30 are non-members of the young set.

Logical Operations on Fuzzy Sets Negation Intersection Union

Negation the red line is a fuzzy set. To negate this fuzzy set, subtract the membership value in the fuzzy set from 1. For example, the membership value at 5 is one. In the negation, the membership value at 5 would be (1- 1=0) and if the membership value is 0.4 the membership value would be (1-0.4=0.6).

Intersection In this figure, the red and green lines are fuzzy sets. To find the intersection of these sets take the minimum of the two membership values at each point on the x-axis. For example, in the figure the red fuzzy set has a membership of ZERO when x = 4 and the green fuzzy set has a membership of ONE when x = 4. The intersection would have a membership value of ZERO when x = 4 because the minimum of zero and one is zero.

Union To find the union of these sets take the maximum of the two membership values at each point on the x-axis. For example, in the figure the red fuzzy set has a membership of ZERO when x = 4 and the green fuzzy set has a membership of ONE when x = 4. The union would have a membership value of ONE when x = 4 because the maximum of zero and one is One.

Limitation Fuzzy logic cannot be used for unsolvable problems. An obvious drawback to fuzzy logic is that it's not always accurate. The results are perceived as a guess, so it may not be as widely trusted as an answer from classical logic. Certainly, though, some chances need to be taken. How else can dressmakers succeed in business by assuming the average height for women is 5'6"? Fuzzy logic can be easily confused with probability theory, and the terms used interchangeably. While they are similar concepts, they do not say the same things. Probability is the likelihood that something is true. Fuzzy logic is the degree to which something is true (or within a membership set).

Classical logicians argue that fuzzy logic is unnecessary. Anything that fuzzy logic is used for can be easily explained using classic logic. For example, True and False are discrete. Fuzzy logic claims that there can be a gray area between true and false. Fuzzy logic has traditionally low respectability. That is probably its biggest problem. While fuzzy logic may be the superset of all logic, people don't believe it. Classical logic is much easier to agree with because it delivers precision.

References /index.html