Upload
duongxuyen
View
218
Download
0
Embed Size (px)
Citation preview
Fuzzy Sets and Systems
Lecture 5(Fuzzy Inference)
Bu- Ali Sina UniversityComputer Engineering Dep.
Spring 2010
Fuzzy inference rules
• Inference rules in classical logic � based on the various tautologies.• Inference rules can be generalized within the framework of fuzzy logic
– To facilitate approximate reasoning.
Here we describe generalizations for three classical inference rules:
• modus ponens,• modus tollens,• hypothetical syllogism.
Fuzzy Inference rule
For a given fuzzy relation R on X x Y, and a givenfuzzy set A’ on X, a fuzzy set B’ on Y can bederived for all y ɛ Y, so that
In matrix form, compositional rule of inference is
Fuzzy inference rulesThe fuzzy relation R is given by (one or more) conditionalfuzzy propositions.
For a given fuzzy proposition:
p : If X is A; then Y is B
Is determined for all x ɛ X and y ɛ Y by
where J stands for a fuzzy implication.
Generalized Modus ponens
Using relation R obtained from given proposition p (previous slide)and given another proposition q of the form
q : x is A'
we may conclude that y is B' by the compositional rule of inference.B’ is calculated by
This procedure is called a generalized modus ponens.
Generalized modus tollens,Another inference rule in fuzzy logic, which is a generalized
modus tollens, is expressed by the following schema:
the compositional rule of inference has the form
Generalization of hypothetical syllogism
The generalized hypothetical syllogism isexpressed by the following schema:
In this case, X , v , :Z are variables taking values in sets X, Y, Z,respectively, and A, B , C are fuzzy sets on sets X, Y, Z, respectively.In this case, x,y,z are variables taking values in sets X, Y, Z,respectively, and A, B , C are fuzzy sets on sets X, Y, Z, respectively.
For each conditional fuzzy proposition in (8.43), there is a fuzzy relation
Generalization of hypothetical syllogism,
Given R1, R2, R3, obtained by these equations, wesay that the generalized hypothetical syllogismholds if
This equation may also be written in the matrix form
Inference from conditional and qualified propositions
Given a conditional and qualified fuzzy proposition pof the form
where S is a fuzzy truth qualifier, and a fact is in the form "X is A'," wewant to make an inference in the form “y is B'."
method of truth-value restrictions, is based on a manipulation oflinguistic truth values. The method involves the following four steps.
Fuzzy Systems with Fuzzifier and Defuzzifier (Fuzzy inference)
RV⊂nn RUUU ⊂××= L1
Fuzzy Rule BaseFuzzy Rule Base
Fuzzy InferenceFuzzy InferenceEngineEngine
x in U y in V
FuzzifierFuzzifier DefuzzifierDefuzzifier
Fuzzy Sets in U Fuzzy Sets in V
Fuzzifiers (construction of fuzzy sets)With experts knowledge (Direct and indirect
methods)
– Direct methods: Experts give answers to questions thatexplicitly pertain to the constructed membership function.
– Indirect methods: Experts answer simpler questions, easier toanswer, which pertain to the constructed membership functiononly implicitly.
Direct method with one expert and multiple experts
An expert is expected to assign to each given element x ɛX a membership grade A(x) that, according to his or heropinion, best captures the meaning of the linguistic termrepresented by the fuzzy set A.
When a direct method is extended from one expert tomultiple experts, the opinions of individual experts mustbe appropriately aggregated. One of the most commonmethods is based on a probabilistic interpretation ofmembership functions.
Or where
Indirect methods with one and multiple experts
Let xl, x2, . . . , xn, be elements of the universal set X for whichwe want to estimate the grades of membership in A.our problem is to determine the values ai = A (x,) for all i ɛ N.Instead of asking the expert to estimate values ai directly, weask him or her to compare elements x1, x2, . . . , xn, in pairsaccording to their relative weights of belonging to A.
The pairwise comparisons is
And with simplication we have
Construction from sample dataLagrange interpolationLeast square curve fittingConstruction by neural networkConstruction by genetic algorithm
In each of the discussed methods, we assume thatn sample data:
Least square curve fittingin this method we chose f
where E is minimized:
One of the best choice isthe bell function:
Therefore the membershipfunction is:
Another choice is thetrapezoidal function:
Defuzzifiers� The defuzzifier is defined as a mapping from fuzzy
set B' in V R to crisp point y* V.� Conceptually, the task of the defuzzifier is to
specify a point in V that best represents the fuzzyset B'.
� This is similar to the mean value of a randomvariable. However, since the B' is constructed insome special ways, we have a number of choicesin determining this representing point.
⊂ ∈
Mean of maximum (MOM)Calculates the average of those output values
that have the highest possibility degrees