Lecture 3: Fuzzy If-then & Fuzzy Reasoning

Fuzzy If-then rule

Fuzzy If-then rules basically encodes fuzzy relations.

If x is A, then y is B.

In A and B are linguistic values defined by fuzzy sets on universes of discourse X and Y. x is A => Antecedent / premise ; y is B => Consequence / conclusion

Fuzzy Reasoning (aka) Generalised Modus Ponens

Fuzzy If-then rule Fuzzy relation = Fuzzy set

Existing information are encoded as rules using the [[#Fuzzy If-then rule]] and is used to make real-time inference. But the question is how to decode the encoded information?

There are various methods for decoding, a few popular ones are shown below

1. Mamdani’s implication R=AB=A×B=X×YμA(x)μB(y)/(x,y)

2. Zadeh’s max-min implication R=AB=X×Y(1μA(x))μA(x)μB(y)/(x,y)

But for the course, only Mamdani’s interpretation is used for decoding. However, a more generalised form this decoding processes (inference process) is called compositional rule of inference. This is explained by the below image.

Single Rule With Single Antecedent

A rule signifies the existing encoded information (If x is A, then y is B). On the other hand, antecedent is the fact that is provided to be inferred (x is A).

In such cases,

μB(y)=μA(x)(AB)

μB(y)=x[μA(x)μA(x)μB(y)]

μB(y)=[x(μA(x)μA(x))]μB(y)

Degree of match or Degrees of compatibility

w=x(μA(x)μA(x))

w is the degree of match between the A and A

Single Rule With Multiple Antecedent

Rules: If x is A and y is B, then z is C

Antecedent: x is A and y is B

μC(z)=[x(μA(x)μA(x))][y(μB(y)μB(y))]μC(z)

W1=x(μA(x)μA(x))

W2=y(μB(y)μB(y))

Always check if the multiple antecedent are “and” or “or”. Based on the which the operator between the firing weights (Wi) need to be used.

Multiple Rules With Multiple Antecedent

Rules:

  1. A1×B1C1
  2. A2×B2C2

Antecedent:

  1. x is A and y is B

μC(z)=(A×B)(R1R2)

μC(z)=((A×B)R1)((A×B)R2)

Defuzzification

Centroid of Area (COA) or Centre of Gravity (COG)

Largest of Maximum (LOM)

Previous
Next