Fuzzy Basic
Fuzzy Basic
Fuzzy Basic
Introduction
• Introduced in 1965 by Lofti A. Zadeh, a professor in the University of
California, Berkeley
• Got accepted as emerging technology since 1980s
• Dictionary meaning of fuzzy is not clear, noisy etc.
• Antonym of fuzzy is crisp
• Having a fundamental trade-off between precision and cost which can be
called “principle of incompatibility”.
• Generalizes classical two valued logic for reasoning uncertainty.
• Helps us to tackle the uncertainty and vagueness associated with the
event.
• The factors influencing humans learning ability are:
– Generalization
– Association (memory mapping)
– Information loss (memory loss or forgetfulness).
• Undecidability
– Ambiguity that originates from the inability to distinguish between various states of an
event is termed as undecidability.
• Probability Theory versus Possibility Theory
– Possibility measures the degree of ease for a variable to take a value, while probability
measures the likelihood for a variable to take a value.
– So they deal with two different types of uncertainty.
– Possibility theory handles imprecision and probability theory handles likelihood of
occurrence.
– fuzzy set theory can define set membership as a possibility distribution.
– Also, fuzzy logic measures the degree to which an outcome belongs to an event while
probability measures the likely hood of event to occur.
Concept of Fuzzy System
Classical Sets and Fuzzy Set
• ‘Crisp set’ is a collection of distinct (precisely defined) elements. In
classical set theory, a crisp set can be a superset containing other crisp
sets.
• Fuzziness is a property of language. Its main source is the imprecision
involved in defining and using symbols.
• Representation of a Classical Set
– Classical set as already mentioned is a collection of objects of any kind. They can be
represented as list method, rule method and characteristic function method.
Method Examples
Idempotency
Commutativity
Associative Property
Distributive Property
Adsorption
De Morgan’s laws
Law of Contradiction
Some of the properties that are not valid for fuzzy sets but valid for crisp sets are
Natural Language and Fuzzy Interpretations
• A collection of these primary terms will form phrases, of our natural
language. Examples of some atomic terms are slow, medium, young,
beautiful, angry, cold, temperature etc.
• The collection of atomic terms can form compound terms. Examples of
compound terms are very cold, medium speed, young lady, fairly beautiful
picture, etc .
Linguistic Modifiers
Primary Terms with
Modification Membership Function
Modifiers
Very
Very very
More or less
Slightly
Plus
Minus
Over
Under
Indeed
Linguistic Modifiers
• Fuzzy Concentration
– Concentrations tend to concentrate or reduces the fuzziness of the elements in a fuzzy
set by reducing the degree of membership of all elements that are only ‘‘partly’’ in the
set.
• Fuzzy Dilation
– Dilation tend to dilate or increase the fuzziness of the elements in a fuzzy set by
increasing the degree of membership of all elements that are only ‘‘partly’’ in the set.
• Fuzzy Intensification:
– This property of the linguistic modifier is found to have a property which is a
combination of both fuzzy concentration and fuzzy intensification.
Logical Operations using Linguistic
Modifiers
• It is possible to perform logical operations using the linguistic modifiers,
however the order of precedence need to be followed to avoid confusion.
This problem can be resolved by properly using the parentheses by the
rule that use “association to the right”.
• The precedence of operation should be “NOT” in the First, “AND” in the
second and “OR” in the third.
• For example, if we have a compound terms “plus very minus very low”,
then following the rule “association to the right” while using the
parentheses we get “Plus (very (minus (very (low))))”.
Structure of Fuzzy Inference System
Fuzzification
• The process of converting the crisp values to fuzzy variable is called
‘fuzzification’.
Fuzzy Connectives
• The linguistic variables are combined by various connectives such as
negation, disjunction, conjunction and implication etc
- Negation
Disjunction
Conjunction
Implication
Output of a fuzzy System
Output of a fuzzy System
Output fuzzy set : Illustration
Output fuzzy set : Illustration
Output fuzzy set : Illustration
Defuzzification
• Defuzzification is the process of converting the fuzzy set into a crisp value.
– Max-membership (Height method)
– Centre of Area (COA) or Center of Gravity or Centroid Method
– Weighted Average Method
– Mean of Maxima (Middle of maxima)
– Centre of Sums
– Centre of Largest Area (COLA)
– First of Maxima
– Last of Maxima
Max-membership (Height method)
1.
Peak
0 point
0.
9
0.
8
0.
7
0.
6
0.
5
0.
4
0.
3
0.
2
0.
1
0
Centre of Area (COA) Defuzzification
1.
0
0.
9
0.
8
0.
7
0.
6
0.
5
0.
4
0.
3
0.
2
0.
1
0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Weighted Average Method
0.9
0.8
0.7
0.6
0.5
(e) Centre of Sums (COS)
0.4
0.3
0.2
0.1
0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
MoM : Example 1
MoM : Example 2
COS Example
(f) Centre of Largest Area (COLA)
(g) First of Maxima
1.
C2
0 C1
0.
9
0.
8
0.
7
0. (h) Last of Maxima
Cm = C 1
6
0.
5
0.
4
0.
3
0.
2
0.
1
0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
u*= 4.06
Find the crisp value using first of maxima
Find the crisp value using last of maxima
Thanks