Escolar Documentos
Profissional Documentos
Cultura Documentos
0
1,70 altura
@2001 Adriano Cruz NCE e IM - UFRJ @2001 Adriano Cruz NCE e IM - UFRJ
1
Classical Sets Properties Classical Sets Properties
Involution A = A Idempotência A∪ A = A
Comutatividade A ∪ B = B ∪ A A∩ A = A
A∩ B = B ∩ A Identidade A∪∅ = A
Associatividade A ∪ ( B ∪ C ) = ( A ∪ B) ∪ C A∩∅ = ∅
A ∩ ( B ∩ C ) = ( A ∩ B) ∩ C A∪ X = X
Distributividade A ∪ (B ∩ C ) = ( A ∪ B) ∩ ( A ∪ C ) A∩ X = A
A ∩ (B ∪ C ) = ( A ∩ B) ∪ ( A ∩ C ) De Morgan A∩ B = A∪ B
A∪ B = A∩ B
@2001 Adriano Cruz NCE e IM - UFRJ @2001 Adriano Cruz NCE e IM - UFRJ
“Everything must be or not be, either in the The intersection of a set and its complement
present or in the future.” is empty.
The Union of a set to its complement yields
the Universe. A∩ A = ∅
A∪ A = X
This is called the law of non-
non-contradiction.
contradiction
@2001 Adriano Cruz NCE e IM - UFRJ Fuzzy Sets Introduction 9 @2001 Adriano Cruz NCE e IM - UFRJ
2
Membership degree Membership
Membership degree:
degree an element belongs to a One element may belong partially to more
given set by a degree of certainty. than one set
Some elements are more representative of – children={Pedro, Ana, Paulo, Marta}
the set main idea than others. – adolescents = {Pedro, Mateus, Joaquim}
– Excellent students={(Pedro,0.8), (Ana,0.9),
(Paulo,0.9), (Marta,1.0)} – children(Pedro)=0.2
– Very high = {(Oscar,0.95), (Michael – adolescents(Pedro)=0.8
Jordan, 0.95), (Junior Baiano,0.8)}
@2001 Adriano Cruz NCE e IM - UFRJ @2001 Adriano Cruz NCE e IM - UFRJ
Ordered Pairs:
Pairs A fuzzy set may represented Indicated as the union of all elements
by a set ordered pairs
The first element is the element itself and the
second its membership degree in the set.
A = ∑ µ A ( xi ) / xi
xi∈A
João = 1.65 m; Ana = 1.70 m; Oscar= 1.80 m
High = 0.25/João + 0.5/Ana + 1.0/Oscar
High = {(João, 0.25), (Ana,0.5), (Oscar,1.0)}
@2001 Adriano Cruz NCE e IM - UFRJ @2001 Adriano Cruz NCE e IM - UFRJ
3
Fuzzy Sets Representation 3 Example of Membership Functions
Membership function:
function a fuzzy set may be
represented by a function that maps its elements
into real numbers in the interval [0,1].
µ(x)
1.0
0 altura ≤ 1.5
5 × altura − 7.5 Medium heights
1.5 ≤ altura ≤ 1.7
µ media (altura) =
− 5 × altura − 9.5 1.7 < altura < 1.9
0 altura ≥ 1.9
1.5 1.7 1.9 Heights
@2001 Adriano Cruz NCE e IM - UFRJ @2001 Adriano Cruz NCE e IM - UFRJ
unimodal bimodal
@2001 Adriano Cruz NCE e IM - UFRJ @2001 Adriano Cruz NCE e IM - UFRJ
x1 x2 x
x1 x
@2001 Adriano Cruz NCE e IM - UFRJ @2001 Adriano Cruz NCE e IM - UFRJ
4
Triangular Functions Triangular Functions
Easy to implement, allowing representation of
May be generated from 3 real values.
very complex fuzzy sets.
May be generated from 3 real values.
0 x<a
( x − a ) /(b − a ) a ≤ x ≤ b
µ(x)
tri ( x; a, b, c) =
(c − x) /(c − b) b ≤ x ≤ c
0 x>c
a b c x
@2001 Adriano Cruz NCE e IM - UFRJ @2001 Adriano Cruz NCE e IM - UFRJ
Sig ( x; a, c) =
1
−a ( x −c )
1 + e
@2001 Adriano Cruz NCE e IM - UFRJ @2001 Adriano Cruz NCE e IM - UFRJ
5
S Function 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
1
equal to 0.5 (β=(α +γ)/2).
0 x ≤α
x −α
2
2× α <x≤β
γ −α
S ( x, α , β , γ ) =
1 − 2 × x − α β < x ≤ γ
2
γ −α
0
1 x>γ α β γ
@2001 Adriano Cruz NCE e IM - UFRJ @2001 Adriano Cruz NCE e IM - UFRJ
0.7
0.6
1
B ( x, γ , β ) = 0.5
x −γ
2
0.4
1+
β
0.3
0.2
0.1
0
0 1 2 3 4 5 6 7 8 9 10
@2001 Adriano Cruz NCE e IM - UFRJ @2001 Adriano Cruz NCE e IM - UFRJ
A = ∅ if µ A ( x) = 0, ∀x ∈ X
S A = {x ∈ X | µ A ( x) > 0}
An empty fuzzy set has an empty
support
@2001 Adriano Cruz NCE e IM - UFRJ @2001 Adriano Cruz NCE e IM - UFRJ
6
Compact Support Alpha-Cuts Sets
The support is compact when the set is smaller The classical set Aα, called alpha-
alpha-cut set,
set is
than the size of the universe of discourse. the set of elements whose degree of
membership in A is no less than α. It is defined
If the support were not compact then several as:
Aα = {x ∈ X | µ A ( x) ≥ α }
rules would be activated at every input causing
an increase in the system load.
Young0.2 = {17, 19, 21, 23, 25, 27, 29, 31, 33}
Λ A = {α | µ A ( x) = α for some x ∈ X }
Ex.
Λ young = {0.2, 0.4 ,0.6, 0.8,1.0}
@2001 Adriano Cruz NCE e IM - UFRJ @2001 Adriano Cruz NCE e IM - UFRJ
7
Resolution Principle Cardinality
The membership function of a fuzzy set The cardinality |A| of a fuzzy set A is
A can be expressed in terms of its defined as
alpha cuts as (+ is union):
| A |= ∑ µ ( x )
Λ = {α 0 , α1 ,K,α n } x∈ X
@2001 Adriano Cruz NCE e IM - UFRJ @2001 Adriano Cruz NCE e IM - UFRJ
@2001 Adriano Cruz NCE e IM - UFRJ @2001 Adriano Cruz NCE e IM - UFRJ
8
Height of a fuzzy set Fuzzy Subsets
The height of a fuzzy set is the highest If the membership grade of each
membership value of its membership element of the fuzzy set A is less than
function or equal its membership grade in fuzzy
set B, then A is called a subset of B.
H A = max x∈X {µ A ( x)}
A ⊆ B if µ A ( x) ≤ µ B ( x ) ∀x ∈ X
A fuzzy set is defined as normal when
HA=1 and subnormal when it is not.
@2001 Adriano Cruz NCE e IM - UFRJ @2001 Adriano Cruz NCE e IM - UFRJ
@2001 Adriano Cruz NCE e IM - UFRJ @2001 Adriano Cruz NCE e IM - UFRJ
Distance d(A,x)
1
Set µA(x)
@2001 Adriano Cruz NCE e IM - UFRJ @2001 Adriano Cruz NCE e IM - UFRJ
9
Examples of Fuzzy Sets Examples of Fuzzy Sets
@2001 Adriano Cruz NCE e IM - UFRJ @2001 Adriano Cruz NCE e IM - UFRJ
@2001 Adriano Cruz NCE e IM - UFRJ @2001 Adriano Cruz NCE e IM - UFRJ
10