> Introducing human reasoning within decision-making systems Presentation

Similar documents
FUZZY LOGIC TECHNIQUES. on random processes. In such situations, fuzzy logic exhibits immense potential for

Fuzzy Reasoning. Outline

Fuzzy Logic. Sourabh Kothari. Asst. Prof. Department of Electrical Engg. Presentation By

Introduction to Fuzzy Logic and Fuzzy Systems Adel Nadjaran Toosi

Figure 2-1: Membership Functions for the Set of All Numbers (N = Negative, P = Positive, L = Large, M = Medium, S = Small)

Machine Learning & Statistical Models

Chapter 4 Fuzzy Logic

Lecture notes. Com Page 1

Fuzzy Logic. This amounts to the use of a characteristic function f for a set A, where f(a)=1 if the element belongs to A, otherwise it is 0;

ARTIFICIAL INTELLIGENCE. Uncertainty: fuzzy systems

Introduction to Fuzzy Logic. IJCAI2018 Tutorial

Neural Networks Lesson 9 - Fuzzy Logic

CHAPTER 5 FUZZY LOGIC CONTROL

The Fuzzy Logic Based ECA Rule Processing for XML Databases

FUZZY SQL for Linguistic Queries Poonam Rathee Department of Computer Science Aim &Act, Banasthali Vidyapeeth Rajasthan India

Why Fuzzy Fuzzy Logic and Sets Fuzzy Reasoning. DKS - Module 7. Why fuzzy thinking?

FUZZY INFERENCE SYSTEMS

Why Fuzzy? Definitions Bit of History Component of a fuzzy system Fuzzy Applications Fuzzy Sets Fuzzy Boundaries Fuzzy Representation

CPS331 Lecture: Fuzzy Logic last revised October 11, Objectives: 1. To introduce fuzzy logic as a way of handling imprecise information

REASONING UNDER UNCERTAINTY: FUZZY LOGIC

Fuzzy Logic and brief overview of its applications

ANALYSIS AND REASONING OF DATA IN THE DATABASE USING FUZZY SYSTEM MODELLING

ARTIFICIAL INTELLIGENCE - FUZZY LOGIC SYSTEMS

Genetic Algorithm and Fuzzy Logic Based Flexible Querying in Databases

Fuzzy Sets and Fuzzy Logic. KR Chowdhary, Professor, Department of Computer Science & Engineering, MBM Engineering College, JNV University, Jodhpur,

Fuzzy Logic Controller

What is all the Fuzz about?

Fuzzy Systems (1/2) Francesco Masulli

Types of Expert System: Comparative Study

Unit V. Neural Fuzzy System

Fuzzy Sets and Fuzzy Logic

AN INTRODUCTION TO FUZZY SETS Analysis and Design. Witold Pedrycz and Fernando Gomide

Outlines. Fuzzy Membership Function Design Using Information Theory Measures and Genetic Algorithms. Outlines

Introduction. Aleksandar Rakić Contents

Fuzzy logic. 1. Introduction. 2. Fuzzy sets. Radosªaw Warzocha. Wrocªaw, February 4, Denition Set operations

About the Tutorial. Audience. Prerequisites. Disclaimer& Copyright. Fuzzy Logic

CHAPTER 4 FREQUENCY STABILIZATION USING FUZZY LOGIC CONTROLLER

Introduction 3 Fuzzy Inference. Aleksandar Rakić Contents

ITFOOD: Indexing Technique for Fuzzy Object Oriented Database.

FUZZY BOOLEAN ALGEBRAS AND LUKASIEWICZ LOGIC. Angel Garrido

Genetic Tuning for Improving Wang and Mendel s Fuzzy Database

Speed regulation in fan rotation using fuzzy inference system

What is all the Fuzz about?

FUZZY DATABASE FOR MEDICAL DIAGNOSIS. Rehana Parvin BSc, AIUB, Dhaka, Bangladesh, 2004

FUZZY SYSTEM FOR PLC

A Brief Idea on Fuzzy and Crisp Sets

Background Fuzzy control enables noncontrol-specialists. A fuzzy controller works with verbal rules rather than mathematical relationships.

Dinner for Two, Reprise

Final Exam. Controller, F. Expert Sys.., Solving F. Ineq.} {Hopefield, SVM, Comptetive Learning,

The Use of Fuzzy Logic at Support of Manager Decision Making

fuzzylite a fuzzy logic control library in C++

Defect Depth Estimation Using Neuro-Fuzzy System in TNDE by Akbar Darabi and Xavier Maldague

A New Fuzzy Algorithm for Dynamic Load Balancing In Distributed Environment

COSC 6397 Big Data Analytics. Fuzzy Clustering. Some slides based on a lecture by Prof. Shishir Shah. Edgar Gabriel Spring 2015.

Fuzzy Logic Approach towards Complex Solutions: A Review

FUNDAMENTALS OF FUZZY SETS

Query Processing and Interlinking of Fuzzy Object-Oriented Database

HAPPY VALENTINE'S DAY 14 Feb 2011 JAIST

FUZZY INFERENCE. Siti Zaiton Mohd Hashim, PhD

Reichenbach Fuzzy Set of Transitivity

Application of a Fuzzy Inference System to Measure Maintainability of Object-Oriented Software

CHAPTER 3 ADAPTIVE NEURO-FUZZY INFERENCE SYSTEM

Lotfi Zadeh (professor at UC Berkeley) wrote his original paper on fuzzy set theory. In various occasions, this is what he said

GEOG 5113 Special Topics in GIScience. Why is Classical set theory restricted? Contradiction & Excluded Middle. Fuzzy Set Theory in GIScience

Fuzzy system theory originates from fuzzy sets, which were proposed by Professor L.A.

Solving a Decision Making Problem Using Weighted Fuzzy Soft Matrix

Interval Type 2 Fuzzy Logic System: Construction and Applications

Simple Linear Interpolation Explains All Usual Choices in Fuzzy Techniques: Membership Functions, t-norms, t-conorms, and Defuzzification

Contents. The Definition of Fuzzy Logic Rules. Fuzzy Logic and Functions. Fuzzy Sets, Statements, and Rules

ON DECOMPOSITION OF FUZZY BԐ OPEN SETS

Disjunctive and Conjunctive Normal Forms in Fuzzy Logic

COSC 6339 Big Data Analytics. Fuzzy Clustering. Some slides based on a lecture by Prof. Shishir Shah. Edgar Gabriel Spring 2017.

A Fuzzy System Modeling Algorithm for Data Analysis and Approximate Reasoning

Fuzzy Inference System based Edge Detection in Images

MODELING FOR RESIDUAL STRESS, SURFACE ROUGHNESS AND TOOL WEAR USING AN ADAPTIVE NEURO FUZZY INFERENCE SYSTEM

Membership Functions for a Fuzzy Relational Database: A Comparison of the Direct Rating and New Random Proportional Methods

Granular Computing: A Paradigm in Information Processing Saroj K. Meher Center for Soft Computing Research Indian Statistical Institute, Kolkata

A New Fuzzy Neural System with Applications

Exercise Solution: A Fuzzy Controller for the Pole Balancing Problem

Fuzzy Reasoning. Linguistic Variables

Knowledge Representation

CHAPTER 6 SOLUTION TO NETWORK TRAFFIC PROBLEM IN MIGRATING PARALLEL CRAWLERS USING FUZZY LOGIC

Fuzzy Set Theory and Its Applications. Second, Revised Edition. H.-J. Zimmermann. Kluwer Academic Publishers Boston / Dordrecht/ London

2

INFORMATION RETRIEVAL SYSTEM USING FUZZY SET THEORY - THE BASIC CONCEPT

System of Systems Architecture Generation and Evaluation using Evolutionary Algorithms

Intelligent Control. 4^ Springer. A Hybrid Approach Based on Fuzzy Logic, Neural Networks and Genetic Algorithms. Nazmul Siddique.

Application of fuzzy set theory in image analysis. Nataša Sladoje Centre for Image Analysis

CS 354R: Computer Game Technology

Irregular Interval Valued Fuzzy Graphs

Advanced Inference in Fuzzy Systems by Rule Base Compression

Bipolar Fuzzy Line Graph of a Bipolar Fuzzy Hypergraph

Elementos de Inteligencia Artificial. Amaury Caballero Ph.D., P.E. Universidad Internacional de la Florida

ISSN: Page 320

Fuzzy Logic: Human-like decision making

European Journal of Science and Engineering Vol. 1, Issue 1, 2013 ADAPTIVE NEURO-FUZZY INFERENCE SYSTEM IDENTIFICATION OF AN INDUCTION MOTOR

Learning Fuzzy Rules Using Ant Colony Optimization Algorithms 1

Integrating fuzzy case-based reasoning and particle swarm optimization to support decision making

On multi-subjectivity in linguistic summarization of relational databases

A Database Driven Memetic Algorithm for Fuzzy Set Optimization

Transcription:

> Introducing human reasoning within decision-making systems Presentation Franck.Dernoncourt@gmail.com 26 Janvier 2011

Table of Contents 1.Origins 2. Definitions 3.Application: fuzzy inference systems 4.Application: fuzzy queries 5. Conclusion 6. References 2

1. Origins Observation: Knowledge available to humans are virtually never perfect. These imperfections can be distinguished into two classes: Uncertainties, which refer to knowledge whose validity is subject to question. For example, if we know someone bumped his head on a ceiling, we can guess that he is likely to be very tall. Inaccuracies, which refer to knowledge that is not clearly perceived or defined. For example, instead of saying someone is 2 feet and 3 inches, we usually say that person is very tall. 3

1. Origins Observation: Knowledge available to humans are virtually never perfect. These imperfections can be distinguished into two classes: Uncertainties, which refer to knowledge whose validity is subject to question. For example, if we know someone bumped his head on a ceiling, we can guess that he is likely to be very tall. Inaccuracies, which refer to knowledge that is not clearly perceived or defined. For example, instead of saying someone is 2 feet and 3 inches, we usually say that person is very tall. 4

1. Origins Observation: Knowledge available to humans are virtually never perfect. These imperfections can be distinguished into two classes: Uncertainties, which Probability! refer to knowledge whose validity is subject to question. For example, if we know someone bumped his head on a ceiling, we can guess that he is likely to be very tall. Inaccuracies, which refer to knowledge that is not clearly perceived or defined. For example, instead of saying someone is 2 feet and 3 inches, we usually say that person is very tall. 5

1. Origins Observation: Knowledge available to humans are virtually never perfect. These imperfections can be distinguished into two classes: Probability! Uncertainties, which refer to knowledge whose validity is subject to question. For example, if we know someone bumped his head on a ceiling, we can guess that he is likely to be very tall. Inaccuracies, which refer to knowledge that is not clearly perceived or defined. For example, instead of saying someone is 2 feet and 3 inches, we usually say that person is very tall. 6

1. Origins Observation: Knowledge available to humans are virtually never perfect. These imperfections can be distinguished into two classes: Probability! Uncertainties, which refer to knowledge whose validity is subject to question. For example, if we know someone bumped his head on a ceiling, we can guess that he is likely to be very tall. Inaccuracies, which refer Fuzzy to logic! knowledge that is not clearly perceived or defined. For example, instead of saying someone is 2 feet and 3 inches, we usually say that person is very tall. 7

1. Origins How to express these inaccuracies in logical terms? In classical logic, a proposition is true or false. Example: This person is tall. True or false? Not flexible In multivalued logic, a proposition may have multiple values. Example(ternary): This person is tall. True, half true ou false? Slightly more flexible In fuzzy logic, a proposition can have as many values as one wants. Example: This person is tall. This is 30% true. Flexible! 8

1. Origins Lofti Zadeh, researcher in systems theory, laid the foundations of fuzzy logic in an article in 1965. Fuzzy logic is an extension of the Boolean logic based on the mathematical theory of fuzzy sets, which is a generalization of the classical set theory. By introducing the notion of degree in the verification of a condition, thus enabling a condition of being in a state other than true or false, fuzzy logic provides a highly valuable flexibility to reasoning models, making it possible taking into account inaccuracies 9

1. Origins Applications: Decision support system (e.g. in healthcare), Database (e.g. fuzzy queries), Fuzzy commands (e.g. subway line M14 in Paris), Data mining (e.g. clustering), Pattern recognition, 10

Table of Contents 1. Origins 2. Definitions 3.Application: fuzzy inference systems 4.Application: fuzzy queries 5. Conclusion 6. References 11

2. Definitions Let s define the key concepts of fuzzy logic through an example of image processing: increasing the contrast of an image 12

2. Definitions Input Fuzzifier Inference Engine Defuzzifier Output Fuzzy Knowledge base 13

2. Definitions 1) Fuzzy set and membership degree Fuzzifier Classical set Fuzzy set Indicator function: 0 or 1 Binary in classical logic Membership degree: any real between 0 et 1 Membership degree in fuzzy logic (eg 0.867) 14

2. Definitions 1) Fuzzy set and membership degree Fuzzifier Classical logic Fuzzy logic Indicator function: 0 or 1 Binary in classical logic Membership degree: any real between 0 et 1 Membership degree in fuzzy logic (eg 0.867) 15

2. Definitions 1) Membership functions (fuzzification step) in input Fuzzifier 16

2. Definitions 1) Membership functions (defuzzification step) in output Fuzzifier 17

2. Definitions 2) Redefinitions of basic operations Classical logic Negation And Or Fuzzy logic Inference Engine Implication Modus ponens 18

2. Definitions 3) Decision matrix Inference Engine Input Light Average Dark Output Very light Average Very dark Power of fuzzy logic! A fuzzy system is expressed directly in natural language 19

2. Definitions 4) Defuzzification! Defuzzifier 20

2. Definitions Input Fuzzifier Inference Engine Defuzzifier Output Input Output Light Very light Fuzzy Knowledge base Average Dark Average Very dark 21

Table of Contents 1. Origins 2. Definitions 3.Application: fuzzy inference systems 4.Application: fuzzy queries 5. Conclusion 6. References 22

3. Application: Decision Support Systems Example of decision An anesthesiologist must decide on the content of the gas during surgery: the gas must be more or less anesthetic according to the patient's condition at a given time. 2 main criteria (input) : SAP: systolic arterial pressure HRP: heart pulse rate 1 decision (output) : AO: levels of anesthetic products in the gas 23

3. Application: Decision Support Systems Membership functions Fuzzifier Input 1 Input 2 Output 24

3. Application: Decision Support Systems Membership functions Fuzzifier Input 1 SAP = 132 SAP = 132 T6 = 1 Input 2 HPR = 99 HPR = 99 N5 = 0.167, N6 = 0.834 Output 25

3. Application: Decision Support Systems Decision matrix Inference Engine N1 N2 N3 N4 N5 N6 N7 N8 T1 A1 A1 A2 A2 A2 S S S T2 A2 A2 T3 A2 T4 A2 T5 A2 T6 A2 T7 A2 T8 S T9 S T10 S T11 S T12 S Read: If N5 and T10, then we decide 26

3. Application: Decision Support Systems Decision matrix HPR = 99, hence N5 = 0.167 and N6 = 0.834 Inference Engine N1 N2 N3 N4 N5 N6 N7 N8 T1 A1 A1 A2 A2 A2 S S S T2 A2 A2 T3 A2 SAP = 132 Hence: T6 = 1 T4 T5 T6 T7 A2 A2 A2 A2 T8 S T9 S T10 S T11 S T12 S We therefore decide and! 27

3. Application: Decision Support Systems Input : HPR = 99 N5 = 0.167, N6 = 0.834 SAP = 132 T6 = 1 T6 = 1 N5 = 0.167 => = 0.167 T6 = 1 N6 = 0.834 => = 0.5 Defuzzifier = 0.167 = 0.5 => Output = 3.368 28

3. Application: Decision Support Systems Anesthetist vs. fuzzy logic? 29

3. Application: Decision Support Systems Form of the decision output: Defuzzifier Output Input 2 : HPR Input 1 : SAP 30

Table of Contents 1. Origins 2. Definitions 3.Application: fuzzy inference systems 4.Application: fuzzy queries 5. Conclusion 6. References 31

4. Application: fuzzy queries XQuery : query language for XML databases (XQuery plays over XML data a role similar to the SQL language visà-vis the relational data) Example: a manager wants to give a bonus to all its vendors performance. He wants to make a query in the database to find them. We will compare the results according to the logic on which the query is based : classical logic or fuzzy logic. 32

4. Application: fuzzy queries Classical logic: Boolean test "Over 4,000 in 10 days!" Query : <output> { for $emp in doc("sale.xml")/salesman/emp let $eid := $emp/empid/text() let $en := $emp/ename/text() let $sa := $emp/sales/text() let $d:=$emp/days/text() return if ($sa >=4000 and $d <=10) then <emp> <empid> {$eid} </empid> <ename> {$en} </ename> <sales>{$sa}</sales> <days>{$d}</days> </emp> else () }</output> 33

4. Application: fuzzy queries Classical logic: Boolean test "Over 4,000 in 10 days!" <output> <emp> <empid>1003</empid> <ename>joshua</ename> <sales>5000</sales> <days>10</days> </emp> <emp> <empid>1004</empid> <ename>kevin</ename> <sales>4998</sales> <days>3</days> </emp> [ ] <emp> <empid>1009</empid> <ename>george</ename> <sales>4100</sales> <days>11</days> </emp> <emp> <empid>1008</empid> <ename>henry</ename> <sales>3999</sales> <days>3</days> </emp> </output> 34

4. Application: fuzzy queries Fuzzy logic: fuzzy criteria "Be good!" Query: 35

4. Application: fuzzy queries Fuzzy logic: fuzzy criteria "Be good!" Query: <output> { for $emp in doc("salesman.xml")/salesman/emp let $eid := $emp/empid/text() let $en := $emp/ename/text() let $sa := $emp/sales/text() let $d:=$emp/days/text() return if {salesman=good } then <emp> <empid> {$eid} </empid> <ename> {$en} </ename> <sales>{$sa}</sales> <days>{$d}</days> </emp> else () }</output> 36

4. Application: fuzzy queries Fuzzy logic: fuzzy criteria "Be good!" <output> <emp> <empid>1003</empid> <ename>joshua</ename> <sales>5000</sales> <days>10</days> </emp> <emp> <empid>1004</empid> <ename>kevin</ename> <sales>4998</sales> <days>3</days> </emp> [ ] <emp> <empid>1009</empid> <ename>george</ename> <sales>4100</sales> <days>11</days> </emp> <emp> <empid>1008</empid> <ename>henry</ename> <sales>3999</sales> <days>3</days> </emp> </output> 37

4. Application: fuzzy queries SQL: Query language for databases SQL extensions incorporating fuzzy logic: SQLf [Bosc 1995] ; Summary SQL [Rasmussen 1996]. Classical query: SELECT LName, Age, Expertise FROM Workers WHERE Age < 40 AND Age >= 30 AND Expertise = AI ; Fuzzy query (SQLf_j): SELECT THRESHOLD 0.2 LName, Age, Expertise FROM Workers WHERE ~Age IS Middle-aged AND #Expertise IS AI ; 38

4. Application: fuzzy queries Concept of linguistic variable Var_linguistique = (V, X, T X ) : V: variable (age, temperature, etc.) ; X: range of values of the variable; T X : fuzzy set. 39

4. Application: fuzzy queries Concept of quantifiers Example: "very, much, much, relatively..." 40

4. Application: fuzzy queries Concept of modifiers Example: "very, much, much, relatively..." 41

4. Application: fuzzy queries Concept of qualifiers Example: "true, false, probable,..." 42

4. Application: fuzzy queries 43

Table of Contents 1. Origins 2. Definitions 3.Application: fuzzy inference systems 4.Application: fuzzy queries 5. Conclusion 6. References 44

5. Conclusion Overview: Input Fuzzifier Inference Engine Defuzzifier Output Fuzzy Knowledge base 45

5. Conclusion Future of fuzzy logic Link between human reasoning and artificial intelligence Accuracy vs. efficiency trade-off Possibility of coupling with other theories (neural networks, evolutionary algorithms, etc.). 46

Table of Contents 1. Origins 2. Definitions 3.Application: fuzzy inference systems 4.Application: fuzzy queries 5. Conclusion 6. References 47

6. References References: Bosc, P., Pivert, O.: SQLf: A Relational Database Language for Fuzzy Querying. IEEE Trans. on Fuzzy Systems 3 (1995) 1 17. Rasmussen, D. and Yager, R. R.: SummarySQL - A flexible fuzzy query language. Proceedings of the Second Workshop on Flexible Query-Answering Systems, Roskilde, Denmark (1996) 1 18 Sanli S., Saraoglu H. M., (2007), A fuzzy logic-based decision support system on anesthetic depth control for helping anesthetists in surgeries. Journal of Medical Systems, 31 :511519. Zadeh L.A.: Fuzzy Sets. Inform. and Control 8 (1965) 338 353. 48

Questions? franck.dernoncourt@gmail.com 49