Outline. Introduction, or what is fuzzy thinking? Fuzzy sets Linguistic variables and hedges Operations of fuzzy sets Fuzzy rules Summary.

Similar documents
ME 534. Mechanical Engineering University of Gaziantep. Dr. A. Tolga Bozdana Assistant Professor

2010/07/12. Content. Fuzzy? Oxford Dictionary: blurred, indistinct, confused, imprecisely defined

Neural Networks & Fuzzy Logic. Introduction

What is Fuzzy Logic? Fuzzy logic is a tool for embedding human knowledge (experience, expertise, heuristics) Fuzzy Logic

So, we can say that fuzzy proposition is a statement p which acquires a fuzzy truth value T(p) ranges from(0 to1).

Rule-Based Fuzzy Model

Fuzzy Logic and Computing with Words. Ning Xiong. School of Innovation, Design, and Engineering Mälardalen University. Motivations

This time: Fuzzy Logic and Fuzzy Inference

What Is Fuzzy Logic?

This time: Fuzzy Logic and Fuzzy Inference

Fuzzy expert systems

Financial Informatics XI: Fuzzy Rule-based Systems

OUTLINE. Introduction History and basic concepts. Fuzzy sets and fuzzy logic. Fuzzy clustering. Fuzzy inference. Fuzzy systems. Application examples

Fuzzy Expert Systems Lecture 3 (Fuzzy Logic)

Fuzzy Expert Systems Lecture 3 (Fuzzy Logic)

EEE 8005 Student Directed Learning (SDL) Industrial Automation Fuzzy Logic

Fuzzy Rules & Fuzzy Reasoning

Fuzzy Rules and Fuzzy Reasoning (chapter 3)

Instructor: Shihua Li School of Automation Southeast university

Applied Logic. Lecture 3 part 1 - Fuzzy logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw

Rough Set Theory. Andrew Kusiak Intelligent Systems Laboratory 2139 Seamans Center The University of Iowa Iowa City, Iowa

Application of Fuzzy Logic and Uncertainties Measurement in Environmental Information Systems

The Problem. Sustainability is an abstract concept that cannot be directly measured.

Fuzzy Systems. Introduction

Financial Informatics IX: Fuzzy Sets

It rains now. (true) The followings are not propositions.

Fuzzy Systems. Introduction

Fuzzy Sets. Fuzzy Sets and Fuzzy Logic. Fuzzy Properties. Fuzzy Measures: Example. Properties are represented by fuzzy sets. Properties might be like:

Fuzzy control systems. Miklós Gerzson

Fuzzy Sets and Fuzzy Logic

Fundamentals. 2.1 Fuzzy logic theory

Revision: Fuzzy logic

3. DIFFERENT MODEL TYPES

Introduction to fuzzy logic

Uncertain System Control: An Engineering Approach

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

Uncertainty and Rules

CS344: Introduction to Artificial Intelligence (associated lab: CS386)

3. Lecture Fuzzy Systems

Fuzzy Controller. Fuzzy Inference System. Basic Components of Fuzzy Inference System. Rule based system: Contains a set of fuzzy rules

Uncertain Logic with Multiple Predicates

Classical Logic vs. Quantum Logic

CHAPTER 5 FUZZY LOGIC FOR ATTITUDE CONTROL

Islamic University of Gaza Electrical Engineering Department EELE 6306 Fuzzy Logic Control System Med term Exam October 30, 2011

Fuzzy Logic and Fuzzy Systems Properties & Relationships

Sets

Motivation. From Propositions To Fuzzy Logic and Rules. Propositional Logic What is a proposition anyway? Outline

Handling Uncertainty using FUZZY LOGIC

Where are we? Operations on fuzzy sets (cont.) Fuzzy Logic. Motivation. Crisp and fuzzy sets. Examples

What is fuzzy? A dictionary definition. And so what is a Fuzzy Set? events. a not clear Set? 1. Of or resembling fuzz.

FUZZY CONTROL CONVENTIONAL CONTROL CONVENTIONAL CONTROL CONVENTIONAL CONTROL CONVENTIONAL CONTROL CONVENTIONAL CONTROL

Introduction to fuzzy sets

Lecture 1: Introduction & Fuzzy Control I

Truth and Logic. Brief Introduction to Boolean Variables. INFO-1301, Quantitative Reasoning 1 University of Colorado Boulder

Fuzzy Rules and Fuzzy Reasoning. Chapter 3, Neuro-Fuzzy and Soft Computing: Fuzzy Rules and Fuzzy Reasoning by Jang

Fuzzy Rules and Fuzzy Reasoning (chapter 3)

Classical Set Theory. Outline. Classical Set Theory. 4. Linguistic model, approximate reasoning. 1. Fuzzy sets and set-theoretic operations.

Seminar Introduction to Fuzzy Logic I

Fuzzy Logic. An introduction. Universitat Politécnica de Catalunya. Departament de Teoria del Senyal i Comunicacions.

Fuzzy Logic. By Clifton F. Cobb

Phil Introductory Formal Logic

Fuzzy Expert Systems Lecture 6 (Fuzzy Logic )

Abstract. Keywords. Introduction

Chapter 11 Fuzzy Logic Control

A Powerful way to analyze and control a complex system

Fuzzy and Rough Sets Part I

Chapter 13 Uncertainty

7TH GRADE COMMON CORE VOCABULARY A-M

Reasoning in Uncertain Situations

Sets with Partial Memberships A Rough Set View of Fuzzy Sets

Lecture 06. (Fuzzy Inference System)

is implemented by a fuzzy relation R i and is defined as

Section 2.2 Set Operations. Propositional calculus and set theory are both instances of an algebraic system called a. Boolean Algebra.

FUZZY TRAFFIC SIGNAL CONTROL AND A NEW INFERENCE METHOD! MAXIMAL FUZZY SIMILARITY

Handling uncertainty with fuzzy systems

A New Method to Forecast Enrollments Using Fuzzy Time Series

Knowledge-based systems

Introduction to Pragmatics

Lecture : Set Theory and Logic

Institute for Advanced Management Systems Research Department of Information Technologies Åbo Akademi University. Fuzzy Logic Controllers - Tutorial

1. Brief History of Intelligent Control Systems Design Technology

CS 354R: Computer Game Technology

Field-based Fuzzy Spatial Reasoning Model for Geographical Information Systems: Case of Constraint Satisfaction Problem

Foundation for Neutrosophic Mathematical Morphology

Data Mining. Preamble: Control Application. Industrial Researcher s Approach. Practitioner s Approach. Example. Example. Goal: Maintain T ~Td

Are EU Rural Areas still Lagging behind Urban Regions? An Analysis through Fuzzy Logic

FUZZY CONTROL OF CHAOS

FUZZY CONTROL OF CHAOS

Index Terms Vague Logic, Linguistic Variable, Approximate Reasoning (AR), GMP and GMT

On the Relation of Probability, Fuzziness, Rough and Evidence Theory

Computing with Words: Towards a New Tuple-Based Formalization

Linguistic Hedges: a Quantier Based Approach

Chapter 1: Formal Logic

Fuzzy Logic Approach for Short Term Electrical Load Forecasting

AE4M33RZN, Fuzzy logic: Introduction, Fuzzy operators

32. Method of Lagrange Multipliers

A new Approach to Drawing Conclusions from Data A Rough Set Perspective

APPLICATION OF AIR HEATER AND COOLER USING FUZZY LOGIC CONTROL SYSTEM

Today s s lecture. Lecture 16: Uncertainty - 6. Dempster-Shafer Theory. Alternative Models of Dealing with Uncertainty Information/Evidence

Type-2 Fuzzy Shortest Path

Transcription:

Fuzzy Logic Part ndrew Kusiak Intelligent Systems Laboratory 239 Seamans Center The University of Iowa Iowa City, Iowa 52242-527 andrew-kusiak@uiowa.edu http://www.icaen.uiowa.edu/~ankusiak Tel: 39-335 5934 Fa: 39-335 5669 ased on material provided by Professor Michael Negnevitsky Outline Introduction, or what is fuzzy thinking? Fuzzy sets Linguistic variables and hedges Operations of fuzzy sets Fuzzy rules Summary Fuzzy logic is a set of mathematical principles for knowledge representation based on the membership function. Unlike two-valued oolean logic, fuzzy logic is multi-valued. It deals with the degree of membership and the degree of truth. Fuzzy logic uses the continuum of logical values between (completely false) and (completely true). Instead of just black and white, it employs the spectrum of colours, accepting that things can be partly true and partly false at the same time. Range of logical values in oolean and fuzzy logic.2.4.6.8 (a) oolean Logic. (b) Multi-valued Logic. Fuzzy sets The concept of a set is fundamental to mathematics. natural language epresses sets. For eample, a car indicates a set of cars. When we say a car, we mean one out of the set of cars. The classical eample in fuzzy sets is tall men. The elements of the fuzzy set tall men are all men, but their degrees of membership depend on their height. Name Chris Mark John Tom David Mike ob Steven ill Peter 28 25 98 8 79 72 67 58 55 52 Crisp Fuzzy...98.82.78.24.5.6..

Crisp and fuzzy sets of tall men..8.6.4.2. Tall Men 5 6 7 8 9 2 2 Fuzzy Sets..8.6.4.2. Crisp Sets 6 7 8 9 2 5 2 The -ais represents the universe of discourse the range of all possible values applicable to the variable of choice. In our case, the variable is the man height. ccording to this representation, the universe of men s heights consists of all tall men. The y-ais represents the membership value of the fuzzy set. In our case, the fuzzy set of tall men maps height values into corresponding membership values. fuzzy set is a set with fuzzy boundaries. Let X be the universe of discourse and its elements be denoted as. In the classical set theory, crisp set of X is defined as function f () called the characteristic function of f (): X {, }, where, if f ( ) =, if This set maps universe X to a set of two elements. For any element of universe X, characteristic function f () is equal to if is an element of set, and is equal to if is not an element of. In the fuzzy theory, fuzzy set of universe X is defined by function μ () called the membership function of set μ (): X [, ], where μ () = if is totally in ; μ () = if is not in ; < μ () < if is partly in. This set allows a continuum of possible choices. For any element of universe X, membership function μ () equals the degree to which is an element of set. This degree, a value between and, represents the degree of membership, also called membership value, of element in set. Crisp and fuzzy sets of short, average, and tall men..8.6.4.2 Short verage Short Tall Tall Men. 5 6 7 8 9 2 2 Fuzzy Sets..8.6.4.2. Short verage Crisp Sets Tall Tall 6 7 8 9 2 5 2 Representation of crisp and fuzzy subsets X Fuzzy Subset Crisp Subset μ () Fuzziness Fuzziness Typical functions that can be used to represent a fuzzy set are sigmoid, gaussian and pi. However, these functions increase the computation time. Therefore, most applications use linear fit functions.

Linguistic variables and hedges The fuzzy set theory is rooted in linguistic variables. linguistic variable is a fuzzy variable. For eample, the statement John is tall implies that the linguistic variable John takes the linguistic value tall. In fuzzy epert systems, linguistic variables are used in fuzzy rules. For eample: IF wind is strong THEN sailing is good IF project_duration is long THEN completion_risk is high IF speed is slow THEN stopping_distance is short The range of possible values of a linguistic variable represents the universe of discourse of that variable. For eample, the universe of discourse of the linguistic variable speed might be the range between and 22 km/h and may include such fuzzy subsets as very slow, slow, medium, fast, and very fast. linguistic variable carries with it the concept of fuzzy set qualifiers, called hedges. Hedges are terms that modify the shape of fuzzy sets. They include adverbs such as very, somewhat, quite, more or less and slightly...8.6.4.2 Fuzzy sets with the hedge very Very Short Short verage Short Tall Very Tall Tall. 5 6 7 8 9 2 2 Representation of hedges in fuzzy logic (/2) Hedge little Slightly Very Etremely Mathematical Epression [μ ( )].3 [μ ( )].7 [μ ( )] 2 [μ ( )] 3 Graphical Representation Eample, for le is tall, μ =.86, le is very tall, μ = μ 2 =.74, le is very very tall, μ = μ 4 =.55 Representation of hedges in fuzzy logic (2/2) Hedge Mathematical Epression Graphical Representation Very very More or less Somewhat [μ ( )] 4 μ ( ) μ ( ) 2 [μ ( )] 2 Indeed if μ.5 2 [ μ ( )] 2 if.5 < μ

Operations of fuzzy sets The classical set theory developed in the late 9 th century by Georg Cantor describes interactions between crisp sets. These interactions are called operations. Cantor s sets Not Complement Containment Complement Crisp Sets: Who does not belong to the set? Fuzzy Sets: How much do elements not belong to the set? The complement of a set is an opposite of this set. For eample, if we have the set of tall men, its complement is the set of NOT tall men. When we remove the tall men set from the universe of discourse, we obtain the complement. If is the fuzzy set, its complement can be found as follows: Not μ () = μ () Intersection Union Containment Crisp Sets: Which sets belong to which other sets? Fuzzy Sets: Which sets belong to other sets? Similar to a Chinese bo, a set can contain other sets. The smaller set is called the subset. For eample, the set of tall men contains all tall men; very tall men is a subset of tall men. However, the tall men set is just a subset of the set of men. In crisp sets, all elements of a subset entirely belong to a larger set. In fuzzy sets, however, each element can belong less to the subset than to the larger set. Elements of the fuzzy subset have smaller memberships in it than in the larger set. Intersection Crisp Sets: Which element belongs to both sets? Fuzzy Sets: To what degree the element is in both sets? In classical set theory, an intersection between two sets contains the elements shared by these sets. For eample, the intersection of the set of tall men and the set of fat men is the area where these sets overlap. In fuzzy sets, an element may partly belong to both sets with different memberships. fuzzy intersection is the lower membership in both sets of each element. The fuzzy intersection of two fuzzy sets and on universe of discourse X: μ () = min [μ (), μ ()] = μ () μ (), where X Union Crisp Sets: Which element belongs to either set? Fuzzy Sets: How much of the element is in either set? The union of two crisp sets consists of every element that falls into either set. For eample, the union of tall men and fat men contains all men who are tall OR fat. In fuzzy sets, the union is the reverse of the intersection. That is, the union is the largest membership value of the element in either set. The fuzzy operation for forming the union of two fuzzy sets and on universe X can be given as: μ () = ma [μ (), μ ()] = μ () μ (), where X

Cantor s operators Not Complement Intersection Operations of fuzzy sets Containment Union μ ( ) Not Complement Fuzzy set operators μ ( ) μ ( ) μ ( ) Intersection Containment Union Fuzzy rules In 973, Lotfi Zadeh published his second most influential paper. This paper outlined a new approach to analysis of comple systems, in which Zadeh suggested capturing human knowledge in fuzzy rules. What is a fuzzy rule? fuzzy rule can be defined as a conditional statement in the form: IF is THEN y is where and y are linguistic variables; and and are linguistic values determined by fuzzy sets on the universe of discourses X and Y, respectively. What is the difference between classical and fuzzy rules? classical IF-THEN rule uses binary logic, for eample, Rule: IF speed is > THEN stopping_distance is long Rule: 2 IF speed is < 4 THEN stopping_distance is short The variable speed can have any numerical value between and 22 km/h, but the linguistic variable stopping_distance can take either value long or short. In other words, classical rules are epressed in the black-and-white language of oolean logic. We can also represent the stopping distance rules in a fuzzy form: Rule: Rule: 2 IF speed is fast IF speed is slow THEN stopping_distance is long THEN stopping_distance is short In fuzzy rules, the linguistic variable speed also has the range (the universe of discourse) between and 22 km/h, but this range includes fuzzy sets, such as slow, medium and fast. The universe of discourse of the linguistic variable stopping_distance can be between and 3 m and may include such fuzzy sets as short, medium and long. Fuzzy rules relate fuzzy sets. In a fuzzy system, all rules fire to some etent, i.e., fire partially. If the antecedent is true to some degree of membership, then the consequent is also true to that same degree.

..8.6.4.2. 6 Fuzzy sets of tall and heavy men 8 Tall men. Heavy men.8.6.4.2. 9 2 7 8 2 Weight, kg These fuzzy sets provide the basis for a weight estimation model. The model is based on a relationship between a man s height and his weight: IF height is tall THEN weight is heavy The value of the output or a truth membership grade of the rule consequent can be estimated directly from a corresponding truth membership grade in the antecedent. This form of fuzzy inference uses a method called monotonic selection...8.6.4.2. 6 8 Tall men..8.6.4.2 Heavy men. 9 2 7 8 2 Weight, kg fuzzy rule can have multiple antecedents, for eample: IF project_duration is long ND project_staffing is large ND project_funding is inadequate THEN risk is high IF service is ecellent OR food is delicious THEN tip is generous The consequent of a fuzzy rule can also include multiple parts, for instance: IF temperature is hot THEN hot_water is reduced; cold_water is increased