You are on page 1of 8

INTRODUCTION TO

ARTIFICIAL INTELLIGENCE
FOR IT & NON-IT PROFESSIONALS
FUZZY INFERENCE SYSTEM
FUZZY INFERENCE SYSTEM

• Fuzzy inference system (FIS) is the process of formulating the


mapping from a given input to an output using fuzzy logic
• This mapping then provides a basis from which decisions can be
made, or patterns discerned
FIVE PARTS OF THE FUZZY INFERENCE
PROCESS
1) Fuzzification of the input variables (fuzzified)
2) Application of fuzzy operator in the antecedent (premises)
3) Implication from antecedent to consequent
4) Aggregation of consequents across the rules
5) Defuzzification of output
CASE STUDY: DINNER FOR TWO

• Two people go for a dinner to a restaurant


• Our fuzzy system will help them decide the percentage of tip to be
given to the waiter (between 5% to 25% percent of the total bill)
CASE STUDY: DINNER FOR TWO
CASE STUDY: DINNER FOR TWO

• The system is based on three fuzzy rules:


• Rule1: If service is poor or food is rancid then tip is cheap
• Rule2: If service is good, then tip is average
• Rule3: If service is excellent or food is delicious then tip is generous
• Based on these rules and the input by the diners, the Fuzzy inference
system gives the final output using all the inference steps
1) FUZZIFY INPUTS

• Take the inputs and determine the degree to which they belong to
each of the appropriate fuzzy sets via membership functions
• Input is always a crisp numerical value limited to the universe of
discourse of the input variable
• fuzzy degree of membership in the qualifying linguistic set
• Fuzzification of the input amounts to either a table lookup or a function
evaluation.
1) FUZZIFY INPUTS

• Before the rules can be evaluated, the inputs must be fuzzified


according to each of these linguistic sets
• The diners rated the food as an 8, which, given our graphical
definition of delicious, corresponds to d = 0.7 for the "delicious"
membership function

You might also like