Documente Academic
Documente Profesional
Documente Cultură
Fuzzy Inference
Rule 1: IF x is A3 OR y is B1 THEN z is C1
Rule 2: IF x is A2 AND y is B2 THEN z is C2
Rule 3: IF x is A1 THEN z is C3
Where x, y and z are linguistic variables (project
funding, project staffing and risk)
A1, A2, A3 are linguistic values (inadequate, marginal,
adequate) determined by fuzzy sets on universe of
discourse X (project funding)
October 06
Fuzzy Logic
October 06
Fuzzy Inference
Fuzzification
Take the crisp inputs, x1 and y1 (funding and staffing)
and detemine the degree to which these inputs belong to
each of the appropriate sets.
Crisp input is alwayss numerical over the universe of
discourse.
The ranges of the universe can be determined by experts.
October 06
Fuzzification
A1
A3
0.7
0.5
0.2
0
October 06
B1
B1
0.1
x1
X
Fuzzy Logic
Crisp Input
y1
A2
Fuzzy Logic
Fuzzification
Fuzzy Inference
October 06
Fuzzy Logic
y1
Y
5
October 06
Fuzzy Logic
Fuzzification
Rule Evaluation
Fuzzy Logic
October 06
Rule Evaluation
Rule Evaluation
To evaluate disjunctions, use the OR fuzzy
operation, using the classical fuzzy operation
UNION
Fuzzy Logic
[(A), (B) ]
A(X) * B (X)
Fuzzy Logic
October 06
Rule Evaluation
10
Rule Evaluation
Rules again, using expert values.
Rule 1: if x is A3 (0.0) OR y is B1 (0.1) THEN z
is C1 (0.1)
Doctors differ
Do different evaluation mathods give
different answers.
Yes.
What to do?
October 06
Fuzzy Logic
Fuzzy Logic
11
October 06
Fuzzy Logic
12
Rule Evaluation
Rule Evaluation
Clipping
Fuzzy Logic
13
October 06
Rule Evaluation
Also called correlation product.
Better for preserving the shape of the fuzzy set.
The original membership function of the rule
consequent is adjusted by multiplying all its
membership degrees by the truth value of the
rule antecedent.
Very useful and loses less information.
Fuzzy Logic
15
October 06
Defuzzification
Fuzzy Logic
Expressed as:
COG =
( x ) xdx
( x ) dx
16
Defuzzification
Final step.
Fuzziness is useful for evaluation, but the final
output still has to be a crisp number.
October 06
14
Aggregation of outputs
Scaling
October 06
Fuzzy Logic
17
October 06
Fuzzy Logic
18
Defuzzification
Defuzzification
COG
COG =
(x) x
x =a
b
x =a
(x)
Fuzzy Logic
19
October 06
Fuzzy Logic
20