Fuzzy Reasoning. Linguistic Variables

Similar documents
Fuzzy Systems (1/2) Francesco Masulli

Chapter 4 Fuzzy Logic

Figure-12 Membership Grades of x o in the Sets A and B: μ A (x o ) =0.75 and μb(xo) =0.25

Neural Networks Lesson 9 - Fuzzy Logic

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

REASONING UNDER UNCERTAINTY: FUZZY LOGIC

Fuzzy Logic : Introduction

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

Membership Value Assignment

What is all the Fuzz about?

CHAPTER 5 FUZZY LOGIC CONTROL

Introduction to Fuzzy Logic and Fuzzy Systems Adel Nadjaran Toosi

Introduction to Fuzzy Logic. IJCAI2018 Tutorial

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

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

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

计算智能 第 10 讲 : 模糊集理论 周水庚 计算机科学技术学院

Fuzzy Sets and Fuzzy Logic

7. Decision Making

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

Dinner for Two, Reprise

Lecture notes. Com Page 1

Fuzzy Logic Controller

Fuzzy Rules & Fuzzy Reasoning

CHAPTER 4 FREQUENCY STABILIZATION USING FUZZY LOGIC CONTROLLER

INTERNATIONAL JOURNAL OF COMPUTER ENGINEERING & TECHNOLOGY (IJCET)

ANFIS: ADAPTIVE-NETWORK-BASED FUZZY INFERENCE SYSTEMS (J.S.R. Jang 1993,1995) bell x; a, b, c = 1 a

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

What is all the Fuzz about?

ARTIFICIAL INTELLIGENCE - FUZZY LOGIC SYSTEMS

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

Fuzzy Set, Fuzzy Logic, and its Applications

FUZZY SYSTEMS: Basics using MATLAB Fuzzy Toolbox. Heikki N. Koivo

Fuzzy If-Then Rules. Fuzzy If-Then Rules. Adnan Yazıcı

Lecture 5 Fuzzy expert systems: Fuzzy inference Mamdani fuzzy inference Sugeno fuzzy inference Case study Summary

Fuzzy rule-based decision making model for classification of aquaculture farms

Fuzzy Reasoning. Outline

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

Computational Intelligence Lecture 12:Linguistic Variables and Fuzzy Rules

Chapter 2: FUZZY SETS

In the Name of God. Lecture 17: ANFIS Adaptive Network-Based Fuzzy Inference System

Study of Fuzzy Set Theory and Its Applications

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

FUZZY INFERENCE. Siti Zaiton Mohd Hashim, PhD

Fuzzy Networks for Complex Systems. Alexander Gegov University of Portsmouth, UK

Introduction. Aleksandar Rakić Contents

Types of Expert System: Comparative Study

FUZZY INFERENCE SYSTEMS

The Use of Fuzzy Logic at Support of Manager Decision Making

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

FUZZY BOOLEAN ALGEBRAS AND LUKASIEWICZ LOGIC. Angel Garrido

CHAPTER 3 A FAST K-MODES CLUSTERING ALGORITHM TO WAREHOUSE VERY LARGE HETEROGENEOUS MEDICAL DATABASES

Introduction 2 Fuzzy Sets & Fuzzy Rules. Aleksandar Rakić Contents

Chapter 3. Uncertainty and Vagueness. (c) 2008 Prof. Dr. Michael M. Richter, Universität Kaiserslautern

Dra. Ma. del Pilar Gómez Gil Primavera 2014

INFORMATION RETRIEVAL SYSTEM USING FUZZY SET THEORY - THE BASIC CONCEPT

The Median Value of Fuzzy Numbers and its Applications in Decision Making

Introduction 3 Fuzzy Inference. Aleksandar Rakić Contents

Fuzzy Based Decision System for Gate Limiter of Hydro Power Plant

Chapter 2 Fuzzy Set Theory

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

ARTIFICIAL INTELLIGENCE. Uncertainty: fuzzy systems

Fuzzy Mathematics. Fuzzy -Sets, -Relations, -Logic, -Graphs, -Mappings and The Extension Principle. Olaf Wolkenhauer. Control Systems Centre UMIST

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

Chapter 7 Fuzzy Logic Controller

Fuzzy Sets and Systems. Lecture 1 (Introduction) Bu- Ali Sina University Computer Engineering Dep. Spring 2010

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

Fuzzy logic controllers

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

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

Exploring Gaussian and Triangular Primary Membership Functions in Non-Stationary Fuzzy Sets

Using Ones Assignment Method and. Robust s Ranking Technique

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

Fuzzy Classification of Facial Component Parameters

Advanced Inference in Fuzzy Systems by Rule Base Compression

CHAPTER 3 MAINTENANCE STRATEGY SELECTION USING AHP AND FAHP

Fuzzy Systems. Fuzzy Systems in Knowledge Engineering. Chapter 4. Christian Jacob. 4. Fuzzy Systems. Fuzzy Systems in Knowledge Engineering

CHAPTER 3 ADAPTIVE NEURO-FUZZY INFERENCE SYSTEM

American Scientific Research Journal for Engineering, Technology, and Sciences (ASRJETS) ISSN (Print) , ISSN (Online)

Logik für Informatiker Logic for computer scientists

Florida State University Libraries

Fuzzy Set-Theoretical Approach for Comparing Objects with Fuzzy Attributes

- Overview of Dyeing Processes - Current Status of Dyeing Process Control DARG Approach to Dyeing Process Control

Sub-Trident Ranking Using Fuzzy Numbers

Fuzzy if-then rules fuzzy database modeling

CHAPTER 3 FUZZY INFERENCE SYSTEM

Fuzzy Logic and brief overview of its applications

SOLUTION: 1. First define the temperature range, e.g. [0 0,40 0 ].

Approximate Reasoning with Fuzzy Booleans

Algebraic Structure Of Union Of Fuzzy Sub- Trigroups And Fuzzy Sub Ngroups

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

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

On the Use of Fuzzy Techniques for Partial Scan Insertion Based on the Testability metrics

* The terms used for grading are: - bad - good

Fuzzy Logic Approach towards Complex Solutions: A Review

E-Companion: On Styles in Product Design: An Analysis of US. Design Patents

A Fuzzy Based Approach for Priority Allocation in Wireless Sensor Networks Imen Bouazzi #1, Jamila Bhar #2, Semia Barouni *3, Mohamed Atri #4

Classification with Diffuse or Incomplete Information

Matrix Inference in Fuzzy Decision Trees

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

Transcription:

Fuzzy Reasoning Linguistic Variables Linguistic variable is an important concept in fuzzy logic and plays a key role in its applications, especially in the fuzzy expert system Linguistic variable is a variable whose values are words in a natural language For example, speed is a linguistic variable, which can take the values as slow, fast, very fast and so on A fuzzy variable is characterized by (X, U, R(X)), X is the name of the variable; U is the universe of discourse; and R(X) is the fuzzy set of U 2

Linguistic Variables For example: X = old with U = {10, 20,..,80}, and R(X) = 0.1/20 + 0.2/30 + 0.4/40 + 0.5/50 +.+ 1/80 is called a fuzzy membership of old Linguistic variable is a variable of higher order than fuzzy variable, and it take fuzzy variable as its values A linguistic variable is characterized by: (x, T(x), U, M) x; name of the variable T(x); the term set of x, the set of names or linguistic values assigned to x, with each value is a fuzzy variable defined in U M; Semantic rule associate with each variable (membership) 3 Linguistic Variables Example x; age is defined as a linguistic variable T(age) = {young, not young, very young, more or less old, old} U; U={0, 100} M, Defines the membership function of each fuzzy variable for example; M (young) = the fuzzy set for age below 25 years with membership of µ young 4

Linguistic Variables Example 5 Linguistic Variables Linguistic variables collect elements into similar groups where we can deal with less precisely and hence we can handle more complex systems 6

Linguistic Variables Concentration and Dilation of Fuzzy Variables Let A be a linguistic value characterized by a fuzzy set with µ A, then A k is a modified version of the original linguistic value so that, A k = (µ A (x)) k Concentration µ con(a) = (µ A (x)) 2 Dilation µ dil(a) = (µ A (x)) 1/2 This is called linguistic hedges, such as: very old; not old; and not. Hedges allow for the generation of fuzzy statements through mathematical calculations 7 Linguistic Variables Concentration and Dilation of Fuzzy Variables µ A (x) middle aged very young young old very old x 8

Linguistic Variables Concentration and Dilation: Example Consider the following two fuzzy variables young and old with their membership functions: µ young (x) = 1/ [1 + (x/20) 4 ]; µ old (x)= 1/ [1 + ((x-100)/20) 6 ] x is the age for a given person Determine the membership function for the fuzzy variables more or less old ; not young not old ; young but not too young 9 Linguistic Variables Concentration and Dilation: Example More or less old = {1/ [1 + ((x-100)/20) 6 ]} 0.5 Not young not old = = min {(1-1/ [1 + (x/20) 4 ]); (1-1/ [1 + ((x-100)/20) 6 ]} young but not too young = min {1/ [1 + (x/20) 4 ]; (1 (1/ [1 + ((x-100)/20) 6 ]) 0.5 } 10

Linguistic Variables Concentration and Dilation: Example 1.2 1 0.8 0.6 0.4 young old more or less old not young not old young but not too young 0.2 0 0 20 40 60 80 100 120 11 Membership Functions Rules of Thumb Usually use Quadratic, triangular or trapezoidal fuzzy sets for continuous variables (triangular is most common) Quadratic membership function 12

Membership Functions Rules of Thumb Triangular or trapezoidal Degree of Membership (y) 1.0 y = 1 x d x a y = y = c d b a Trapezoidal Fuzzy Set 0 a b c d Degree of Membership (y) Variable Values 1.0 x d x a y = y = c d b a Triangular Fuzzy Set 0 a b=c d Variable Values 13 Membership Functions Rules of Thumb 3 to 7 fuzzy sets are usually used to describe each parameter Fuzzy sets should be narrow and more closely spaced near the desired operating point or in regions where a finer degree of control is needed Very Very Low Low Medium High High Medium High Very High 14

Membership Functions Rules of Thumb Allow significant overlap between sets Often make the base of one set coincide the peak of the adjacent set Poor Good x 1 x 2 x 1 x 2 15 Fuzzy If-Then Rules As any other logic, the rules of inference in fuzzy logic govern the deduction of proposition q from a set of premises {p 1, p 2, }. In fuzzy logic both premises and conclusions are allowed to be fuzzy proposition (describe actions to take under specific conditions) Fuzzy if-then rule take the form IF x is A THEN y is B A and B are linguistic values of fuzzy sets defined in X and Y X is A, called antecedent or premise, Y is B, called conclusion or consequence Ex: if pressure is high, then volume is small if tomato is red, then it is ripe 16

Fuzzy If-Then Rules Fuzzy rules are always represented in matrix format If Speed is Moderate and Position is Centered then Change in speed is Faster If Speed is Low and Position is Centered then Change in speed is Much Faster Speed Position Change in speed 17 Fuzzy If-Then Rules Generating Fuzzy Rules Partition universe of discourse for each input and output into fuzzy regions that overlap and completely cover their respective universes Input x 1 18

Fuzzy If-Then Rules Generating Fuzzy Rules Input x 2 Output z 19 Fuzzy If-Then Rules Generating Fuzzy Rules Use numeric data to generate 1 rule for each input output pair Ex: if x 1 is A and x 2 is B then z is C, where A, B, and C are fuzzy sets defined in the previous step x1 x2 z a1 b1 c1 a2 b2 c2 For each input output pair, assign data to the region with the highest membership a1 = 0.8 in B1 and 0.2 in B2 then B1 b1 = 0.7 in S1 and o.3 in S2 then S1 c1 = 0.9 in C and 0.1 in B1 then C Then rule becomes: if x1 is B1 and x2 is S1 then z is C 20

Fuzzy If-Then Rules Generating Fuzzy Rules Assign a degree of truth (Strength) for each rule. degree of truth = product of membership of data in each rule Ex: rule 1 strength = 0.8 x 0.7 x 0.9 = 0.504 In case of conflict, same premises give different results, keep the rule with the highest degree of truth Construct a rule matrix 21 Fuzzy If-Then Rules Generating Fuzzy Rules: Example A controller with three inputs. Each input is defined with 5 fuzzy sets. How many rules are required to describe the system? Number of rules 5 x 5 x 5 = 125 rules, these represents all the different combinations between all fuzzy sets If 7 fuzzy sets are needed then the number of rules = 7 x 7 x 7 = 343 rules 22

Fuzzy If-Then Rules Generating Fuzzy Rules: Hierarchical Controller Hierarchical controller used to reduce the number of rules Rules are organized in layers with the output of one layer used as an input to the next layer Having a controller with three inputs x1, x2, and x3 and one output z First layer rules is made between x1 and x2 fuzzy sets If x1 is A and x2 is B then λ is B1 23 Fuzzy If-Then Rules Generating Fuzzy Rules: Hierarchical Controller Second layer rules is made between λ and x3 If λ is B1 and x3 is D then z is C Example: A 2-level controller with three input variables each consists of 5 fuzzy sets, and one output variable Number of rules required for first layer 5 x 5 = 25 Number of rules required for second layer 5 x 5 = 25 Total number of rules 50 compared to 125 rules for one layer controller 24

Fuzzy If-Then Rules Generating Fuzzy Rules: Hierarchical Controller Three input controller Four input controller 25