SlideShare a Scribd company logo
FUZZY LOGIC
Fuzzy logic was developed by Lotfi A. Zadeh in the 1960s in order to provide mathematical rules and functions which permitted natural language queries. Fuzzy logic provides a means of calculating intermediate values between absolute true and absolute false with resulting values ranging between 0.0 and 1.0. With fuzzy logic, it is possible to calculate the degree to which an item is a member. For example, if a person is .83 of tallness, they are " rather tall. " Fuzzy logic calculates the shades of gray between black/white and true/false.  Fuzzy logic is a super set of conventional (or Boolean) logic and contains similarities and differences with Boolean logic. Fuzzy logic is similar to Boolean logic, in that Boolean logic results are returned by fuzzy logic operations when all fuzzy memberships are restricted to 0 and 1. Fuzzy logic differs from Boolean logic in that it is permissive of natural language queries and is more like human thinking; it is based on degrees of truth.
FUZZY BOOLEAN
Fuzzy logic may appear similar to probability and statistics as well. Although, fuzzy logic is different then probability even though the results appear similar. The probability statement, " There is a 70% chance that Bill is tall" supposes that Bill is either tall or he is not. There is a 70% chance that we know which set Bill belongs. The fuzzy logic statement, " Bill's degree of membership in the set of tall people is .80 " supposes that Bill is rather tall. The fuzzy logic answer determines not only the set which Bill belongs, but also to what degree he is a member. There are no probability statements that pertain to fuzzy logic. Fuzzy logic deals with the degree of membership.  Fuzzy logic has been applied in many areas; it is used in a variety of ways. Household appliances such as dishwashers and washing machines use fuzzy logic to determine the optimal amount of soap and the correct water pressure for dishes and clothes. Fuzzy logic is even used in self-focusing cameras. Expert systems, such as decision-support and meteorological systems, use fuzzy logic. Fuzzy logic has many varied applications
FUZZY SETS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Here is an example of a traditional set:  Consider a set X that contains all the real numbers between 0 and 10 and a subset A of the set X that contains all the real numbers between 5 and 8. Subset A is represented in the figure below.                                                 In the figure, the interval on the x-axis between 5 and 8 has y-value of one. This indicates that any number in this interval is a member of the subset A. Any number that has a y-value of zero is considered to be a non-member of the subset A.
Again a  fuzzy set  is a set whose elements have degrees of membership. These can formally be defined as the following:  A fuzzy subset F of a set S can be defined as a set of ordered pairs. The first element of the ordered pair is from the set S, and the second element from the ordered pair is from the interval [0,1].  The value  zero  is used to represent non-membership; the value  one  is used to represent complete membership, and the values  in between  are used to represent degrees of membership.
Examples of Fuzzy Sets
EXAMPLE 1   Here is an example describing a set of young people using fuzzy sets. In general, young people range from the age of 0 to 20. But, if we use this strict interval to define young people, then a person on his 20th birthday is still young (still a member of the set). But on the day after his 20th birthday, this person is now old (not a member of the young set).  How can one remedy this?   By RELAXING the boundary between the strict separation of young and old. This separation can easily be relaxed by considering the boundary between young and old as &quot;fuzzy&quot;. The figure below graphically illustrates a fuzzy set of young and old people.                                                  Notice in the figure that people whose ages are >= zero and <= 20 are complete members of the young set (that is, they have a membership value of one). Also note that people whose ages are > 20 and < 30 are partial members of the young set. For example, a person who is 25 would be young to the degree of 0.5. Finally people whose ages are >= 30 are non-members of the young set.
Membership Functions A  membership function  is a mathematical function which defines the degree of an element's membership in a fuzzy set.  The best way to illustrate this concept is with an example. This example describes a fuzzy set for tallness. Below in the membership function for tallness.  tall(x)= { 0, if height(x) < 5ft, (height(x)-5ft)/2, if 5ft <= height(x) <= 7ft, 1, if height(x) > 7ft }  Essentially this function calculates the membership value of a certain height. For example, if a person is less 4'9&quot;, then this person has a membership value of 0.0 and thus is not a member of the set tall. If a person is 7'6&quot;, then this person has a membership value of 1.0 and thus is a member of the set tall. Finally, if a person is 5'5&quot;, then this person has a membership value of 0.21 and is a partial member of the set tall.
Below is a graphical representation of the fuzzy set for tallness.
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Negation                                                 In this figure, the red line is a fuzzy set. To negate this fuzzy set, subtract the membership value in the fuzzy set from one. For example, the membership value at 5 is one. In the negation, the membership value at 5 would be zero (1-1=0). For exa mple, if the membership value is 0.4. In the negation, the membership value would be 0.6 (1-0.4=0.6).  Put the mouse over the image to see the negation of the fuzzy set (blue curve).
Intersection                                                 In this figure, the red and green lines are fuzzy sets. To find the intersection of these sets take the minimum of the two membership values at each point on the x-axis (see the formal definition above). For example, in the figure the red fuzzy set has a membership of ZERO when x = 4 and the green fuzzy set has a membership of ONE when x = 4. The intersection would have a membership value of ZERO when x = 4 because the minimum of zero and one is zero.
Intersection
Union                                                   In this figure, the red and green lines are fuzzy sets. To find the union of these sets take the maximum of the two membership values at each point on the x-axis (see the formal definition above). For example, in the figure the red fuzzy set has a membership of ZERO when x = 4 and the green fuzzy set has a membership of ONE when x = 4. The union would have a membership value of ONE when x = 4 because the maximum of zero and one is one.
Union
The Concept of Hedging  Much has been made about the relationship of Fuzzy Logic to the human thought process and the ability to handle imprecise conditions that may arise. One of the terms frequently seen in the Fuzzy Logic literature is the concept of  Hedging .  Hedging can be described as the modifiers to a certain set, much like the way adjectives and adverbs modify statements in the English language.  When referring to a fuzzy set, hedges are used to adjust the characteristics of that fuzzy set by either:  Approximating   Complementing   Diluting   Intensifying
Some specific words and their effect on the fuzzy set include:  In general, when a hedge is used to dilute a set, the set is expanded. When a set is intensified with a hedge, the set is compressed.  Intensify the set  ,[object Object],[object Object],Dilute the set  ,[object Object],[object Object],[object Object],Complement the set  ,[object Object],Approximate the set  ,[object Object],[object Object],[object Object],[object Object],Effect on set characteristics Key Word
 
 
 
 
 
Fuzzy Inference Systems
 
Overview of Fuzzy Inference Process
Step 1. Fuzzify Inputs
Step 2. Apply Fuzzy Operator
Step 3. Apply Implication Method
Step 4. Aggregate All Outputs
Step 5. Defuzzify
The Fuzzy Inference Diagram
 
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Bus Time Tab les           How accurately do the schedules predict the actual travel time on the bus?   Bus schedules are formulated on information that does not remain constant. They use fuzzy logic because it is impossible to give an exact answer to when the bus will be at a certain stop. Many unforseen incidents can occur. There can be accidents, abnormal traffic backups, or the bus could break down. An observant scheduler would take all these possibilities into account, and include them in a formula for figuring out the approximate schedule. It is that formula which imposes the fuzziness.
Predicting genetic traits Genetic traits are a fuzzy situation for more than one reason. There is the fact that many traits can't be linked to a single gene. So only specific combinations of genes will create a given trait. Secondly, the dominant and recessive genes that are frequently illustrated with Punnet squares, are sets in fuzzy logic. The degree of membership in those sets is measured by the occurrence of a genetic trait. In clear cases of dominant and recessive genes, the possible degrees in the sets are pretty strict. Take, for instance, eye color. Two brown-eyed parents produce three blue-eyed children. Sounds impossible, right? Brown is dominant, so each parent must have the recessive gene within them. Their membership in the blue eye set must be small, but it is still there. So their children have the potential for high membership in the blue eye set, so that trait actually comes through. According to the Punnet square, 25% of their children should have blue eyes, with the other 75% having brown.
Temperature control (heating/cooling) I don't think the university has figured this one out yet ;-)   The trick in temperature control is to keep the room at the same temperature consistently. Well, that seems pretty easy, right? But how much does a room have to cool off before the heat kicks in again? There must be some standard, so the heat (or air conditioning) isn't in a constant state of turning on and off. Therein lies the fuzzy logic. The set is determined by what the temperature is actually set to. Membership in that set weakens as the room temperature varies from the set temperature. Once membership weakens to a certain point, temperature control kicks in to get the room back to the temperature it should be.
Auto-Focus on a camera          How does the camera even know what to focus on? Auto-focus cameras are a great revolution for those who spent years struggling with &quot;old-fashioned&quot; cameras. These cameras somehow figure out, based on multitudes of inputs, what is meant to be the main object of the photo. It takes fuzzy logic to make these assumptions. Perhaps the standard is to focus on the object closest to the center of the viewer. Maybe it focuses on the object closest to the camera. It is not a precise science, and cameras err periodically. This margin of error is acceptable for the average camera owner, whose main usage is for snapshots. However, the &quot;old-fashioned&quot; manual focus cameras are preferred by most professional photographers. For any errors in those photos cannot be attributed to a mechanical glitch. The decision making in focusing a manual camera is fuzzy as well, but it is not controlled by a machine.
Medical diagnoses How many of what kinds of symptoms will yield a diagnosis? How often are doctors in error? Surely everyone has seen those lists of symptoms for a horrible disease that say &quot;if you have at least 5 of these symptoms, you are at risk&quot;. It is a hypochondriac's haven. The question is, how do doctors go from that list of symptoms to a diagnosis? Fuzzy logic. There is no guaranteed system to reach a diagnosis. If there were, we wouldn't hear about cases of medical misdiagnosis. The diagnosis can only be some degree within the fuzzy set.
Predicting travel time This is especially difficult for driving, since there are plenty of traffic situations that can occur to slow down travel.  As with bus timetabling, predicting ETA's is a great exercise in fuzzy logic. That's why it is called an estimated time of arrival. A major player in predicting travel time is previous experience.  It took me six hours to drive to Philadelphia last time, so it should take me about that amount of time when I make the trip again.  Unfortunately, other factors are not typically considered. Weather, traffic, construction, accidents should all be added into the fuzzy equation to deliver a true estimate.
Antilock Braking System It's probably something you hardly think about when you're slamming on the brakes in your car The point of an ABS is to monitor the braking system on the vehicle and release the brakes just before the wheels lock. A computer is involved in determining when the best time to do this is. Two main factors that go into determining this are the speed of the car when the brakes are applied, and how fast the brakes are depressed. Usually, the times you want the ABS to really work are when you're driving fast and slam on the brakes. There is, of course, a margin for error. It is the job of the ABS to be &quot;smart&quot; enough to never allow the error go past the point when the wheels will lock. (In other words, it doesn't allow the membership in the set to become too weak.)
http://www.mathworks.com/access/helpdesk/help/toolbox/ fuzzy/fp351dup8.html http://en.wikipedia.org/wiki/Neural_network http://www.dementia.org Fuzzy/Neurofuzzy Logic [online] Neurosciences. Available from internet: < http://www.neurosciences.com/nn_fzy.htm >.  Goebel, Greg.  An Introduction to Fuzzy Control Systems [ online ] 23 December 1995.[ cited 24 October 1999 ]. Available from the World Wide Web: < http://www.isis.ecs.soton.ac.uk/research/nfinfo/fuzzycontrol.html >.
 
 

More Related Content

What's hot

Stuart russell and peter norvig artificial intelligence - a modern approach...
Stuart russell and peter norvig   artificial intelligence - a modern approach...Stuart russell and peter norvig   artificial intelligence - a modern approach...
Stuart russell and peter norvig artificial intelligence - a modern approach...
Lê Anh Đạt
 

What's hot (20)

Stuart russell and peter norvig artificial intelligence - a modern approach...
Stuart russell and peter norvig   artificial intelligence - a modern approach...Stuart russell and peter norvig   artificial intelligence - a modern approach...
Stuart russell and peter norvig artificial intelligence - a modern approach...
 
Relational Algebra and MapReduce
Relational Algebra and MapReduceRelational Algebra and MapReduce
Relational Algebra and MapReduce
 
Classical Sets & fuzzy sets
Classical Sets & fuzzy setsClassical Sets & fuzzy sets
Classical Sets & fuzzy sets
 
L7 fuzzy relations
L7 fuzzy relationsL7 fuzzy relations
L7 fuzzy relations
 
AI: Learning in AI
AI: Learning in AI AI: Learning in AI
AI: Learning in AI
 
Python tuple
Python   tuplePython   tuple
Python tuple
 
Big data unit i
Big data unit iBig data unit i
Big data unit i
 
Finite Automata
Finite AutomataFinite Automata
Finite Automata
 
Hashing
HashingHashing
Hashing
 
Fuzzy Set
Fuzzy SetFuzzy Set
Fuzzy Set
 
Overfitting & Underfitting
Overfitting & UnderfittingOverfitting & Underfitting
Overfitting & Underfitting
 
Lecture 29 fuzzy systems
Lecture 29   fuzzy systemsLecture 29   fuzzy systems
Lecture 29 fuzzy systems
 
14 Machine Learning Single Layer Perceptron
14 Machine Learning Single Layer Perceptron14 Machine Learning Single Layer Perceptron
14 Machine Learning Single Layer Perceptron
 
ADT STACK and Queues
ADT STACK and QueuesADT STACK and Queues
ADT STACK and Queues
 
CS8391 Data Structures Part B Questions Anna University
CS8391 Data Structures Part B Questions Anna UniversityCS8391 Data Structures Part B Questions Anna University
CS8391 Data Structures Part B Questions Anna University
 
Fuzzy inference systems
Fuzzy inference systemsFuzzy inference systems
Fuzzy inference systems
 
DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA
DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALADATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA
DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA
 
Fuzzy Logic in the Real World
Fuzzy Logic in the Real WorldFuzzy Logic in the Real World
Fuzzy Logic in the Real World
 
Crisp set
Crisp setCrisp set
Crisp set
 
Query Decomposition and data localization
Query Decomposition and data localization Query Decomposition and data localization
Query Decomposition and data localization
 

Viewers also liked

Fuzzy Logic Ppt
Fuzzy Logic PptFuzzy Logic Ppt
Fuzzy Logic Ppt
rafi
 
Assignment #9.9 First Design Review Multi Function Rice Cooker
Assignment #9.9 First Design Review Multi Function Rice CookerAssignment #9.9 First Design Review Multi Function Rice Cooker
Assignment #9.9 First Design Review Multi Function Rice Cooker
greendesignIIUM
 
Cloud Security and Data Integrity with Client Accountability Framework
Cloud Security and Data Integrity with Client Accountability FrameworkCloud Security and Data Integrity with Client Accountability Framework
Cloud Security and Data Integrity with Client Accountability Framework
IDES Editor
 

Viewers also liked (20)

Chapter 5 - Fuzzy Logic
Chapter 5 - Fuzzy LogicChapter 5 - Fuzzy Logic
Chapter 5 - Fuzzy Logic
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Fuzzy logic ppt
Fuzzy logic pptFuzzy logic ppt
Fuzzy logic ppt
 
Fuzzy Logic Ppt
Fuzzy Logic PptFuzzy Logic Ppt
Fuzzy Logic Ppt
 
Fuzzy Logic ppt
Fuzzy Logic pptFuzzy Logic ppt
Fuzzy Logic ppt
 
Fuzzy logic and neural networks
Fuzzy logic and neural networksFuzzy logic and neural networks
Fuzzy logic and neural networks
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
RM 701 Genetic Algorithm and Fuzzy Logic lecture
RM 701 Genetic Algorithm and Fuzzy Logic lectureRM 701 Genetic Algorithm and Fuzzy Logic lecture
RM 701 Genetic Algorithm and Fuzzy Logic lecture
 
Slideshare ppt
Slideshare pptSlideshare ppt
Slideshare ppt
 
Application of fuzzy logic
Application of fuzzy logicApplication of fuzzy logic
Application of fuzzy logic
 
Distance learning
Distance learningDistance learning
Distance learning
 
Assignment #9.9 First Design Review Multi Function Rice Cooker
Assignment #9.9 First Design Review Multi Function Rice CookerAssignment #9.9 First Design Review Multi Function Rice Cooker
Assignment #9.9 First Design Review Multi Function Rice Cooker
 
Best Rice Cooker Reviews
Best Rice Cooker ReviewsBest Rice Cooker Reviews
Best Rice Cooker Reviews
 
Cloud Security and Data Integrity with Client Accountability Framework
Cloud Security and Data Integrity with Client Accountability FrameworkCloud Security and Data Integrity with Client Accountability Framework
Cloud Security and Data Integrity with Client Accountability Framework
 
Euacuba
EuacubaEuacuba
Euacuba
 
Fuzzy Feelings for Fuzzy Matching
Fuzzy Feelings for Fuzzy MatchingFuzzy Feelings for Fuzzy Matching
Fuzzy Feelings for Fuzzy Matching
 
Fuzzy control and its applications
Fuzzy control and its applicationsFuzzy control and its applications
Fuzzy control and its applications
 
Soft computing08
Soft computing08Soft computing08
Soft computing08
 
Fuzzy Logic Application in Robotics( Humanoid Push Recovery)
Fuzzy Logic Application in Robotics( Humanoid Push Recovery)Fuzzy Logic Application in Robotics( Humanoid Push Recovery)
Fuzzy Logic Application in Robotics( Humanoid Push Recovery)
 
Fuzzy Logic
Fuzzy LogicFuzzy Logic
Fuzzy Logic
 

Similar to fuzzy logic

Fuzzy Sets decision making under information of uncertainty
Fuzzy Sets decision making under information of uncertaintyFuzzy Sets decision making under information of uncertainty
Fuzzy Sets decision making under information of uncertainty
RafigAliyev2
 
Fuzzy-Sets.pptx Master ob Artificial intelligence
Fuzzy-Sets.pptx Master ob Artificial intelligenceFuzzy-Sets.pptx Master ob Artificial intelligence
Fuzzy-Sets.pptx Master ob Artificial intelligence
ssusere1704e
 
23 fuzzy lecture ppt basics- new 23.ppt
23 fuzzy lecture ppt basics- new 23.ppt23 fuzzy lecture ppt basics- new 23.ppt
23 fuzzy lecture ppt basics- new 23.ppt
jdinfo444
 
Lecture 005-15_fuzzy logic _part1_ membership_function.pdf
Lecture 005-15_fuzzy logic _part1_ membership_function.pdfLecture 005-15_fuzzy logic _part1_ membership_function.pdf
Lecture 005-15_fuzzy logic _part1_ membership_function.pdf
tusharjangra5
 

Similar to fuzzy logic (20)

Fuzzy logic1
Fuzzy logic1Fuzzy logic1
Fuzzy logic1
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Fb35884889
Fb35884889Fb35884889
Fb35884889
 
FuzzySet.pptx
FuzzySet.pptxFuzzySet.pptx
FuzzySet.pptx
 
The Fuzzy Logical Databases
The Fuzzy Logical DatabasesThe Fuzzy Logical Databases
The Fuzzy Logical Databases
 
Fuzzy.pptx
Fuzzy.pptxFuzzy.pptx
Fuzzy.pptx
 
Fuzzy
FuzzyFuzzy
Fuzzy
 
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
 
Classical and Fuzzy Relations
Classical and Fuzzy RelationsClassical and Fuzzy Relations
Classical and Fuzzy Relations
 
Fuzzy Sets decision making under information of uncertainty
Fuzzy Sets decision making under information of uncertaintyFuzzy Sets decision making under information of uncertainty
Fuzzy Sets decision making under information of uncertainty
 
Fuzzy-Sets.pptx Master ob Artificial intelligence
Fuzzy-Sets.pptx Master ob Artificial intelligenceFuzzy-Sets.pptx Master ob Artificial intelligence
Fuzzy-Sets.pptx Master ob Artificial intelligence
 
Fuzzy-Sets for nothing about the way .ppt
Fuzzy-Sets for nothing about the way .pptFuzzy-Sets for nothing about the way .ppt
Fuzzy-Sets for nothing about the way .ppt
 
Fuzzy report
Fuzzy reportFuzzy report
Fuzzy report
 
23 fuzzy lecture ppt basics- new 23.ppt
23 fuzzy lecture ppt basics- new 23.ppt23 fuzzy lecture ppt basics- new 23.ppt
23 fuzzy lecture ppt basics- new 23.ppt
 
Fuzzy Set Theory and Classical Set Theory (Soft Computing)
Fuzzy Set Theory and Classical Set Theory (Soft Computing)Fuzzy Set Theory and Classical Set Theory (Soft Computing)
Fuzzy Set Theory and Classical Set Theory (Soft Computing)
 
AI Lesson 31
AI Lesson 31AI Lesson 31
AI Lesson 31
 
Lesson 31
Lesson 31Lesson 31
Lesson 31
 
Emerging Approach to Computing Techniques.pptx
Emerging Approach to Computing Techniques.pptxEmerging Approach to Computing Techniques.pptx
Emerging Approach to Computing Techniques.pptx
 
Lecture 005-15_fuzzy logic _part1_ membership_function.pdf
Lecture 005-15_fuzzy logic _part1_ membership_function.pdfLecture 005-15_fuzzy logic _part1_ membership_function.pdf
Lecture 005-15_fuzzy logic _part1_ membership_function.pdf
 
Fuzzy sets
Fuzzy sets Fuzzy sets
Fuzzy sets
 

More from Anmol Bagga (11)

Smart : Comprehensive and unified framework for test automation of web and mo...
Smart : Comprehensive and unified framework for test automation of web and mo...Smart : Comprehensive and unified framework for test automation of web and mo...
Smart : Comprehensive and unified framework for test automation of web and mo...
 
TAME-Test Automation Made Easy
TAME-Test Automation Made EasyTAME-Test Automation Made Easy
TAME-Test Automation Made Easy
 
Amplifiers Pesentation
Amplifiers PesentationAmplifiers Pesentation
Amplifiers Pesentation
 
Home Appliances
Home AppliancesHome Appliances
Home Appliances
 
Homeautomation
HomeautomationHomeautomation
Homeautomation
 
Gps
GpsGps
Gps
 
Plasma Technology
Plasma TechnologyPlasma Technology
Plasma Technology
 
nano science and nano technology
nano science and nano technologynano science and nano technology
nano science and nano technology
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
basic networking
basic networkingbasic networking
basic networking
 
biometric technology
biometric technologybiometric technology
biometric technology
 

Recently uploaded

Recently uploaded (20)

B.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdfB.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdf
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringBasic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation
 
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
Operations Management - Book1.p  - Dr. Abdulfatah A. SalemOperations Management - Book1.p  - Dr. Abdulfatah A. Salem
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
 
Keeping Your Information Safe with Centralized Security Services
Keeping Your Information Safe with Centralized Security ServicesKeeping Your Information Safe with Centralized Security Services
Keeping Your Information Safe with Centralized Security Services
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
NCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdfNCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdf
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptx
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx
 
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General QuizPragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
 
How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 

fuzzy logic

  • 2. Fuzzy logic was developed by Lotfi A. Zadeh in the 1960s in order to provide mathematical rules and functions which permitted natural language queries. Fuzzy logic provides a means of calculating intermediate values between absolute true and absolute false with resulting values ranging between 0.0 and 1.0. With fuzzy logic, it is possible to calculate the degree to which an item is a member. For example, if a person is .83 of tallness, they are &quot; rather tall. &quot; Fuzzy logic calculates the shades of gray between black/white and true/false. Fuzzy logic is a super set of conventional (or Boolean) logic and contains similarities and differences with Boolean logic. Fuzzy logic is similar to Boolean logic, in that Boolean logic results are returned by fuzzy logic operations when all fuzzy memberships are restricted to 0 and 1. Fuzzy logic differs from Boolean logic in that it is permissive of natural language queries and is more like human thinking; it is based on degrees of truth.
  • 4. Fuzzy logic may appear similar to probability and statistics as well. Although, fuzzy logic is different then probability even though the results appear similar. The probability statement, &quot; There is a 70% chance that Bill is tall&quot; supposes that Bill is either tall or he is not. There is a 70% chance that we know which set Bill belongs. The fuzzy logic statement, &quot; Bill's degree of membership in the set of tall people is .80 &quot; supposes that Bill is rather tall. The fuzzy logic answer determines not only the set which Bill belongs, but also to what degree he is a member. There are no probability statements that pertain to fuzzy logic. Fuzzy logic deals with the degree of membership. Fuzzy logic has been applied in many areas; it is used in a variety of ways. Household appliances such as dishwashers and washing machines use fuzzy logic to determine the optimal amount of soap and the correct water pressure for dishes and clothes. Fuzzy logic is even used in self-focusing cameras. Expert systems, such as decision-support and meteorological systems, use fuzzy logic. Fuzzy logic has many varied applications
  • 5.
  • 6. Here is an example of a traditional set: Consider a set X that contains all the real numbers between 0 and 10 and a subset A of the set X that contains all the real numbers between 5 and 8. Subset A is represented in the figure below.                                               In the figure, the interval on the x-axis between 5 and 8 has y-value of one. This indicates that any number in this interval is a member of the subset A. Any number that has a y-value of zero is considered to be a non-member of the subset A.
  • 7. Again a fuzzy set is a set whose elements have degrees of membership. These can formally be defined as the following: A fuzzy subset F of a set S can be defined as a set of ordered pairs. The first element of the ordered pair is from the set S, and the second element from the ordered pair is from the interval [0,1]. The value zero is used to represent non-membership; the value one is used to represent complete membership, and the values in between are used to represent degrees of membership.
  • 9. EXAMPLE 1 Here is an example describing a set of young people using fuzzy sets. In general, young people range from the age of 0 to 20. But, if we use this strict interval to define young people, then a person on his 20th birthday is still young (still a member of the set). But on the day after his 20th birthday, this person is now old (not a member of the young set). How can one remedy this? By RELAXING the boundary between the strict separation of young and old. This separation can easily be relaxed by considering the boundary between young and old as &quot;fuzzy&quot;. The figure below graphically illustrates a fuzzy set of young and old people.                                                Notice in the figure that people whose ages are >= zero and <= 20 are complete members of the young set (that is, they have a membership value of one). Also note that people whose ages are > 20 and < 30 are partial members of the young set. For example, a person who is 25 would be young to the degree of 0.5. Finally people whose ages are >= 30 are non-members of the young set.
  • 10. Membership Functions A membership function is a mathematical function which defines the degree of an element's membership in a fuzzy set. The best way to illustrate this concept is with an example. This example describes a fuzzy set for tallness. Below in the membership function for tallness. tall(x)= { 0, if height(x) < 5ft, (height(x)-5ft)/2, if 5ft <= height(x) <= 7ft, 1, if height(x) > 7ft } Essentially this function calculates the membership value of a certain height. For example, if a person is less 4'9&quot;, then this person has a membership value of 0.0 and thus is not a member of the set tall. If a person is 7'6&quot;, then this person has a membership value of 1.0 and thus is a member of the set tall. Finally, if a person is 5'5&quot;, then this person has a membership value of 0.21 and is a partial member of the set tall.
  • 11. Below is a graphical representation of the fuzzy set for tallness.
  • 12.
  • 13. Negation                                              In this figure, the red line is a fuzzy set. To negate this fuzzy set, subtract the membership value in the fuzzy set from one. For example, the membership value at 5 is one. In the negation, the membership value at 5 would be zero (1-1=0). For exa mple, if the membership value is 0.4. In the negation, the membership value would be 0.6 (1-0.4=0.6). Put the mouse over the image to see the negation of the fuzzy set (blue curve).
  • 14. Intersection                                              In this figure, the red and green lines are fuzzy sets. To find the intersection of these sets take the minimum of the two membership values at each point on the x-axis (see the formal definition above). For example, in the figure the red fuzzy set has a membership of ZERO when x = 4 and the green fuzzy set has a membership of ONE when x = 4. The intersection would have a membership value of ZERO when x = 4 because the minimum of zero and one is zero.
  • 16. Union                                                In this figure, the red and green lines are fuzzy sets. To find the union of these sets take the maximum of the two membership values at each point on the x-axis (see the formal definition above). For example, in the figure the red fuzzy set has a membership of ZERO when x = 4 and the green fuzzy set has a membership of ONE when x = 4. The union would have a membership value of ONE when x = 4 because the maximum of zero and one is one.
  • 17. Union
  • 18. The Concept of Hedging Much has been made about the relationship of Fuzzy Logic to the human thought process and the ability to handle imprecise conditions that may arise. One of the terms frequently seen in the Fuzzy Logic literature is the concept of Hedging . Hedging can be described as the modifiers to a certain set, much like the way adjectives and adverbs modify statements in the English language. When referring to a fuzzy set, hedges are used to adjust the characteristics of that fuzzy set by either: Approximating Complementing Diluting Intensifying
  • 19.
  • 20.  
  • 21.  
  • 22.  
  • 23.  
  • 24.  
  • 26.  
  • 27. Overview of Fuzzy Inference Process
  • 28. Step 1. Fuzzify Inputs
  • 29. Step 2. Apply Fuzzy Operator
  • 30. Step 3. Apply Implication Method
  • 31. Step 4. Aggregate All Outputs
  • 34.  
  • 35.
  • 36. Bus Time Tab les       How accurately do the schedules predict the actual travel time on the bus? Bus schedules are formulated on information that does not remain constant. They use fuzzy logic because it is impossible to give an exact answer to when the bus will be at a certain stop. Many unforseen incidents can occur. There can be accidents, abnormal traffic backups, or the bus could break down. An observant scheduler would take all these possibilities into account, and include them in a formula for figuring out the approximate schedule. It is that formula which imposes the fuzziness.
  • 37. Predicting genetic traits Genetic traits are a fuzzy situation for more than one reason. There is the fact that many traits can't be linked to a single gene. So only specific combinations of genes will create a given trait. Secondly, the dominant and recessive genes that are frequently illustrated with Punnet squares, are sets in fuzzy logic. The degree of membership in those sets is measured by the occurrence of a genetic trait. In clear cases of dominant and recessive genes, the possible degrees in the sets are pretty strict. Take, for instance, eye color. Two brown-eyed parents produce three blue-eyed children. Sounds impossible, right? Brown is dominant, so each parent must have the recessive gene within them. Their membership in the blue eye set must be small, but it is still there. So their children have the potential for high membership in the blue eye set, so that trait actually comes through. According to the Punnet square, 25% of their children should have blue eyes, with the other 75% having brown.
  • 38. Temperature control (heating/cooling) I don't think the university has figured this one out yet ;-) The trick in temperature control is to keep the room at the same temperature consistently. Well, that seems pretty easy, right? But how much does a room have to cool off before the heat kicks in again? There must be some standard, so the heat (or air conditioning) isn't in a constant state of turning on and off. Therein lies the fuzzy logic. The set is determined by what the temperature is actually set to. Membership in that set weakens as the room temperature varies from the set temperature. Once membership weakens to a certain point, temperature control kicks in to get the room back to the temperature it should be.
  • 39. Auto-Focus on a camera      How does the camera even know what to focus on? Auto-focus cameras are a great revolution for those who spent years struggling with &quot;old-fashioned&quot; cameras. These cameras somehow figure out, based on multitudes of inputs, what is meant to be the main object of the photo. It takes fuzzy logic to make these assumptions. Perhaps the standard is to focus on the object closest to the center of the viewer. Maybe it focuses on the object closest to the camera. It is not a precise science, and cameras err periodically. This margin of error is acceptable for the average camera owner, whose main usage is for snapshots. However, the &quot;old-fashioned&quot; manual focus cameras are preferred by most professional photographers. For any errors in those photos cannot be attributed to a mechanical glitch. The decision making in focusing a manual camera is fuzzy as well, but it is not controlled by a machine.
  • 40. Medical diagnoses How many of what kinds of symptoms will yield a diagnosis? How often are doctors in error? Surely everyone has seen those lists of symptoms for a horrible disease that say &quot;if you have at least 5 of these symptoms, you are at risk&quot;. It is a hypochondriac's haven. The question is, how do doctors go from that list of symptoms to a diagnosis? Fuzzy logic. There is no guaranteed system to reach a diagnosis. If there were, we wouldn't hear about cases of medical misdiagnosis. The diagnosis can only be some degree within the fuzzy set.
  • 41. Predicting travel time This is especially difficult for driving, since there are plenty of traffic situations that can occur to slow down travel. As with bus timetabling, predicting ETA's is a great exercise in fuzzy logic. That's why it is called an estimated time of arrival. A major player in predicting travel time is previous experience. It took me six hours to drive to Philadelphia last time, so it should take me about that amount of time when I make the trip again. Unfortunately, other factors are not typically considered. Weather, traffic, construction, accidents should all be added into the fuzzy equation to deliver a true estimate.
  • 42. Antilock Braking System It's probably something you hardly think about when you're slamming on the brakes in your car The point of an ABS is to monitor the braking system on the vehicle and release the brakes just before the wheels lock. A computer is involved in determining when the best time to do this is. Two main factors that go into determining this are the speed of the car when the brakes are applied, and how fast the brakes are depressed. Usually, the times you want the ABS to really work are when you're driving fast and slam on the brakes. There is, of course, a margin for error. It is the job of the ABS to be &quot;smart&quot; enough to never allow the error go past the point when the wheels will lock. (In other words, it doesn't allow the membership in the set to become too weak.)
  • 43. http://www.mathworks.com/access/helpdesk/help/toolbox/ fuzzy/fp351dup8.html http://en.wikipedia.org/wiki/Neural_network http://www.dementia.org Fuzzy/Neurofuzzy Logic [online] Neurosciences. Available from internet: < http://www.neurosciences.com/nn_fzy.htm >. Goebel, Greg. An Introduction to Fuzzy Control Systems [ online ] 23 December 1995.[ cited 24 October 1999 ]. Available from the World Wide Web: < http://www.isis.ecs.soton.ac.uk/research/nfinfo/fuzzycontrol.html >.
  • 44.  
  • 45.