Fuzzy Sets, Fuzzy Logic, Fuzzy Inference
Boolean Logic
Fuzzy logic
- degrees of membership
- degrees of truth
set of mathematical principles of knowledge representation based on degrees of membership rather than on crisp membership of classic binary logic
Multivalued Logic
Fuzzy logic adds a range of logical values to Boolean logic
principle of dichotomy = Classical set theory imposes 0 and 1
characteristic function of A → crisp set
membership function of set A → fuzzy set
| 1, | if x ∈ A |
| 0, | if x ∉ A |
continuum of possible choices
sigmoid/ gaussian/ foi
functions can increase computation. Hence, linear fit functions are used.
At the root of fuzzy set theory → linguistic variables
Linguistic variables → Fuzzy variable
John is tall implies var(john) takes val(tall)
Hedges → fuzzy set qualifiers
↳ acts as operations
Fuzzy rules → conditional statements in the form
↳ relates to Fuzzy sets
where x, y → linguistic variables
and A, B are linguistic values
Fuzzy Reasoning
- evaluating antecedent → IF part (Antecedent)
- applying result to consequent → THEN part (Consequent)
Antecedent vs Consequent:
In classical rule based; IF antecedent is True then consequent is also True.
In Fuzzy rule systems, all rules fire to some extent; Antecedent true to some degree of membership then consequent also true to same degree.
monotonic selection
value of output/ truth membership grade of consequent can be estimated directly from corresponding truth membership grade in antecedent
Examples of multiple Antecedents
AND project staffing is Large
AND project funding is Inadequate
THEN risk is High
AND food is delicious
THEN tip is generous
Examples of multiple Consequents
THEN
cold water is more
all antecedents are affected equally by consequents
Fuzzy Inference →
- process of mapping
- from given input to an output
- using theory of fuzzy sets.
Mamdani Style Inference → most common fuzzy inference
4-step process
- input variables (fuzzification)
- rule evaluation
- aggregation of rule outputs
- defuzzification