Beruflich Dokumente
Kultur Dokumente
ML(25) = MM(25) = 0
5/6 1/6
ML(40 ML(z) ML(z) 0
)
MM(4 ML(z) MMO(z) 0
0)
0 0 0 0
There are four active rules 1, 2, 4, 5 here and their strength (the and
part) is calculated as follows:
A11 = ML(40) ^ ML(25) = min( 1/3, 5/6) = 1/3,
A12 = ML(40) ^ MM(25) = min(1/3, 1/6) = 1/6,
A21 = MM(40) ^ ML(25) = min(2/3, 5/6) = 2/3,
A22 = MM(40) ^ MM(25) = min(2/3, 1/6) = 1/6,
(5.
14)
For the control outputs (CO) of the rules we obtain:
CO of rule 1: A11 ^ ML(z) = min(1/3, ML(z)),
CO of rule 2: A12 ^ ML(z) = min(1/6, ML(z)),
CO of rule 3: A21 ^ ML(z) = min(2/3, ML(z)),
CO of rule 4: A22 ^ MMO(z) = min(1/6, MMO(z)),
(5.
15)
which is equivalent to performing operation min on the corresponding
cells in Table 5.7 and Table 5.6. The result concerning only the active
cells is given in Table 5.8.
Table 5.8. Control outputs for the client financial risk tolerance model
… … … …
… 1/3 ^ 1/6 ^ …
ML(z) ML(z)
… 2/3 ^ 1/6 ^ …
ML(z) MMO(z)
… … … …
The procedure for
obtaining Table 5.8 can be summarized on the scheme in Fig. 5.9
which consists of 12 triangular and trapezoidal fuzzy numbers located
in 4 rows and 3 columns.
The min operations in (5.14) between the fuzzy inputs located in the
first two columns (Fig. 5.9) produce correspondingly the strength of the
rules 1/3, 1/6, 2/3, 1/6 which give the level of firing shown by dashed
horizontal arrows in the second column in the direction to the triangles
and trapezoidals in the third column.
The min operations in (5.15) result in the sliced triangular and
trapezoidal numbers by the arrows (Fig. 5.9) thus producing the
trapezoids T1, T2, T3 and T4.
To aggregate the control outputs (5.15) presented also on Table 5.8,
we have to superimpose trapezoids on top of one another in the same
coordinate system (z, M). However, the outputs of rule 1 and rule 2
are included in the output of rule 3 which has the largest strength 2/3.
This is shown in Fig. 5.9; the trapezoids T1 and T2 are contained in T3.
Hence we may only consider aggregation of rule 3 and rule 4.
The aggregated output
Magg(z) = max{min(2/3, ML(z)), min(1/6, MMO(z))}
(5.16)
1.4. Defuzzification
Let us defuzzify the aggregated output by using three methods. First,
we express analytically the aggregated control output with
membership function Magg(z). It consists of the four segments P1P2,
P2Q, QQ2 and Q2Q3 located on the straight lines M = 2/3, M = (50-
z)/30, M = 1/6 and M = (80-z)/30, correspondingly. Solving
together the appropriate equations gives the projections of P2, Q, Q2
on z axis, namely 30, 45, 75 (Fig. 5.12). They are used to specify the
domains of the segments forming Magg(z). Hence
Fig 5.12 Defuzziffication: client financial risk tolerance model.
Center of area method
It is convenient to subdivide the interval [0, 80] (Fig. 5.12) into eight
equal parts each with length 10.
The substitution of zk = 10, 20,…, 70 into Magg(z) gives
zk 10 20 30 40 50 60 70
Magg( 2/ 2/ 2/ 1/ 1/ 1/ 1/
zk) 3 3 3 3 6 6 6