Fuzzy Sets - Introduction If you only have a hammer, everything looks like a nail. Adriano Joaquim de Oliveira Cruz – NCE e IM, UFRJ

Slides:



Advertisements
Similar presentations
Fuzzy Sets - Hedges. Adriano Joaquim de Oliveira Cruz – NCE e IM, UFRJ
Advertisements

Clustering Validity Adriano Joaquim de O Cruz ©2006 NCE/UFRJ
Fuzzy Control - Example. Adriano Joaquim de Oliveira Cruz NCE e IM, UFRJ ©2002.
Fuzzy Sets and Fuzzy Logic
Fuzzy Set and Opertion. Outline Fuzzy Set and Crisp Set Expanding concepts Standard operation of fuzzy set Fuzzy relations Operations on fuzzy relations.
Learning from Examples Adriano Cruz ©2004 NCE/UFRJ e IM/UFRJ.
Lecture 4 Fuzzy expert systems: Fuzzy logic
Fuzzy Logic and its Application to Web Caching
Clustering: Introduction Adriano Joaquim de O Cruz ©2002 NCE/UFRJ
Slides for Fuzzy Sets, Ch. 2 of Neuro-Fuzzy and Soft Computing J.-S. Roger Jang ( 張智星 ) CS Dept., Tsing Hua Univ., Taiwan
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
The Engineering Design of Systems: Models and Methods
Fuzzy Expert System Fuzzy Logic
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 SYSTEMS. Fuzzy Systems Fuzzy Sets – To quantify and reason about fuzzy or vague terms of natural language – Example: hot, cold temperature small,
Fuzzy Sets and Fuzzy Logic Theory and Applications
Fuzzy Sets and Fuzzification Michael J. Watts
Geometry of Fuzzy Sets.
Fuzzy Expert System.
Neuro-Fuzzy Control Adriano Joaquim de Oliveira Cruz NCE/UFRJ
PART 1 From classical sets to fuzzy sets 1. Introduction 2. Crisp sets: an overview 3. Fuzzy sets: basic types 4. Fuzzy sets: basic concepts FUZZY SETS.
Sets 1.
Sets 1.
Linguistic Descriptions Adriano Joaquim de Oliveira Cruz NCE e IM/UFRJ © 2003.
Theory and Applications
Operations on Fuzzy Sets One should not increase, beyond what is necessary, the number of entities required to explain anything. Occam's Razor Adriano.
09th October 2006 Dr Bogdan L. Vrusias
Mathematics.
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 Sets Introduction/Overview Material for these slides obtained from: Modern Information Retrieval by Ricardo Baeza-Yates and Berthier Ribeiro-Neto.
Classical Sets and Fuzzy Sets
Fuzzy Logic. Lecture Outline Fuzzy Systems Fuzzy Sets Membership Functions Fuzzy Operators Fuzzy Set Characteristics Fuzziness and Probability.
General (point-set) topology Jundong Liu Ohio Univ.
Set, Combinatorics, Probability & Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Set,
Algebra Sets of Numbers
1 Asst. Prof. Dr. Sukanya Pongsuparb Dr. Srisupa Palakvangsa Na Ayudhya Dr. Benjarath Pupacdi SCCS451 Artificial Intelligence Week 9.
Ch. 2 of Neuro-Fuzzy and Soft Computing. Fuzzy Sets: Outline Introduction Basic definitions and terminology Set-theoretic operations MF formulation and.
Copyright © 2014 Curt Hill Sets Introduction to Set Theory.
Logical Systems and Knowledge Representation Fuzzy Logical Systems 1.
CompSci 102 Discrete Math for Computer Science
Chapter SETS DEFINITION OF SET METHODS FOR SPECIFYING SET SUBSETS VENN DIAGRAM SET IDENTITIES SET OPERATIONS.
Topic 2 Fuzzy Logic Control. Ming-Feng Yeh2-2 Outlines Basic concepts of fuzzy set theory Fuzzy relations Fuzzy logic control General Fuzzy System R.R.
Chapter 2 With Question/Answer Animations. Section 2.1.
Chapter 13 Fuzzy Logic 1. Handling Uncertainty Probability-based approach and Bayesian theory Certainty factor and evidential reasoning Fuzzy logic 2.
Fuzzy Expert System n Introduction n Fuzzy sets n Linguistic variables and hedges n Operations of fuzzy sets n Fuzzy rules n Summary.
Fuzzy Sets Neuro-Fuzzy and Soft Computing: Fuzzy Sets ...
Module #3 - Sets 3/2/2016(c) , Michael P. Frank 2. Sets and Set Operations.
Computational Intelligence Winter Term 2015/16 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.
Chapter 2 1. Chapter Summary Sets (This Slide) The Language of Sets - Sec 2.1 – Lecture 8 Set Operations and Set Identities - Sec 2.2 – Lecture 9 Functions.
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.
Dr. Ameria Eldosoky Discrete mathematics
Introduction to Fuzzy Logic and Fuzzy Systems
Set, Combinatorics, Probability & Number Theory
Chapter 1 Logic and Proofs Homework 2 Given the statement “A valid password is necessary for you to log on to the campus server.” Express the statement.
Computational Intelligence
Introduction to Fuzzy Logic
Intelligent Systems and Soft Computing
Financial Informatics –IX: Fuzzy Sets
Computational Intelligence
دوره‏ی ضمن خدمت کشوری ریاضی پایه‏ی نهم مرداد 1394.
Lecture Sets 2.2 Set Operations.
Classical Sets and Fuzzy Sets
Fuzzy Sets Neuro-Fuzzy and Soft Computing: Fuzzy Sets ...
Computational Intelligence
Introduction to Fuzzy Set Theory
© Negnevitsky, Pearson Education, Lecture 4 Fuzzy expert systems: Fuzzy logic Introduction, or what is fuzzy thinking? Introduction, or what is.
Presentation transcript:

Fuzzy Sets - Introduction If you only have a hammer, everything looks like a nail. Adriano Joaquim de Oliveira Cruz – NCE e IM, UFRJ

@2001 Adriano Cruz NCE e IM - UFRJFuzzy Sets Introduction 2 Summary Classical Sets Classical Sets and Membership Functions Classical Sets Operations Classical Set Properties Fuzzy Sets Membership Functions and Fuzzy Sets Fuzzy Sets Terminology

@2001 Adriano Cruz NCE e IM - UFRJ Crips Sets Universe of Discourse –It is the space where all set elements are defined –For instance: Human heights: 0 <= h <= 2.5m room temperatures: -70 o <=temp<=70 o

@2001 Adriano Cruz NCE e IM - UFRJ Classical Sets Membership Function –Defines whether a given element belongs to a set 1 0 1,70altura

@2001 Adriano Cruz NCE e IM - UFRJ Classical Sets/Problems Classical sets have problems when applied to a wide class of real problems. The difficult problem of defining the frontier between two sets (e.g. high/ not high) is called Sorites Paradox, due to the dialectic Eubulides from Miletus, opponent of Aristotle. The paradox is stated as follows: “Is one grain of sand a heap? Are two grains of sand a heap?...”

@2001 Adriano Cruz NCE e IM - UFRJ Truth Tables Which mathematical functions could be used to represent the union, intersection and complement?

@2001 Adriano Cruz NCE e IM - UFRJ Classical Sets Properties

@2001 Adriano Cruz NCE e IM - UFRJ Classical Sets Properties

@2001 Adriano Cruz NCE e IM - UFRJFuzzy Sets Introduction 9 The Laws of Aristotle “Everything must be or not be, either in the present or in the future.” The Union of a set to its complement yields the Universe. law of the excluded middle This is called the law of the excluded middle.

@2001 Adriano Cruz NCE e IM - UFRJ The Laws of Aristotle The intersection of a set and its complement is empty. law of non-contradiction This is called the law of non-contradiction.

@2001 Adriano Cruz NCE e IM - UFRJ And now for something completely different! Thanks to

@2001 Adriano Cruz NCE e IM - UFRJ Fuzzy Sets The membership function of elements in a fuzzy set A is characterised by that maps every element from the set X into a real number in the interval [0,1] ,70 altura 0.5 1,80

@2001 Adriano Cruz NCE e IM - UFRJ Fuzzy Sets - definition A fuzzy set can be represented by an ordered set of pairs: Universe of Discourse Fuzzy Set Membership function Value

@2001 Adriano Cruz NCE e IM - UFRJ Membership degree Membership degree Membership degree: an element belongs to a given set by a degree of certainty. Some elements are more representative of the set main idea than others. –Excellent students={(Pedro,0.8), (Ana,0.9), (Paulo,0.9), (Marta,1.0)} –Very high = {(Oscar,0.95), (Michael Jordan, 0.95), (Junior Baiano,0.8)}

@2001 Adriano Cruz NCE e IM - UFRJ Membership One element may belong partially to more than one set –children={Pedro, Ana, Paulo, Marta} –adolescents = {Pedro, Mateus, Joaquim} –children(Pedro)=0.2 –adolescents(Pedro)=0.8

@2001 Adriano Cruz NCE e IM - UFRJ It isn’t probability! Belonging to the set of high people with a membership degree of 0.25 indicates separation from the ideal definition of high people by A degree value of 0.25 does not mean that a person this high may be found with probability 0.25 in the universe of people.

@2001 Adriano Cruz NCE e IM - UFRJ It isn’t probability! A bottle full of an unknown liquid has 95% probability of being pure poison. Another full bottle of a very similar liquid belongs to the set of pure water to a degree of 0.95, which means 5% poison. This concentration of poison does not kill, however you will be very sick, may be a doctor will be required. If you know which bottle to choose, you understood the differences. If you know which bottle to choose, you understood the differences.

@2001 Adriano Cruz NCE e IM - UFRJ Fuzzy Sets Representation 1 Ordered Pairs Ordered Pairs: A fuzzy set may represented by a set ordered pairs The first element is the element itself and the second its membership degree in the set. João = 1.65 m; Ana = 1.70 m; Oscar= 1.80 m High = {(João, 0.25), (Ana,0.5), (Oscar,1.0)}

@2001 Adriano Cruz NCE e IM - UFRJ Fuzzy Sets Representation 2 Indicated as the union of all elements High = 0.25/João + 0.5/Ana + 1.0/Oscar

@2001 Adriano Cruz NCE e IM - UFRJ Fuzzy Sets Representation 3 Membership function Membership function: a fuzzy set may be represented by a function that maps its elements into real numbers in the interval [0,1].

@2001 Adriano Cruz NCE e IM - UFRJ Example of Membership Functions µ(x) Heights Medium heights 1.0

@2001 Adriano Cruz NCE e IM - UFRJ Unimodal Functions unimodal A function is unimodal if An unimodal function implies that whenever  (x)>  (y) for a given set A then x is closer to the ideal definition of A than y. bimodalunimodal

@2001 Adriano Cruz NCE e IM - UFRJ Singletons singleton A Function is a singleton whenever 1

@2001 Adriano Cruz NCE e IM - UFRJ Classical Set Function Classical set functions are used to define Classical sets. 1 x1 x2 x  (x)

@2001 Adriano Cruz NCE e IM - UFRJ Linear Functions Very simple fuzzy set. x  (x) x1

@2001 Adriano Cruz NCE e IM - UFRJ Triangular Functions Easy to implement, allowing representation of very complex fuzzy sets. May be generated from 3 real values. bac x  (x)

@2001 Adriano Cruz NCE e IM - UFRJ Triangular Functions May be generated from 3 real values.

@2001 Adriano Cruz NCE e IM - UFRJ Trapezoidal Functions Easy to implement, allowing representation of very complex fuzzy sets. May be generated from 4 real values. bc ad x  (x)

@2001 Adriano Cruz NCE e IM - UFRJ Trapezoidal Functions May be generated from 4 real values.

@2001 Adriano Cruz NCE e IM - UFRJ Sigmoid Function It is described by two parameters: the inflexion point (c), that is the point where the function is equal to 0.5 and a parameter that defines the shape.

@2001 Adriano Cruz NCE e IM - UFRJ Sigmoid Function

@2001 Adriano Cruz NCE e IM - UFRJ S Function It is described by three parameters: its 0 degree value (  ), its 1 degree value (  ) and the inflexion point (  ), that is the point where the function is equal to 0.5 ( .

@2001 Adriano Cruz NCE e IM - UFRJ S Function 0 1   

@2001 Adriano Cruz NCE e IM - UFRJ Beta Function It is defined by two parameters, the value where the function is equal to one (  ) and the inflexion (  ).

@2001 Adriano Cruz NCE e IM - UFRJ Beta Function

@2001 Adriano Cruz NCE e IM - UFRJ Support of fuzzy sets support of a fuzzy set The support of a fuzzy set A, defined in the universe of discourse X, is the classical set defined as

@2001 Adriano Cruz NCE e IM - UFRJ Empty Fuzzy Set empty A fuzzy set (A=Ø) is empty if its membership function is zero everywhere in its universe of discourse. empty fuzzysetempty support An empty fuzzy set has an empty support

@2001 Adriano Cruz NCE e IM - UFRJ Compact Support The support is compact when the set is smaller than the size of the universe of discourse. If the support were not compact then several rules would be activated at every input causing an increase in the system load. Non Compact SupportCompact Support

@2001 Adriano Cruz NCE e IM - UFRJ Alpha-Cuts Sets classical set A  called alpha-cut set The classical set A , called alpha-cut set, is the set of elements whose degree of membership in A is no less than  It is defined as: classical set A’  is called strong alpha- cut The classical set A’  is called strong alpha- cut set. It is defined as:

@2001 Adriano Cruz NCE e IM - UFRJ Alpha-cut Set

@2001 Adriano Cruz NCE e IM - UFRJ {5,10,20,…,80} Universe of Discourse (Ages): {5,10,20,…,80} {(15,0), (17, 0.2), (19, 0.4), (21,0.6), (23, 0.8), (25,1.0), (27, 0.8), (29, 0.6), (31,0.4), (33, 0.2), (35,0.0)} Young = {(15,0), (17, 0.2), (19, 0.4), (21,0.6), (23, 0.8), (25,1.0), (27, 0.8), (29, 0.6), (31,0.4), (33, 0.2), (35,0.0)} Young 0.2 = {17, 19, 21, 23, 25, 27, 29, 31, 33} Young’ 0.2 = {19, 21, 23, 25, 27, 29, 31} Example of Alpha-cuts

@2001 Adriano Cruz NCE e IM - UFRJ Alpha-cuts

@2001 Adriano Cruz NCE e IM - UFRJ Level Set The set of all levels alpha that represent distinct alpha-cuts of a given fuzzy set A is called a level set of A.

@2001 Adriano Cruz NCE e IM - UFRJ Resolution Principle The membership function of a fuzzy set A can be expressed in terms of its alpha cuts as (+ is union):

@2001 Adriano Cruz NCE e IM - UFRJ Cardinality The cardinality |A| of a fuzzy set A is defined as The relative cardinality of A is defined as

@2001 Adriano Cruz NCE e IM - UFRJ Cardinality - Example Consider the set A = {(6.5, 0.25), (7,0.5), (7.5,0.75), (8,1), (8.5,0.75),(9,0.5), (9.5,0.75)} defined in the universe of grades from 0 to 10 in 0.5 steps. The cardinality of A is So the relative cardinality of A is

@2001 Adriano Cruz NCE e IM - UFRJ Cardinality - cont When the fuzzy set is continuous the cardinality is defined as

@2001 Adriano Cruz NCE e IM - UFRJ Fuzzy Cardinality When a fuzzy set A has a finite support, its fuzzy cardinality |Ã| is a fuzzy set (fuzzy number) defined on N whose membership function is defined by

@2001 Adriano Cruz NCE e IM - UFRJ Fuzzy Cardinality Example Young = {(15,0), (17, 0.2), (19, 0.4), (21,0.6), (23, 0.8), (25,1.0), (27, 0.8), (29, 0.6), (31,0.4), (33, 0.2), (35,0.0)}  young = {0.2, 0.4, 0.6, 0.8, 1.0} Young 0.2 = {17, 19, 21, 23, 25, 27, 29, 31, 33} |Young 0.2 | = 9 Young 0.4 = {19, 21, 23, 25, 27, 29, 31} |Young 0.4 | = 7

@2001 Adriano Cruz NCE e IM - UFRJ Fuzzy Cardinality Example Young = {(15,0), (17, 0.2), (19, 0.4), (21,0.6), (23, 0.8), (25,1.0), (27, 0.8), (29, 0.6), (31,0.4), (33, 0.2), (35,0.0)}

@2001 Adriano Cruz NCE e IM - UFRJ Height of a fuzzy set heighthighest membership The height of a fuzzy set is the highest membership value of its membership function A fuzzy set is defined as normal when H A =1 and subnormal when it is not.

@2001 Adriano Cruz NCE e IM - UFRJ Fuzzy Subsets If the membership grade of each element of the fuzzy set A is less than or equal its membership grade in fuzzy set B, then A is called a subset of B.

@2001 Adriano Cruz NCE e IM - UFRJ Equal Fuzzy Sets If the membership grade of each element of the fuzzy set A is equal its membership grade in fuzzy set B, then A is equal to B.

@2001 Adriano Cruz NCE e IM - UFRJ Distance Measures the distance that a value is from the ideal definition of the set. It is defined as

@2001 Adriano Cruz NCE e IM - UFRJ Distance 0 1 Set  A (x) Distance d(A,x)

@2001 Adriano Cruz NCE e IM - UFRJ Examples of Fuzzy Sets

@2001 Adriano Cruz NCE e IM - UFRJ Examples of Fuzzy Sets