Sistem Pakar - 10 - Fuzzy Logic

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 12

Fuzzy Logic

Yunda Heningtyas, S.Kom., M.Kom.


Rahman Taufik, S.Pd., M.Kom.
LOGIC
• If you are hungry then...
• If you are hungry, but you have an important task to
complete, then...
• If the cloud is cloudy, will it rain or not?
• Traditional Logic vs Fuzzy Logic
• The Implementation
• Fuzzy Set
FUZZY LOGIC • Membership Function
• Fuzzy Set Operation
• Fuzzy Inference system
TRADITIONAL LOGIC VS. FUZZY LOGIC

Traditional Logic Fuzzy Logic


• Is it cold? • Is it cold?
⚬ yes, it is cold ⚬ Very Cold
⚬ No, it is not cold ⚬ Little
• 0/1 ⚬ Less Cold
⚬ x=0 / x=1 • 0~1
• crisp (e.g. either 0 or 1) ⚬ 0<=x<=1
• discrete • degrees of truth (e.g. between 0 and 1)
• certain,precise • continuity
• uncertainty,imprecise
Fuzzy Logic
• Fuzzy logic is based on the observation that people make decisions based on linguistic and imprecise value
• It is used to model logical reasoning where the truth of a statement is not binary, uncertainties, partial, or degree of
truth
• Fuzzy models or sets are mathematical means of representing vagueness and imprecise information
• Fuzzy logic has been applied to many fields, from control theory to artificial intelligence
IMPLEMENTATION OF FUZZY LOGIC
Automobile Industry
• Automobile companies use fuzzy logic systems in cars to prevent a collision
• Fuzzy logic regulates the braking system using input elements such as momentum, speed, and acceleration

Aviation Industry
• Aircrafts use this technique to maintain a certain level of altitude
• IF-THEN conditions are applied to ensure that the aircraft performs corrective measures if it is not within
the desired altitude

Domestic Application
• Fuzzy logic is used in various domestic applications such as air conditioners, televisions, vacuum cleaners,
and refrigerators

Artificial Intelligent
• Mimic the way human approach solving problems
• The underlying logic of neural networks is fuzzy
FUZZY SET
Fuzzy Variable
• Variables to be discussed in a fuzzy system
• e.g. speed, temperature, etc

Universal set (X)


• Membership space or universe of discourse
• The entire value, or the range of values allowed in operating the fuzzy variable
• e.g. speed: 0-100 cc

Fuzzy Set (x)


• A set that represents a certain state in fuzzy
• e.g. temperature: very hot, hot, cold, very cold or -30 degrees celcius, 10 degrees celcius, etc.

Membership function (μ(x))


• A function is used to determine a value called the degree of membership
• It used the graphical way of visualizing degree of membership of any value in given fuzzy set
• The value is mapped between 0 and 1
MEMBERSHIP FUNCTION

Linear Curve Sigmoid Curve

Triangle Curve
Trapesium Curve Bell Curve

https://www.youtube.com/watch?v=6szqrV9u9k8&list=LL&index=4&t=483s
FUZZY SET OPERATION

• Fuzzy set operations are required for the process of reasoning or inference
• Fuzzy set operations involve operations on degrees of membership
• The degree of membership of multiple fuzzy sets is called α-predicate

https://www.youtube.com/watch?v=6szqrV9u9k8&list=LL&index=4&t=483s
FUZZY INFERENCE SYSTEM

https://www.mdpi.com/2071-1050/7/9/12359
ASSIGNMENT
• Explain explain the formula for each membership function
• Please, give an example of working for one of the membership functions
Questions?

You might also like