Chapter 13 (Continued) Fuzzy Expert Systems 1. Fuzzy Rule-based Expert System 2.

Slides:



Advertisements
Similar presentations
© Negnevitsky, Pearson Education, Lecture 5 Fuzzy expert systems: Fuzzy inference Mamdani fuzzy inference Mamdani fuzzy inference Sugeno fuzzy inference.
Advertisements

Fuzzy expert systems Fuzzy inference Mamdani fuzzy inference
Fuzzy Inference Systems
 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 Inference and Defuzzification
Fuzzy Expert System Fuzzy Logic
1 What is a fuzzy rule? A fuzzy rule can be defined as a conditional statement in the form: IF x is A THEN y is B where x and y are linguistic variables;
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 Logic E. Fuzzy Inference Engine. “antecedent” “consequent”
Lecture 07 Fuzzy Reasoning
Fuzzy Logic Control Lect 5 Fuzzy Logic Control Basil Hamed
6/9/2015Intelligent Systems and Soft Computing1 Lecture 5 Fuzzy expert systems: Fuzzy inference Mamdani fuzzy inference Mamdani fuzzy inference Sugeno.
Fuzzy Expert System.
Chapter 18 Fuzzy Reasoning.
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.
09th October 2006 Dr Bogdan L. Vrusias
The Equivalence between fuzzy logic controllers and PD controllers for single input systems Professor: Chi-Jo Wang Student: Nguyen Thi Hoai Nam Student.
Fuzzy Rule-based Models *Neuro-fuzzy and Soft Computing - J.Jang, C. Sun, and, E. Mizutani, Prentice Hall 1997.
Fuzzy Logic. Sumber (download juga): 0logic%20toolbox.pdf
BEE4333 Intelligent Control
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.
What are Neuro-Fuzzy Systems A neuro-fuzzy system is a fuzzy system that uses a learning algorithm derived from or inspired by neural network theory to.
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 Expert Systems. 2 Fuzzy Logic Four types of fuzzy logics Classic logic Crisp setence: Height(John, 180) → Weight(John, 60) Crisp data: Height(John,
Fuzzy Rules 1965 paper: “Fuzzy Sets” (Lotfi Zadeh) Apply natural language terms to a formal system of mathematical logic
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 expert systems Chapter #9.
 Definition Definition  Bit of History Bit of History  Why Fuzzy Logic? Why Fuzzy Logic?  Applications Applications  Fuzzy Logic Operators Fuzzy.
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.
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.
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.
“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.
Fuzzy Inference Systems
Fuzzy Expert System Fuzzy Inference دكترمحسن كاهاني
AI Fuzzy Systems. History, State of the Art, and Future Development Sde Seminal Paper “Fuzzy Logic” by Prof. Lotfi Zadeh, Faculty in Electrical.
Fuzzy Expert System n Introduction n Fuzzy sets n Linguistic variables and hedges n Operations of fuzzy sets n Fuzzy rules n Summary.
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.
Reasoning with Uncertainty Dr Nicholas Gibbins 32/3019.
© Negnevitsky, Pearson Education, Lecture 5 Fuzzy expert systems: Fuzzy inference Mamdani fuzzy inference Mamdani fuzzy inference Sugeno fuzzy inference.
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
What is a fuzzy rule? IF x is A THEN y is B
Artificial Intelligence CIS 342
Fuzzy Systems Michael J. Watts
Fuzzy expert systems Fuzzy inference Mamdani fuzzy inference
Fuzzy Logic Control Lect 5 Fuzzy Logic Control Basil Hamed Electrical Engineering Islamic University of Gaza.
Artificial Intelligence
Fuzzy Logic and Fuzzy Sets
Introduction to Fuzzy Logic
Artificial Intelligence and Adaptive Systems
Fuzzy logic Introduction 3 Fuzzy Inference Aleksandar Rakić
Dr. Unnikrishnan P.C. Professor, EEE
Intelligent Systems and Soft Computing
FUZZIFICATION AND DEFUZZIFICATION
Lecture 5 Fuzzy expert systems: Fuzzy inference
Fuzzy Logic Colter McClure.
Dr. Unnikrishnan P.C. Professor, EEE
Hybrid intelligent systems:
Fuzzy Inference Systems
© Negnevitsky, Pearson Education, Lecture 4 Fuzzy expert systems: Fuzzy logic Introduction, or what is fuzzy thinking? Introduction, or what is.
Presentation transcript:

Chapter 13 (Continued) Fuzzy Expert Systems 1

Fuzzy Rule-based Expert System 2

3

4 Fuzzy Rules In 1973, Lotfi Zadeh published his second most influential paper. He suggested capturing human knowledge in fuzzy rules. A fuzzy rule can be defined as a conditional statement in the form: IFx is A, THENy is B where – x and y are linguistic variables; – A and B are linguistic values determined by fuzzy sets on the universe of discourses X and Y, respectively. – Antecedent (or condition): x is A – Consequent (or conclusion): y is B

5 Classical vs. Fuzzy Rules Classical rule: Rule 1: Rule 2: IF speedis > 100 (km/h) IF speed is < 40 (km/h) THEN stopping_distance is > 100m THEN stopping_distance is < 40m Fuzzy rule: Rule 1: Rule 2: IF speed is fast IF speed is slow THEN stopping_distance is long THEN stopping_distance is short Fuzzy rules relate fuzzy sets. In a fuzzy system, all rules fire partially.

6 Firing Fuzzy Rules IF height is tall THEN weight is heavy

7 Firing Fuzzy Rules If the antecedent is true to some degree of membership, then the consequent is also true to that same degree. This form of fuzzy inference is called monotonic selection.

8 Firing Fuzzy Rules A fuzzy rule can have multiple antecedents, for example: IFproject_duration is long ANDproject_staffing is large ANDproject_funding is inadequate THENrisk is high IFservice is excellent ORfood is delicious THENtip is generous The consequent of a fuzzy rule can also include multiple parts, for instance: IFtemperature is hot THENhot_water is reduced; cold_water is increased Solutions: Mamdani or Sugeno approaches

9 Fuzzy Inference Techniques Mamdani – The most commonly used fuzzy inference technique – He built one of the first fuzzy systems to control a steam engine – He applied a set of fuzzy rules supplied by experienced human operators. – E. Mamdani, “Application of fuzzy algorithms for control of simple dynamic plant” (Proc. IEE, Vol.121, No. 12, pp , 1974) – E. Mamdani and S. Assilian, “An experiment in linguistic synthesis with a fuzzy logic controller”, (Int. J. of Man-Machine Studies, Vol.7, No.1, pp , 1975) Sugeno – The ‘Zadeh of Japan’ – Sugeno, Michio. ”Industrial applications of fuzzy control,” Elsevier Science Inc., 1985.

10 Mamdani Fuzzy Inference four steps: 1.Fuzzification of the input variables 2.Rule evaluation (inference) 3.Aggregation of the rule outputs (composition) 4.Defuzzification.

11 Mamdani Fuzzy Inference We examine a simple two-input one-output problem that includes three rules:Rule: 1 IFx is A3IFproject_fundingis adequate ORy is B1ORproject_staffingis small THENz is C1THENriskis lowRule: 2 IFx is A2IFproject_fundingis marginal ANDy is B2ANDproject_staffingis large THENz is C2THENriskis normalRule: 3 IFx is A1IFproject_fundingis inadequate THEN z is C3THENriskis high

Step 1: Fuzzification 12 Take the crisp inputs, x1 and y1 (project funding and project staffing; e.g. x1=2million, y1:10 persons), and determine the degree to which these inputs belong to each of the appropriate fuzzy sets. A1: Inadequate, A2: Marginal, A3: Adequate B1: Small, B2: Large

13 Step 2: Rule Evaluation Take the fuzzified inputs,  (x=A1) = 0.5,  (x=A2) = 0.2,  (y=B1) = 0.1 and  (y=B2) = 0.7, and apply them to the antecedents of the fuzzy rules. If a given fuzzy rule has multiple antecedents, the fuzzy operator (AND or OR) is used to obtain a single number that represents the result of the antecedent evaluation. This number (the truth value) is then applied to the consequent membership function. (monotonic selection)

14 Step 2: Rule Evaluation

15 Step 2: Rule Evaluation How the result of the antecedent evaluation can be applied to the membership function of the consequent? – Clipping (alpha-cut) Cut the consequent membership function at the level of the antecedent truth. losing some information. it is often preferred because it involves less complex and faster mathematics – Scaling offers a better approach for preserving the original shape of the fuzzy set. Multiplying all its membership degrees by the truth value of the rule antecedent. It loses less information

16 Step 2: Rule Evaluation clipping scaling

17 Step 3: Aggregation of the rule outputs The process of unification of the outputs of all rules. Combining with MAX operator

Step 4: Defuzzification 18 Input: the aggregate output fuzzy set Output: a single number The most popular method: – Centroid technique. – It finds the point where a vertical line would slice the aggregate set into two equal masses. – Mathematically, it’s the center of gravity (COG)

Step 4: Defuzzification 19 A reasonable estimate can be obtained by calculating it over a sample of points.

Step 4: Defuzzification 20

Mamdani Inference Technique 21

22 Sugeno Fuzzy Inference In Mamdani-style inference, to find the centroid, an integration across a continuously varying function is required. no computationally efficient! Michio Sugeno suggested to use a single spike, a singleton Fuzzy Rules in zero-order Sugeno fuzzy model: IFx is A ANDy is B THENz is k where k is a constant.

23 Sugeno Rule Evaluation

24 Sugeno Aggregation of the Rule Outputs Rule 1: IF project_fundingis adequate OR project_staffing is small, THEN risk is k1 Rule 2: IF project_funding is marginal AND project_staffing is large, THEN risk is k2 Rule 3: IF project_funding is inadequate, THEN risk is k3

Sugeno Defuzzification 25 Weighted Average (WA) Suppose: k1=20, k2=50, k3=80

Sugeno Inference Technique 26

27 Mamdani or Sugeno? Mamdani – widely accepted for capturing expert knowledge – more intuitive, more human-like manner – a substantial computational burden Sugeno – computationally effective – works well with optimization and adaptive techniques – e.g. control problems, particularly for dynamic nonlinear systems.

Advantages and Problems of Fuzzy Logic advantages – general theory of uncertainty – wide applicability, many practical applications – natural use of vague and imprecise concepts helpful for commonsense reasoning, explanation problems – membership functions can be difficult to find – multiple ways for combining evidence – problems with long inference chains 28