Professional Documents
Culture Documents
5주차 - chapter 4 5
5주차 - chapter 4 5
Relation
• Let U and V be two arbitrary classical (nonfuzzy, crisp) sets.
𝑄 ⊂ 𝑄𝑖𝐸
• where 𝑄𝑖𝐸 is the cylindric extension of 𝑄𝑖 to 𝑈1 × ⋯ × 𝑈𝑛 .
𝑄 ⊂ 𝑄𝑖𝐸 ∩ ⋯ ∩ 𝑄𝑛𝐸 = 𝑄1 × ⋯ × 𝑄𝑛
𝑉
𝐵𝑜𝑠𝑡𝑜𝑛 𝐻𝐾 𝑊
0.3 0.9 𝑁𝑌𝐶 𝐵𝑒𝑖𝑗𝑖𝑛𝑔
SF
𝐻𝐾 𝐵𝑜𝑠𝑡𝑜𝑛 0.3 0.9
1 0 𝑉
𝑈 𝑇𝑜𝑘𝑦𝑜 0.95 0.1 𝐻𝐾 0.1 0.9
• The final 𝑃 ∘ 𝑄 is
• Example 5.1
The speed of a car is a variable x that takes values in the interval [0, Vmax]
Vmax is the maximum speed of the car
1. slow
2. medium
3. fast
Figure 5.1 : The speed of a car as a linguistic variable that can take fuzzy sets “slow”, “medium” and
“fast” as its values
Example 5.1
𝑋 : speed of the car 𝑇 : {slow, medium, fast}
𝑈 : [0, Vmax]
𝑀 : relates "slow," "medium," and "fast" with the membership
functions shown in Fig. 5.1.
Chap. 5 Linguistic variables and fuzzy IF-THEN rules 28
From numerical variables to linguistic
variables
𝐰𝐡𝐲 𝐢𝐬 𝐭𝐡𝐞 𝐜𝐨𝐧𝐜𝐞𝐩𝐭 𝐨𝐟 𝐥𝐢𝐧𝐠𝐮𝐢𝐬𝐭𝐢𝐜 𝐯𝐚𝐫𝐢𝐚𝐛𝐥𝐞 𝐢𝐦𝐩𝐨𝐫𝐭𝐚𝐧𝐭?
Because linguistic variables are the most fundamental elements in human
knowledge representation When we use sensors to measure a variable,
they give us numbers; when we ask human experts to evaluate a variable,
they give us words.
In our daily life, we often use more than one word to describe a variable
if we view the speed of a car as a linguistic variable, then its values might
be "not slow," "very slow," "slightly fast," "more or less medium“
the value of a linguistic variable is a composite term x = ~x1,x2 . . .xn, that
is a concatenation of atomic terms x1,x2, …, xn. These atomic terms may
be classified into three groups:
• Primary terms, which are labels of fuzzy sets; in Example 5.1, they are
“slow," "medium," and "fast."
Definition 5.3
𝜇𝑣𝑒𝑟𝑦 𝐴 𝑥 = 𝜇𝐴 𝑥 2
• Example 5.2
– Let 𝑈 = { 1, 2, … , 5} and the fuzzy set 𝑠𝑚𝑎𝑙𝑙 be defined as
− 𝑥 𝑖𝑠 𝑆 − 𝑥 𝑖𝑠 𝑆 𝑜𝑟 𝑥 is not 𝑀
− 𝑥 𝑖𝑠 𝑀 − 𝑥 𝑖𝑠 not 𝑆 𝑎𝑛𝑑 𝑥 𝑖𝑠 not 𝐹
− 𝑥 𝑖𝑠 𝐹 − 𝑥 𝑖𝑠 𝑆 𝑎𝑛𝑑 𝑥 𝑖𝑠 not 𝐹 𝑜𝑟 𝑥 𝑖𝑠 𝑀
Fuzzy set – S : slow M : medium F : fast
• Example 5.3
FP = 𝑥 𝑖𝑠 𝑆 𝑎𝑛𝑑 𝑦 𝑖𝑠 𝑛𝑜𝑡 𝐹 𝑜𝑟 𝑥 𝑖𝑠 𝑀
is a fuzzy relation in the product space [0, 𝑉𝑚𝑎𝑥 ]3 with the
membership function
→ 𝜇𝐹𝑃 𝑥1 , 𝑦2 , 𝑧3 = 𝑠 𝑡 𝜇𝑠 𝑥1 , 𝑐 𝜇𝐹 𝑦2 , 𝜇𝑀 𝑥3
𝑝 → 𝑞 ⇔ 𝑝ҧ ∨ 𝑞 ⇔ (𝑝 ∧ 𝑞) ∨ 𝑝ҧ
In the following, we rewrite (5.7) as IF < FPl > THEN < FP2 > and
replace the p and q in (5.21) and (5.22) by FPl and FP2,
respectively, where FPl and FP2 are fuzzy propositions. We assume
that FPl is a fuzzy relation defined in U =𝑈1 × 𝑈2 ×…𝑈𝑛 , FP2 is a
fuzzy relation defined in V =𝑉1 × 𝑉2 ×…𝑉𝑚 , and x and y are
linguistic variables (vectors) in U and V, respectively.
If we use the Yager s-norm (3.10) with w = 1 for the V and basic
fuzzy complement (3.1) for the-in (5.21), we obtain the Lukasiewicz
implication
• should be interpreted as
• Mamdani Implications
– IF <FP1> THEN <FP2> ELSE < NOTHING>
𝑝 ⟶𝑞 =𝑝∧𝑞
• Example 5.4.
• Let x1 be the speed of a car, x2 be the acceleration, and
y be the force applied to the accelerator. Consider the
following fuzzy IF-THEN rule
• Example 5.4.
and "large" is a fuzzy set in the domain of force applied to the
accelerator with the membership function
• Example 5.4.
• Example 5.4.
If we use the Dienes-Rescher implication then the fuzzy IF-
THEN rule is interpreted as a fuzzy relation QD(x1,x2, y)
From we have
• Example 5.4.
• Example
• From Example 5.4 we see that if the membership
functions in the atomic fuzzy propositions are not smooth
functions the computation of the final membership
functions 𝜇 𝑄𝐷, 𝜇Qz, etc., is cumbersome, although it is
straightforward. A way to resolve this complexity is to
use a single smooth function to approximate the
nonsmooth functions; see the following example. 5.4.
• Example 5.5
• If we use the Lukasiewicz implication, the rule becomes
and
• Example 5.5
• Finally, if we use the Mamdani implication then the fuzzy
IF- THEN rule becomes
• and
Exercise 5.4. Use basic fuzzy operators (3.1, 3.2, 3.3) for "not,"
"or," and "and," respectively, and determine the membership
functions for the fuzzy propositions (5.12, 5.13). Plot these
membership functions
Exercise 5.5. Consider the fuzzy IF-THEN rule (5.33) with the
fuzzy sets "slow" "small" and "large" defined by (5.42, 43, 44)
respectively. Use min for the t-norm (5.16) and compute the fuzzy
relations QD, QL, Qz, QG, QMM and QMP.