Fuzzy Rule Base and Approximate Reasoning
Fuzzy Rule Base and Approximate Reasoning
APPROXIMATE REASONING
FUZZY RULES AND REASONING
The degree of an element in a fuzzy set corresponds to the truth
value of a proposition in fuzzy logic systems.
• Fuzzy truth values
• Fuzzy propositions
• Rule based systems
• Formation of fuzzy rules
• Decomposition of fuzzy rules
• Aggregation of fuzzy rules
Different mode of reasoning
Truth values and Tables in Fuzzy logic
A linguistic variable is a fuzzy variable.
• The values of a linguistic variable are word or sentences in a
natural or artificial languages
Eg: tall, medium, short….
• The linguistic variable speed ranges between 0 and 300 km/h
and includes the fuzzy sets slow, very slow, fast, …
• Fuzzy sets define the linguistic values.
A linguistic characterized by
• name of the variable (x)
• term set of the variable t(x)
• Syntactic rule for generating the values of x
• Semantic rule for associating each value of x with its meaning
Hedges are qualifiers of a linguistic variable.
• All purpose: very, quite, extremely
• Probability: likely, unlikely
• Quantifiers: most, several, few
• Possibilities: almost impossible, quite possible
Reasoning
Reasoning has logic as its basis, whereas proposition are text
sentences expressed in any language
z is P
2. Disjunction (): X OR Y.
7
Fuzzy Proposition
• Fuzzy possibility qualification
Terms: possible, quite possible, almost impossible
The proposition that are usually true or the events that have high probability
of occurrence are related by the concept of usuality qualification.
8
FUZZY RULES
A fuzzy rule is defined as the conditional statement of the form
If x is A
THEN y is B
where x and y are linguistic variables and A and B are linguistic values
determined by fuzzy sets on the universes of discourse X and Y.
The decision-making process is based on rules with sentence
conjunctives AND, OR and ALSO.
Here the fuzzy classes height and weight have a given range (i.e., the
universe of discourse).
Assignment statements,
Conditional statements,
Unconditional statements.
Assignment Statements Unconditional Statements
Conditional Statements
DECOMPOSITION OF FUZZY RULES (Compound Rules)
15
DECOMPOSITION OF FUZZY RULES
16
DECOMPOSITION OF FUZZY RULES
CONDITIONAL STATEMENTS (WITH ELSE and UNLESS)
Statements of the kind
IF A1 THEN (B1 ELSE B2)
Can be decomposed into two simple canonical rule forms, connected by “OR”
(IF A1 THEN B1) OR (IF NOT A1 THEN B2)
NESTED_IF_THEN RULES
The Rule
IF A1 THEN [ IF A2 THEN B1]
can be written in the form
IF A1 AND A2 THEN B1
So, based upon all the rules above compound rules can be
decomposed into series of canonical simple rules
18
AGGREGATION OF FUZZY RULES
1. Categorical reasoning,
2. Qualitative reasoning,
3. Syllogistic reasoning,
4. Dispositional reasoning.
Categorical Reasoning
• In this mode of approximate reasoning, the antecedents,
containing no fuzzy quantifiers and fuzzy probabilities, are
assumed to be in canonical form.
Qualitative Reasoning
• In this mode of approximate reasoning, the antecedents and
consequents have fuzzy linguistic variables; the input-output
relationship of a system is expressed as a collection of fuzzy
IF-THEN rules. This reasoning is mainly used in control system
analysis.
23
Syllogistic Reasoning
• In this mode of approximation reasoning,
antecedents with fuzzy quantifiers are related to
inference rules. This is expressed as −
x = S1A′s are B′s
y = S2C′s are D′s
------------------------
z = S3E′s are F′s
Here A,B,C,D,E,F are fuzzy predicates.
S1 and S2 are given fuzzy quantifiers.
S3 is the fuzzy quantifier which has to be decided.
24
Dispositional Reasoning
• In this mode of approximation reasoning, the antecedents are
dispositions that may contain the fuzzy quantifier “usually”.
25
Example
If x is A Then Y is B
Example
Y
Problem
28
Problems
29
Problem
Consider U=V={0,1,2,3,4} be the universe of discourse on which
the fuzzy set
1 0.5 0.2 0.1 0.0
small = + + + + is defined. Again, Let R be the
0 1 2 3 4
fuzzy relation ‘more or less the same’ which is defined by the
relation matrix shown below
1 .5 .1 0 0
.5 1 .5 .1 0
.1 .5 1 .5 .1
0 .1 .5 1 . 5
0 0 .1 .5 1
If the premises and the rule are stated as
Premise: x is small
Rule : x is more or less the same as y
Then apply a suitable fuzzy rule of inference to obtain the
conclusion the express it suitable as a relation 30
Solution
The conclusion C is given by the fuzzy set obtained by the max-min composition of
the fuzzy set small and the relation R
1 .5 .1 0 0
.5 1 .5 .1 0
C= small ° R =[1 .5 .2 .1 0] ° .1 .5 1 .5 .1
0 .1 .5 1.5
0 0 .1 .5 1
𝜇(0)= max(min(1,1),min(.5,.5),min(.2,.1),min(.1,0),min(0,0)
= max(1,.5,.1,0,0]
=1
𝜇(1)=.5
𝜇(2)=.5
𝜇(3)=.2
𝜇(4) =.1
1 0.5 0.2 0.1 0.0
The conclusion is C = 0 + 1
+ 2
+ 3
+ 4
.
This can be fairly interpreted as ‘more or less small’. Hence the conclusion can be
stated as ‘y is more or less small’.
31