Sunteți pe pagina 1din 15

• Fuzzy Set

• Boolean v/ s Fuzzy
• Fuzzy Rules
What is Fuzzy Logic?
• Fuzzy logic is a superset of conventional
(Boolean) logic that has been extended to
handle the concept of partial truth --
truth values between "completely true"
and "completely false". It was introduced
by Dr. Lotfi Zadeh of UC/Berkeley in the
1960's as a means to model the
uncertainty of natural language
Classical/Crisp Sets
• A classical set is a container that wholly
includes or wholly excludes any given
element

Monkeys Monday

Wednesday Fish

Computers Friday

Days of the week


Fuzzy Sets
• Weekend

Thursday
Monkeys Saturday

Tuesday Fish
Friday
Computers Sunday
Monday

Days of the weekend


Weekend
Weekend [continuous values]
Seasons
Boolean vs Fuzzy

Strictly 0 or 1 output Output varies between 0 and 1


Boolean v/s Fuzzy
height height
1.0 Tall (1.0) 1.0 Quite Tall (0.8)
Degree of Degree of
tallness 0.0 Not Tall (0.0) tallness 0.0 Not Very Tall (0.2)
Logical Operators for
Fuzzy
Tall and Short

Membership value
[0-1]

Height
[0-7feet]
Tall Short Tall AND Short
(Medium)
Fuzzy Rules
• If x is A then y is B
premise or conclusion or
antecedent consequent

• If hotel service is good then tip is average


• If Speed is slow Then make the acceleration
high
• If Temperature is low AND Pressure is
medium Then make the speed very slow
Fuzzy Rules…
• Antecedents can have multiple parts
– If wind is mild and racquets are good then
playing badminton is fun
– In this case all parts of the antecedent are
resolved simultaneously and resolved to a
single number using logical operators
Fuzzy Rules…
• The consequent can have multiple parts
as well
– if temperature is cold then hot water valve is
open and cold water valve is shut
• All consequents are affected equally by
the result of the antecedent
Applications of Fuzzy
Systems
• Self-focusing cameras
• Washing machines that adjust themselves
according to how dirty the clothes are
• Automobile engine controls
• Anti-lock braking systems
• Color film developing systems
• Subway control systems
• Computer programs trading successfully in
the financial markets

S-ar putea să vă placă și