CSC483 ยท 2080 ยท 5 marks
What is fuzzy rule? How fuzzy reasoning is done in expert system?
What is fuzzy rule? How fuzzy reasoning is done in expert system? [5]
Quick answer
A fuzzy rule is an IF-THEN rule that uses fuzzy sets and linguistic variables instead of crisp (precise) values. It captures human-like reasoning by allowing partial truth values between 0 and 1.
Fuzzy Rule and Fuzzy Reasoning in Expert Systems
Fuzzy Rule
General Form:
IF <fuzzy antecedent> THEN <fuzzy consequent>
Example:
IF temperature is HIGH THEN fan speed is FAST
IF age is YOUNG AND income is HIGH THEN loan risk is LOW
Here, "HIGH", "FAST", "YOUNG", "LOW" are fuzzy linguistic terms defined by membership functions, not exact numbers.
Fuzzy Reasoning in Expert Systems
Fuzzy reasoning (also called approximate reasoning or fuzzy inference) is the process of drawing conclusions from fuzzy rules and fuzzy inputs. It is done through the following steps:
Step 1: Fuzzification
- Convert crisp (real-world) input values into fuzzy values using membership functions.
- Example: Temperature = 75ยฐC is mapped to membership degree:
ฮผ(HIGH) = 0.7,ฮผ(MEDIUM) = 0.3
Step 2: Rule Evaluation (Applying Fuzzy Rules)
- Each fuzzy rule in the knowledge base is evaluated.
- For rules with multiple antecedents:
- AND operation: take the minimum of membership values
- OR operation: take the maximum of membership values
- Example:
IF temperature is HIGH (0.7) AND pressure is LOW (0.4) THEN output membership = min(0.7, 0.4) = 0.4
Step 3: Aggregation
- Combine the outputs of all fired rules into a single fuzzy output set.
- Typically done using the maximum operator across all rule outputs.
Step 4: Defuzzification
- Convert the aggregated fuzzy output back into a single crisp value for action.
- Common method: Centroid (Center of Area) method $$z^* = \frac{\sum \mu(z) \cdot z}{\sum \mu(z)}$$
Role in Expert Systems
| Component | Role |
|---|---|
| Knowledge Base | Stores fuzzy IF-THEN rules |
| Inference Engine | Applies fuzzy reasoning (min/max operations) |
| Fuzzifier | Converts crisp inputs to fuzzy values |
| Defuzzifier | Converts fuzzy output to crisp decision |
Summary
Fuzzy reasoning allows expert systems to handle uncertainty and vagueness in real-world problems by using linguistic rules and partial truth values, making them more flexible and human-like compared to classical rule-based systems.
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.