fuzzy Inferencghjfukfjjytujgvthrukj,gvjyue.ppt

h04324193 6 views 34 slides Jul 13, 2024
Slide 1
Slide 1 of 34
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34

About This Presentation

jgjgyjrukjvhmfmyj


Slide Content

Fuzzy Inference System
Written by:
Hisham Jamal Ali Faraj Saleh Al-deafi

Introduction
●AFuzzyInferenceSystem(FIS)isawayofmapping
aninputspacetoanoutputspaceusingfuzzylogic
●FISusesacollectionoffuzzymembershipfunctions
andrules,insteadofBooleanlogic
●TherulesinFIS(sometimesmaybecalledasfuzzy
expertsystem)arefuzzyproductionrulesoftheform:
−ifpthenq,wherepandqarefuzzystatements.
●Forexample,inafuzzyrule
−ifxislowandyishighthenzismedium.

Cont…
●Thefunctionaloperationsinfuzzyexpertsystem
proceedinthefollowingsteps.
−Fuzzification
−FuzzyInferencing(applyimplicationmethod)
−Aggregationofalloutputs
−Defuzzification

Structure of a Fuzzy Expert System

Fuzzification
•Definition:Fuzzification is the process of converting crisp input
values into fuzzy sets.
•Purpose:Allows handling of imprecise or vague inputs in fuzzy
logic systems.
•Example:For temperature = 25°C, determine membership in
fuzzy sets like "Cold," "Cool," "Warm," and "Hot."

Fuzzy Inferencing
•Definition:Fuzzy inferencing is a method used in fuzzy logic
systems to derive decisions or actions based on fuzzy logic rules and
fuzzy input data.
•Objective:It aims to process imprecise or vague inputs to produce
meaningful and actionable outputs.
•Components:Fuzzy inferencing typically involves fuzzification, rule
evaluation, aggregation of rules, and defuzzification.

Aggregation of all outputs
•Definition:Combines the outputs of individual rules to
generate a comprehensive fuzzy inference.
•Methods:Includes methods like Maximum, Minimum, and
Average for combining fuzzy outputs.
•Purpose:Integrates multiple rules' outputs to derive a
coherent response or action.
•Example:Aggregates outputs from rules like "Increase air
conditioning" and "Reduce heating" to determine overall HVAC
control.

Generic Method
●Mainstepsare
−Evaluatetheantecedentforeachrule
−Obtaineachrule'sconclusion
−Aggregateconclusions
−Defuzzification
●Wewillexplainthesestepsusinganexampleof
TippingProblem
●Two inputs: Quality of food and Service at a restaurant
rated at scale from 0-10
●One output: Amount of tip to be given
●Tip should reflect the quality of the food and service.
●The tip might be in the range 5-15% of total bill paid.

Rules for Tipping
●Letusconsiderthefollowingthreerules
−Ifserviceispoororfoodisbad,thentipischeap
−Ifserviceisgood,thentipisaverage
−Ifserviceisexcellentorfoodisdelicious,thentipis
generous
●Inputvariables
−Service:representedbypoor,good,excellent
−Food:representedbybad,delicious
●OutputVariable:
−Tip:representedbycheap,average,generous

Antecedent for each rule

Rule's Conclusion

Aggregate Conclusions

All Steps Together looks like

MatLab
Fuzzy Toolkit

Introduction
●MATLAB fuzzy logic toolbox provides facility for the
development of fuzzy-logic systems using
−graphical user interface (GUI) tools
−command line functionality
●There are five primary GUI tools
−Fuzzy Inference System (FIS) Editor
−Membership Function Editor
−Rule Editor
−Rule Viewer
−Surface Viewer

GUI Tools

Fuzzy Inference System (FIS)
Editor

Membership Function Editor
Display & edit
values of current
variable
Select & edit
attributes of
membership
function
Name & edit
parameters of
membership
function

Rule Editor
Create and edit
rules
Rules –
automatically
updated

Rule Viewer
Shows how output
variable is used in
rules; shows
output of fuzzy
system
Shows how input
variable is used in
rules

Tsukamoto inference

Introduction

Comparison between inference Methods

Comparison between inference Methods

Comparison between inference Methods

Work mechanism

Work mechanism

Work mechanism

Example:

Con..

Con..

Final Solution

Advantages & Disadvantages

For
listening
Tags