SlideShare a Scribd company logo
1 of 30
Prepared by:
Bhaumikkumar P Parmar
Department of Computer Engineering
Government Engineering College, Modasa
Outline
 Fuzzy Logic
 Fuzzy Set
 Fuzzy Set & Classical Set
 Membership Function
 Fuzzy Set Operations
 Fuzzy Logic System
 Example
 Advantage
 disadvantages
 Application
Fuzzy Logic
 We talk about real world , our expression about real world , the
way we describe real world are not very precise.
 Ex. Height (short, medium, tall), temperature(very hot, hot,
cold).
 Fuzzy logic is logic which is not very precise.
 Normally in real world we deal with this imprecise way .
 Computation that involves logic of impreciseness is much more
powerful than computation that is being carried through a
precise manner.
Fuzzy Logic
• Since we use imprecise data in our communication language,
then it must be associated with some logic.
• The father of fuzzy logic is Lotfi Zadeh from U C Berkeley in
1965, he pioneered research in fuzzy logic.
• The logic which can manipulate imprecise data is Fuzzy Logic.
• Fuzzy Logic has been applied to many fields , from control
theory to artificial intelligence.
Fuzzy set
• Classical Set : A={a1,a2,a3,a4…,an}
• Set A can be represented by Characteristic function.
μa(x)={ 1 if element x belongs to the set A
0 otherwise }
• Ex. A={ 1,2,3,4,5,6,7,8,9,10}.
• Fuzzy Set: A={{ x, μa(x) }}
where, μa(x) is the membership grade of a element x in fuzzyset
μa(x)=[0,1]
• Ex. Set of all tall people.
A={{5.9,0.4},{6.0,0.7},{6.1,0.9}}
Fuzzy set & Classical set
• Consider universal set T which stands for tempratute.
• Cold , Normal , Hot are the subset of universal set T.
• Classical Set (Crisp set)
• Cold={ temp ∈ T : 5° C < temp < 15° C }
• Normal={temp ∈ T : 15° C < temp < 25° C }
• Hot={temp ∈ T : 25° 𝐶 < 𝑡𝑒𝑚𝑝 < 35° 𝐶 }
• 14.9 ° C is Cold while 15.1 ° C is Normal .
• This shows that classical set have very rigid boundries.
Fuzzy set & Classical set
• In Contrast Fuzzy Set have soft boundary .
• cold normal hot
• 𝜇𝑥 1
•
• 0.5
• 5 10 15 20 25 30 35 40
• temp (°𝐶)
• The temprature 15° C is a member of two fuzzy sets , cold and
normal with a membership grade
• 𝜇𝑥(Cold)= 𝜇𝑥(Normal) = 0.5
Membership Function
• A member function is a function that defines degree of an
element’s membership in fuzzy set.
adult(x)= { 0, if age(x) < 16years
(age(x)-16years)/4, if 16years < = age(x)< = 20years,
1, if age(x) > 20years }
Membership Function
There are different form of membership function.
Linguistic Variable
 Linguistic variables are the input or output variables of the
system whose values are words or sentences from a natural
language, instead of numerical values. A linguistic variable
is generally decomposed into a set of linguistic terms.
 Ex . For air conditioner , temperature is linguistic variable.
 Temperature can quantify into too-cold, cold, warm, hot.
 They are the linguistic terms.
 They cover a portion of overall values of Temperature
Fuzzy Set Operations
• Let us consider two fuzzy sets
• A={
0
1
,
1
2
,
0.5
3
,
0.3
4
,
0.2
5
} and B={
0
1
,
0.5
2
,
0.7
3
,
0.2
4
,
0.4
5
}
• We can evaluate different fuzzy operation.
• Union: A∪ 𝐵 = max{ μ𝐴 𝑥 , μ𝐵 𝑥 }
= {
0
1
,
1
2
,
0.7
3
,
0.3
4
,
0.4
5
}
• Intersection: A∩ 𝐵 = m𝑖𝑛{ μ𝐴 𝑥 , μ𝐵 𝑥 }
= {
0
1
,
0.5
2
,
0.5
3
,
0.2
4
,
0.2
5
}
Fuzzy Set Operations
• Let us consider two fuzzy sets
• A={
0
1
,
1
2
,
0.5
3
,
0.3
4
,
0.2
5
} and B={
0
1
,
0.5
2
,
0.7
3
,
0.2
4
,
0.4
5
}
• We can evaluate different fuzzy operation.
• Complement: ¬𝐴 = 1 − μ𝐴 𝑥 = {
1
1
,
0
2
,
0.5
3
,
0.7
4
,
0.8
5
}
• Difference : A|B = 𝐴 ∩ ¬𝐵
= {
0
1
,
1
2
,
0.5
3
,
0.3
4
,
0.2
5
} ∩ {
1
1
,
0.5
2
,
0.3
3
,
0.8
4
,
0.6
5
}
= {
0
1
,
0.5
2
,
0.3
3
,
0.3
4
,
0.2
5
}
Fuzzy Set & Probabilities
• The values attached to properties in fuzzy logic are in some
ways like probabilities, but it is clearly not probabilities that
we are dealing with here.
• We may know Jack's height exactly. The assertion ‘Jack is
tall (0.75)’ measures how well Jack’s height matches the
sense of the word ‘tall’.
• On the other hand, ‘the probability that Jack is tall is 0.75’
would normally be used in a situation where we don't
actually know Jack's height.
Fuzzy Logic System
Fuzzy Logic System
• The rule base and database are jointly referred to as
knowledge base.
• A rule base containing a number of fuzzy IF-THEN rules;
• A database which defines the membership functions of
fuzzy sets used in fuzzy rules.
• fuzzification: converts crisp input to a linguistic variable
using membership function stored in fuzzy knowledge
base.
• Inference engine: using If-Then type fuzzy rules converts
the fuzzy input to fuzzy out
• Defuzzification: Converts the fuzzy output of the inference
engine to crisp using membership functions analogous to
the ones used by the fuzzifier.
Example
To estimate the level of risk in project.
 For the sake of simplicity we will arrive at our conclusion
based on two inputs: project funding and project staffing.
 Suppose our our inputs are project_funding =
26% and project_staffing = 54%.
 Find risk percentage.
Example
1)Define linguistic variables and terms.
For Input:-
For Project funding : inadequate, marginal , adequate
For Project staffing : small , large
For Output:-
For Project risk :low , normal , high.
Example
2)Construct membership function.
Input output
Example
3)Construct the rule base .
 If project funding is adequate or project staffing is small
then risk is low.
 If project funding is marginal and project staffing is large
then risk is normal.
 If project funding is inadequate then risk is high.
Example
4)Convert crisp input data to fuzzy values.(fuzzification)
Project funding=26% .
Inadequate =0.4
marginal=0.2
adequate=0.0
Project staffing=54%
small=0.2
Large=0.7
Example
5)Evaluate the rule in rule base (inference)
 If project funding is adequate or project staffing is small then risk
is low.
adequate(Project funding) ∨ small(Project staffing) ⇒ low(risk)
0.0 ∨ 0.2 ⇒ 0.2 low = 0.2
 If project funding is marginal and project staffing is large then
risk is normal.
marginal(Project funding) ∧ large(Project staffing) ⇒ normal(risk)
0.2 ∧ 0.7 ⇒ 0.2 normal = 0.2
Example
5)Evaluate the rule in rule base (inference) (continue)
 If project funding is inadequate then risk is high.
inadequate(Project funding) = high(risk)
inadequate(Project funding)=0.4
high =0.4
• so for risk : low =0.2 , normal =0.2 , high=0.4
Example
6)Convert the output data to non-fuzzy values(defuzzification).
centroid method :
cog=(((0+10+20)*0.2)+((30+40+50+60)*0.2)+((70+80+90+100)*0.4))
((3*0.2)+(4*0.2)+(4*0.4))
cog=58.666667%
Risk=58.67%
Example
Advantage
 Mathematical concepts within fuzzy reasoning are very
simple.
 You can modify a FLS by just adding or deleting rules due to
flexibility of fuzzy logic.
 Fuzzy logic Systems can take imprecise, distorted, noisy
input information.
 FLSs are easy to construct and understand.
 Fuzzy logic is a solution to complex problems in all fields of
life, including medicine, as it resembles human reasoning
and decision making.
Disadvantage
 There is no systematic approach to fuzzy system designing.
 They are understandable only when simple.
 They are suitable for the problems which do not need high
accuracy.
 Requires tuning of membership functions.
Fuzzy Application
• Many of the early successful applications of fuzzy logic were
implemented in Japan.
• The first notable application was on the high-speed train
in Sendai, in which fuzzy logic was able to improve the
economy, comfort, and precision of the ride.
• recognition of hand written symbols in Sony pocket
computers,
• flight aid for helicopters,
• In vehicle used as antilock brake system .
• single-button control for washing machines,
• As temperature controllers in Air conditioners,
Refrigerators.
Bibliography
BOOK :
Artificial Intelligence by Elaine Rich, Kelvin Knight and
Shivashankar B Nair.
WEBSITES :
•http://www.seattlerobotics.org/encoder/mar98/fuz/flindex.html
https://www.tutorialspoint.com/artificial_intelligence/artificial_int
elligence_fuzzy_logic_systems.htm
• http://en.wikipedia.org/wiki/Fuzzy_logic
• http://www.dementia.org/~julied/logic/index.html
• http://mathematica.ludibunda.ch/fuzzy-logic.html
Thank You

More Related Content

What's hot

Fuzzy Logic and Neural Network
Fuzzy Logic and Neural NetworkFuzzy Logic and Neural Network
Fuzzy Logic and Neural NetworkSHIMI S L
 
Presentation on fuzzy logic and fuzzy systems
Presentation on fuzzy logic and fuzzy systemsPresentation on fuzzy logic and fuzzy systems
Presentation on fuzzy logic and fuzzy systemsShreyaSahu20
 
Fuzzy Logic Ppt
Fuzzy Logic PptFuzzy Logic Ppt
Fuzzy Logic Pptrafi
 
Fuzzy set and its application
Fuzzy set and its applicationFuzzy set and its application
Fuzzy set and its applicationKalaivananRaja
 
Chapter 5 - Fuzzy Logic
Chapter 5 - Fuzzy LogicChapter 5 - Fuzzy Logic
Chapter 5 - Fuzzy LogicAshique Rasool
 
Iv unit-fuzzification and de-fuzzification
Iv unit-fuzzification and de-fuzzificationIv unit-fuzzification and de-fuzzification
Iv unit-fuzzification and de-fuzzificationkypameenendranathred
 
Fuzzy Logic in the Real World
Fuzzy Logic in the Real WorldFuzzy Logic in the Real World
Fuzzy Logic in the Real WorldBCSLeicester
 
Fuzzy logic application (aircraft landing)
Fuzzy logic application (aircraft landing)Fuzzy logic application (aircraft landing)
Fuzzy logic application (aircraft landing)Piyumal Samarathunga
 
Fuzzy Sets Introduction With Example
Fuzzy Sets Introduction With ExampleFuzzy Sets Introduction With Example
Fuzzy Sets Introduction With Exampleraisnasir
 
Fuzzy Set Theory
Fuzzy Set TheoryFuzzy Set Theory
Fuzzy Set TheoryAMIT KUMAR
 
fuzzy fuzzification and defuzzification
fuzzy fuzzification and defuzzificationfuzzy fuzzification and defuzzification
fuzzy fuzzification and defuzzificationNourhan Selem Salm
 
Fuzzy logic and application in AI
Fuzzy logic and application in AIFuzzy logic and application in AI
Fuzzy logic and application in AIIldar Nurgaliev
 

What's hot (20)

Fuzzy logic ppt
Fuzzy logic pptFuzzy logic ppt
Fuzzy logic ppt
 
Fuzzy Logic and Neural Network
Fuzzy Logic and Neural NetworkFuzzy Logic and Neural Network
Fuzzy Logic and Neural Network
 
Presentation on fuzzy logic and fuzzy systems
Presentation on fuzzy logic and fuzzy systemsPresentation on fuzzy logic and fuzzy systems
Presentation on fuzzy logic and fuzzy systems
 
Fuzzy Logic Ppt
Fuzzy Logic PptFuzzy Logic Ppt
Fuzzy Logic Ppt
 
Fuzzy set and its application
Fuzzy set and its applicationFuzzy set and its application
Fuzzy set and its application
 
Chapter 5 - Fuzzy Logic
Chapter 5 - Fuzzy LogicChapter 5 - Fuzzy Logic
Chapter 5 - Fuzzy Logic
 
Iv unit-fuzzification and de-fuzzification
Iv unit-fuzzification and de-fuzzificationIv unit-fuzzification and de-fuzzification
Iv unit-fuzzification and de-fuzzification
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Fuzzy Logic in the Real World
Fuzzy Logic in the Real WorldFuzzy Logic in the Real World
Fuzzy Logic in the Real World
 
Fuzzy logic application (aircraft landing)
Fuzzy logic application (aircraft landing)Fuzzy logic application (aircraft landing)
Fuzzy logic application (aircraft landing)
 
Fuzzy logic mis
Fuzzy logic misFuzzy logic mis
Fuzzy logic mis
 
Fuzzy Sets Introduction With Example
Fuzzy Sets Introduction With ExampleFuzzy Sets Introduction With Example
Fuzzy Sets Introduction With Example
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Fuzzy+logic
Fuzzy+logicFuzzy+logic
Fuzzy+logic
 
Fuzzy Set Theory
Fuzzy Set TheoryFuzzy Set Theory
Fuzzy Set Theory
 
Fuzzy arithmetic
Fuzzy arithmeticFuzzy arithmetic
Fuzzy arithmetic
 
Fuzzy sets
Fuzzy sets Fuzzy sets
Fuzzy sets
 
fuzzy fuzzification and defuzzification
fuzzy fuzzification and defuzzificationfuzzy fuzzification and defuzzification
fuzzy fuzzification and defuzzification
 
Fuzzy logic and application in AI
Fuzzy logic and application in AIFuzzy logic and application in AI
Fuzzy logic and application in AI
 

Similar to Fuzzy Logic Seminar with Implementation

Fuzzy logic and fuzzy time series edited
Fuzzy logic and fuzzy time series   editedFuzzy logic and fuzzy time series   edited
Fuzzy logic and fuzzy time series editedProf Dr S.M.Aqil Burney
 
Fuzzy logicintro by
Fuzzy logicintro by Fuzzy logicintro by
Fuzzy logicintro by Waseem Abbas
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logicAdPatel5
 
VALIDATION METHOD OF FUZZY ASSOCIATION RULES BASED ON FUZZY FORMAL CONCEPT AN...
VALIDATION METHOD OF FUZZY ASSOCIATION RULES BASED ON FUZZY FORMAL CONCEPT AN...VALIDATION METHOD OF FUZZY ASSOCIATION RULES BASED ON FUZZY FORMAL CONCEPT AN...
VALIDATION METHOD OF FUZZY ASSOCIATION RULES BASED ON FUZZY FORMAL CONCEPT AN...cscpconf
 
Lec 5 uncertainty
Lec 5 uncertaintyLec 5 uncertainty
Lec 5 uncertaintyEyob Sisay
 
Determining costs of construction errors, based on fuzzy logic systems ipcmc2...
Determining costs of construction errors, based on fuzzy logic systems ipcmc2...Determining costs of construction errors, based on fuzzy logic systems ipcmc2...
Determining costs of construction errors, based on fuzzy logic systems ipcmc2...Mohammad Lemar ZALMAİ
 
L1 intro2 supervised_learning
L1 intro2 supervised_learningL1 intro2 supervised_learning
L1 intro2 supervised_learningYogendra Singh
 
Fuzzy Logic Controller.pptx
Fuzzy Logic Controller.pptxFuzzy Logic Controller.pptx
Fuzzy Logic Controller.pptxMahuaPal6
 
CS3114_09212011.ppt
CS3114_09212011.pptCS3114_09212011.ppt
CS3114_09212011.pptArumugam90
 
Deep learning from scratch
Deep learning from scratch Deep learning from scratch
Deep learning from scratch Eran Shlomo
 

Similar to Fuzzy Logic Seminar with Implementation (20)

Fuzzy logic member functions
Fuzzy logic member functionsFuzzy logic member functions
Fuzzy logic member functions
 
Fuzzy logic and fuzzy time series edited
Fuzzy logic and fuzzy time series   editedFuzzy logic and fuzzy time series   edited
Fuzzy logic and fuzzy time series edited
 
9966850
99668509966850
9966850
 
Fuzzy expert system
Fuzzy expert systemFuzzy expert system
Fuzzy expert system
 
Fuzzy logicintro by
Fuzzy logicintro by Fuzzy logicintro by
Fuzzy logicintro by
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
VALIDATION METHOD OF FUZZY ASSOCIATION RULES BASED ON FUZZY FORMAL CONCEPT AN...
VALIDATION METHOD OF FUZZY ASSOCIATION RULES BASED ON FUZZY FORMAL CONCEPT AN...VALIDATION METHOD OF FUZZY ASSOCIATION RULES BASED ON FUZZY FORMAL CONCEPT AN...
VALIDATION METHOD OF FUZZY ASSOCIATION RULES BASED ON FUZZY FORMAL CONCEPT AN...
 
Unit8: Uncertainty in AI
Unit8: Uncertainty in AIUnit8: Uncertainty in AI
Unit8: Uncertainty in AI
 
Lec 5 uncertainty
Lec 5 uncertaintyLec 5 uncertainty
Lec 5 uncertainty
 
Determining costs of construction errors, based on fuzzy logic systems ipcmc2...
Determining costs of construction errors, based on fuzzy logic systems ipcmc2...Determining costs of construction errors, based on fuzzy logic systems ipcmc2...
Determining costs of construction errors, based on fuzzy logic systems ipcmc2...
 
L1 intro2 supervised_learning
L1 intro2 supervised_learningL1 intro2 supervised_learning
L1 intro2 supervised_learning
 
04 numerical
04 numerical04 numerical
04 numerical
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
fuzzy-logic nit-Bharat.ppt
fuzzy-logic nit-Bharat.pptfuzzy-logic nit-Bharat.ppt
fuzzy-logic nit-Bharat.ppt
 
Ece478 12es_final_report
Ece478 12es_final_reportEce478 12es_final_report
Ece478 12es_final_report
 
Fuzzy Logic Controller.pptx
Fuzzy Logic Controller.pptxFuzzy Logic Controller.pptx
Fuzzy Logic Controller.pptx
 
CS3114_09212011.ppt
CS3114_09212011.pptCS3114_09212011.ppt
CS3114_09212011.ppt
 
Greedy method
Greedy methodGreedy method
Greedy method
 
Defuzzification
DefuzzificationDefuzzification
Defuzzification
 
Deep learning from scratch
Deep learning from scratch Deep learning from scratch
Deep learning from scratch
 

Recently uploaded

ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01KreezheaRecto
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spaintimesproduction05
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesPrabhanshu Chaturvedi
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Christo Ananth
 

Recently uploaded (20)

(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 

Fuzzy Logic Seminar with Implementation

  • 1. Prepared by: Bhaumikkumar P Parmar Department of Computer Engineering Government Engineering College, Modasa
  • 2. Outline  Fuzzy Logic  Fuzzy Set  Fuzzy Set & Classical Set  Membership Function  Fuzzy Set Operations  Fuzzy Logic System  Example  Advantage  disadvantages  Application
  • 3. Fuzzy Logic  We talk about real world , our expression about real world , the way we describe real world are not very precise.  Ex. Height (short, medium, tall), temperature(very hot, hot, cold).  Fuzzy logic is logic which is not very precise.  Normally in real world we deal with this imprecise way .  Computation that involves logic of impreciseness is much more powerful than computation that is being carried through a precise manner.
  • 4. Fuzzy Logic • Since we use imprecise data in our communication language, then it must be associated with some logic. • The father of fuzzy logic is Lotfi Zadeh from U C Berkeley in 1965, he pioneered research in fuzzy logic. • The logic which can manipulate imprecise data is Fuzzy Logic. • Fuzzy Logic has been applied to many fields , from control theory to artificial intelligence.
  • 5. Fuzzy set • Classical Set : A={a1,a2,a3,a4…,an} • Set A can be represented by Characteristic function. μa(x)={ 1 if element x belongs to the set A 0 otherwise } • Ex. A={ 1,2,3,4,5,6,7,8,9,10}. • Fuzzy Set: A={{ x, μa(x) }} where, μa(x) is the membership grade of a element x in fuzzyset μa(x)=[0,1] • Ex. Set of all tall people. A={{5.9,0.4},{6.0,0.7},{6.1,0.9}}
  • 6. Fuzzy set & Classical set • Consider universal set T which stands for tempratute. • Cold , Normal , Hot are the subset of universal set T. • Classical Set (Crisp set) • Cold={ temp ∈ T : 5° C < temp < 15° C } • Normal={temp ∈ T : 15° C < temp < 25° C } • Hot={temp ∈ T : 25° 𝐶 < 𝑡𝑒𝑚𝑝 < 35° 𝐶 } • 14.9 ° C is Cold while 15.1 ° C is Normal . • This shows that classical set have very rigid boundries.
  • 7. Fuzzy set & Classical set • In Contrast Fuzzy Set have soft boundary . • cold normal hot • 𝜇𝑥 1 • • 0.5 • 5 10 15 20 25 30 35 40 • temp (°𝐶) • The temprature 15° C is a member of two fuzzy sets , cold and normal with a membership grade • 𝜇𝑥(Cold)= 𝜇𝑥(Normal) = 0.5
  • 8. Membership Function • A member function is a function that defines degree of an element’s membership in fuzzy set. adult(x)= { 0, if age(x) < 16years (age(x)-16years)/4, if 16years < = age(x)< = 20years, 1, if age(x) > 20years }
  • 9. Membership Function There are different form of membership function.
  • 10. Linguistic Variable  Linguistic variables are the input or output variables of the system whose values are words or sentences from a natural language, instead of numerical values. A linguistic variable is generally decomposed into a set of linguistic terms.  Ex . For air conditioner , temperature is linguistic variable.  Temperature can quantify into too-cold, cold, warm, hot.  They are the linguistic terms.  They cover a portion of overall values of Temperature
  • 11. Fuzzy Set Operations • Let us consider two fuzzy sets • A={ 0 1 , 1 2 , 0.5 3 , 0.3 4 , 0.2 5 } and B={ 0 1 , 0.5 2 , 0.7 3 , 0.2 4 , 0.4 5 } • We can evaluate different fuzzy operation. • Union: A∪ 𝐵 = max{ μ𝐴 𝑥 , μ𝐵 𝑥 } = { 0 1 , 1 2 , 0.7 3 , 0.3 4 , 0.4 5 } • Intersection: A∩ 𝐵 = m𝑖𝑛{ μ𝐴 𝑥 , μ𝐵 𝑥 } = { 0 1 , 0.5 2 , 0.5 3 , 0.2 4 , 0.2 5 }
  • 12. Fuzzy Set Operations • Let us consider two fuzzy sets • A={ 0 1 , 1 2 , 0.5 3 , 0.3 4 , 0.2 5 } and B={ 0 1 , 0.5 2 , 0.7 3 , 0.2 4 , 0.4 5 } • We can evaluate different fuzzy operation. • Complement: ¬𝐴 = 1 − μ𝐴 𝑥 = { 1 1 , 0 2 , 0.5 3 , 0.7 4 , 0.8 5 } • Difference : A|B = 𝐴 ∩ ¬𝐵 = { 0 1 , 1 2 , 0.5 3 , 0.3 4 , 0.2 5 } ∩ { 1 1 , 0.5 2 , 0.3 3 , 0.8 4 , 0.6 5 } = { 0 1 , 0.5 2 , 0.3 3 , 0.3 4 , 0.2 5 }
  • 13. Fuzzy Set & Probabilities • The values attached to properties in fuzzy logic are in some ways like probabilities, but it is clearly not probabilities that we are dealing with here. • We may know Jack's height exactly. The assertion ‘Jack is tall (0.75)’ measures how well Jack’s height matches the sense of the word ‘tall’. • On the other hand, ‘the probability that Jack is tall is 0.75’ would normally be used in a situation where we don't actually know Jack's height.
  • 15. Fuzzy Logic System • The rule base and database are jointly referred to as knowledge base. • A rule base containing a number of fuzzy IF-THEN rules; • A database which defines the membership functions of fuzzy sets used in fuzzy rules. • fuzzification: converts crisp input to a linguistic variable using membership function stored in fuzzy knowledge base. • Inference engine: using If-Then type fuzzy rules converts the fuzzy input to fuzzy out • Defuzzification: Converts the fuzzy output of the inference engine to crisp using membership functions analogous to the ones used by the fuzzifier.
  • 16. Example To estimate the level of risk in project.  For the sake of simplicity we will arrive at our conclusion based on two inputs: project funding and project staffing.  Suppose our our inputs are project_funding = 26% and project_staffing = 54%.  Find risk percentage.
  • 17. Example 1)Define linguistic variables and terms. For Input:- For Project funding : inadequate, marginal , adequate For Project staffing : small , large For Output:- For Project risk :low , normal , high.
  • 19. Example 3)Construct the rule base .  If project funding is adequate or project staffing is small then risk is low.  If project funding is marginal and project staffing is large then risk is normal.  If project funding is inadequate then risk is high.
  • 20. Example 4)Convert crisp input data to fuzzy values.(fuzzification) Project funding=26% . Inadequate =0.4 marginal=0.2 adequate=0.0 Project staffing=54% small=0.2 Large=0.7
  • 21. Example 5)Evaluate the rule in rule base (inference)  If project funding is adequate or project staffing is small then risk is low. adequate(Project funding) ∨ small(Project staffing) ⇒ low(risk) 0.0 ∨ 0.2 ⇒ 0.2 low = 0.2  If project funding is marginal and project staffing is large then risk is normal. marginal(Project funding) ∧ large(Project staffing) ⇒ normal(risk) 0.2 ∧ 0.7 ⇒ 0.2 normal = 0.2
  • 22. Example 5)Evaluate the rule in rule base (inference) (continue)  If project funding is inadequate then risk is high. inadequate(Project funding) = high(risk) inadequate(Project funding)=0.4 high =0.4 • so for risk : low =0.2 , normal =0.2 , high=0.4
  • 23.
  • 24. Example 6)Convert the output data to non-fuzzy values(defuzzification). centroid method : cog=(((0+10+20)*0.2)+((30+40+50+60)*0.2)+((70+80+90+100)*0.4)) ((3*0.2)+(4*0.2)+(4*0.4)) cog=58.666667% Risk=58.67%
  • 26. Advantage  Mathematical concepts within fuzzy reasoning are very simple.  You can modify a FLS by just adding or deleting rules due to flexibility of fuzzy logic.  Fuzzy logic Systems can take imprecise, distorted, noisy input information.  FLSs are easy to construct and understand.  Fuzzy logic is a solution to complex problems in all fields of life, including medicine, as it resembles human reasoning and decision making.
  • 27. Disadvantage  There is no systematic approach to fuzzy system designing.  They are understandable only when simple.  They are suitable for the problems which do not need high accuracy.  Requires tuning of membership functions.
  • 28. Fuzzy Application • Many of the early successful applications of fuzzy logic were implemented in Japan. • The first notable application was on the high-speed train in Sendai, in which fuzzy logic was able to improve the economy, comfort, and precision of the ride. • recognition of hand written symbols in Sony pocket computers, • flight aid for helicopters, • In vehicle used as antilock brake system . • single-button control for washing machines, • As temperature controllers in Air conditioners, Refrigerators.
  • 29. Bibliography BOOK : Artificial Intelligence by Elaine Rich, Kelvin Knight and Shivashankar B Nair. WEBSITES : •http://www.seattlerobotics.org/encoder/mar98/fuz/flindex.html https://www.tutorialspoint.com/artificial_intelligence/artificial_int elligence_fuzzy_logic_systems.htm • http://en.wikipedia.org/wiki/Fuzzy_logic • http://www.dementia.org/~julied/logic/index.html • http://mathematica.ludibunda.ch/fuzzy-logic.html