Artificial Intelligence Techniques Knowledge Processing 2-MSc.

Slides:



Advertisements
Similar presentations
Logical and Artificial Intelligence in Games Lecture 13
Advertisements

Fuzzy Logic 11/6/2001. Agenda General Definition Applications Formal Definitions Operations Rules Fuzzy Air Conditioner Controller Structure.
Fuzzy Sets and Fuzzy Logic
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
CS 561, Sessions This time: Fuzzy Logic and Fuzzy Inference Why use fuzzy logic? Tipping example Fuzzy set theory Fuzzy inference.
Soft Computing. Per Printz Madsen Section of Automation and Control
Introduction to Fuzzy Control Lecture 10.1 Appendix E.
1 Fuzzy Logic Artificial Intelligence for Games Scott Goodwin School of Computer Science See Buckland, Chapter 10.
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 Systems. Lecture Outline What is fuzzy thinking? What is fuzzy thinking? Fuzzy sets Fuzzy sets Linguistic variables and hedges Linguistic.
Fuzzy Sets and Fuzzy Logic Chapter 12 M. Tim Jones See also
Fuzzy Sets and Fuzzification Michael J. Watts
EEE-8005 Industrial automation SDL Module leader: Dr. Damian Giaouris Room: E3.16 Phone: Module Leader.
Fuzzy Logic E. Fuzzy Inference Engine. “antecedent” “consequent”
ARTIFICIAL INTELLIGENCE TECHNIQUES Knowledge Processing 1.
Fuzzy Medical Image Segmentation
Defuuzification Techniques for Fuzzy Controllers Chun-Fu Kung System Laboratory, Department of Computer Engineering and Science, Yuan-Ze University, Taiwan,
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 to Fuzzy Logic Control
Fuzzy Systems and Applications
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 Jan Jantzen Logic is based on set theory, and when we switch to fuzzy sets it will have an effect on.
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.
Abdul Rahim Ahmad MITM 613 Intelligent System Chapter 3b: Dealing with Uncertainty (Fuzzy Logic)
Fuzzy Sets Introduction/Overview Material for these slides obtained from: Modern Information Retrieval by Ricardo Baeza-Yates and Berthier Ribeiro-Neto.
Fuzzy Rules 1965 paper: “Fuzzy Sets” (Lotfi Zadeh) Apply natural language terms to a formal system of mathematical logic
Aims of session  Last week  Deterministic  Propositional logic  Predicate logic  This week (Basis of this section Johnson and Picton 1995)  Non-monotonic.
Artificial Intelligence in Game Design Lecture 6: Fuzzy Logic and Fuzzy State Machines.
 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.
Knowledge Processing 1. Aims of session  Introduce types of reasoning  Deterministic  Propositional logic  Predicate logic.
Artificial Intelligence CIS 342 The College of Saint Rose David Goldschmidt, Ph.D.
Fuzzy systems. Calculate the degree of matching Fuzzy inference engine Defuzzification module Fuzzy rule base General scheme of a fuzzy system.
Homework 5 Min Max “Temperature is low” AND “Temperature is middle”
Basic Concepts of Fuzzy Logic Apparatus of fuzzy logic is built on: Fuzzy sets: describe the value of variables Linguistic variables: qualitatively and.
AI Fuzzy Systems. History, State of the Art, and Future Development Sde Seminal Paper “Fuzzy Logic” by Prof. Lotfi Zadeh, Faculty in Electrical.
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}
Fuzzy Logic 1. Introduction Form of multivalued logic Deals reasoning that is approximate rather than precise The fuzzy logic variables may have a membership.
© Negnevitsky, Pearson Education, Lecture 5 Fuzzy expert systems: Fuzzy inference Mamdani fuzzy inference Mamdani fuzzy inference Sugeno fuzzy inference.
S PEED CONTROL OF DC MOTOR BY FUZZY CONTROLLER MD MUSTAFA KAMAL ROLL NO M E (CONTROL AND INSTRUMENTATION)
Intelligent Systems Rule based systems 1. Aims of session To understand Basic principles Forward chaining Problems with rule-based systems Backward chaining.
Fuzzy Logic for Social Simulation using NetLogo UNIVERSITY OF BURGOS UNIVERSITY OF VALLADOLID UNIVERSITY OF WESTERN AUSTRALIA Marcos Almendres, Luis R.
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.
Artificial Intelligence
Stanisław H. Żak School of Electrical and Computer Engineering
Fuzzy Logic and Fuzzy Sets
Homework 8 Min Max “Temperature is low” AND “Temperature is middle”
Introduction to Fuzzy Logic
Fuzzy logic Introduction 3 Fuzzy Inference Aleksandar Rakić
Dr. Unnikrishnan P.C. Professor, EEE
FUZZIFICATION AND DEFUZZIFICATION
Homework 9 Min Max “Temperature is low” AND “Temperature is middle”
Fuzzy Logic Colter McClure.
Dr. Unnikrishnan P.C. Professor, EEE
Fuzzy Logic KH Wong Fuzzy Logic v.9a.
Presentation transcript:

Artificial Intelligence Techniques Knowledge Processing 2-MSc

Aims of session To understand Fuzzy Logic Defuzzification

Introduction Lofti Zadeh (1965) proposed Possibilistic Logic which became Fuzzy- Logic. Allows us to combine weighting factors with propositions. 0<=T(X)<=1

Boolean v Fuzzy BooleanFuzzy T(X^Y)MIN(T(X),T(Y)) T(XvY)MAX(T(X),T(Y)) T(¬X)(1-T(X)) T(X  Y)MAX((1-T(X),T(Y)) Where X and Y are propositions Any Boolean expression can be converted to a fuzzy expression.

t XYMin(X,Y)MAX(X,Y)(1-X) MAX((1-X),Y) So when truth values are 0 and 1 Fuzzy=Boolean Other rules such as De-Morgan’s Laws still apply

Membership functions A fuzzy set is a set whose membership function takes values between 0 and 1. Example: Cold, Warm and Hot describe temperature we could define thresholds T1 and T2. Starting at low temperature as the temperature rises to T1 the temperature becomes Warm. As the temperature rises to T2 the temperature becomes Hot.

What is the problem? Is there really a crisp change between the definitions?

Answer Change the shape of the membership function so it not so crisp. Common one is a triangular functions that have some overlap. At some temperatures it is possible to be a member of two different sets.

Using the example from Johnson and Picton (1995)

At 8 degrees it is a member of both COLD (0.7) and WARM (0.3) sets. These are NOT necessarily probabilities, they are not so rigorously defined.

Defuzzication To calculate final setting need defuzzication rules, this often based around the ‘centre of gravity’ of shaded area. Why do we need this?

So back to the temperature measures the fuzzy membership can be combined using MIN, MAX and (1-T(X)) operations so IF-THEN can be used. IF (temperature is COLD) THEN (heating on HIGH) IF (temperature is WARM) THEN (heating on LOW) So first rule heating is turned on to HIGH with a membership of 0.7.Second rule heating is turned on to LOW. So membership can be represented by the heating memebership,

Heater membership Centre of gravity is point where area to left of the point=area to the right.

Centre of Gravity

Paradoxes and Fuzzy Sets A useful feature is they can be built on the basis of minimal information and fine-tuned to be more consistent afterwards by observation. Problem is (Hopgood’s Paradox) is that it is possible that ‘weak’ information can result in strong information on defuzzication.

Not inverse Defuzzication is not truly the inverse of fuzzification. If you defuzzify fuzzy data you will often get distortion in the resulting values.

References Johnson J and Picton P (1995) Mechatronics : designing intelligent machines. - Vol.2 : concepts in artificial intelligence Oxford : Butterworth- Heinemann pg