SlideShare uma empresa Scribd logo
1 de 11
Baixar para ler offline
Module
          11
  Reasoning with
uncertainty-Fuzzy
       Reasoning
         Version 2 CSE IIT, Kharagpur
Lesson
            32
Fuzzy Reasoning -
       Continued
         Version 2 CSE IIT, Kharagpur
11.4 Fuzzy Inferencing

The process of fuzzy reasoning is incorporated into what is called a Fuzzy Inferencing
System. It is comprised of three steps that process the system inputs to the appropriate
system outputs. These steps are 1) Fuzzification, 2) Rule Evaluation, and
3) Defuzzification. The system is illustrated in the following figure.




Each step of fuzzy inferencing is described in the following sections.

11.4.1 Fuzzification

Fuzzification is the first step in the fuzzy inferencing process. This involves a domain
transformation where crisp inputs are transformed into fuzzy inputs. Crisp inputs are
exact inputs measured by sensors and passed into the control system for processing, such
as temperature, pressure, rpm's, etc.. Each crisp input that is to be processed by the FIU
has its own group of membership functions or sets to which they are transformed. This
group of membership functions exists within a universe of discourse that holds all
relevant values that the crisp input can possess. The following shows the structure of
membership functions within a universe of discourse for a crisp input.

                                                            Version 2 CSE IIT, Kharagpur
where:

degree of membership: degree to which a crisp value is compatible to a membership
function, value from 0 to 1, also known as truth value or fuzzy input.

membership function, MF: defines a fuzzy set by mapping crisp values from its domain
to the sets associated degree of membership.

crisp inputs: distinct or exact inputs to a certain system variable, usually measured
parameters external from the control system, e.g. 6 Volts.

label: descriptive name used to identify a membership function.

scope: or domain, the width of the membership function, the range of concepts, usually
numbers, over which a membership function is mapped.

universe of discourse: range of all possible values, or concepts, applicable to a system
variable.

When designing the number of membership functions for an input variable, labels must
initially be determined for the membership functions. The number of labels correspond to
the number of regions that the universe should be divided, such that each label describes
a region of behavior. A scope must be assigned to each membership function that
numerically identifies the range of input values that correspond to a label.

The shape of the membership function should be representative of the variable. However
this shape is also restricted by the computing resources available. Complicated shapes
require more complex descriptive equations or large lookup tables. The next figure
shows examples of possible shapes for membership functions.




                                                            Version 2 CSE IIT, Kharagpur
When considering the number of membership functions to exist within the universe of
discourse, one must consider that:

i) too few membership functions for a given application will cause the response of the
system to be too slow and fail to provide sufficient output control in time to recover from
a small input change. This may also cause oscillation in the system.

ii) too many membership functions may cause rapid firing of different rule consequents
for small changes in input, resulting in large output changes, which may cause instability
in the system.

These membership functions should also be overlapped. No overlap reduces a system
based on Boolean logic. Every input point on the universe of discourse should belong to
the scope of at least one but no more than two membership functions. No two
membership functions should have the same point of maximum truth, (1). When two
membership functions overlap, the sum of truths or grades for any point within the
overlap should be less than or equal to 1. Overlap should not cross the point of maximal
truth of either membership function. Marsh has proposed two indices to describe the
overlap of membership functions quantitatively. These are overlap ratio and overlap
robustness. The next figure illustrates their meaning.




                                                            Version 2 CSE IIT, Kharagpur
The fuzzification process maps each crisp input on the universe of discourse, and its
intersection with each membership function is transposed onto the µ axis as illustrated in
the previous figure. These µ values are the degrees of truth for each crisp input and are
associated with each label as fuzzy inputs. These fuzzy inputs are then passed on to the
next step, Rule Evaluation.

Fuzzy Rules

We briefly comment on so-called fuzzy IF-THEN rules introduced by Zadeh. They may
be understood as partial imprecise knowledge on some crisp function and have (in the
simplest case) the form IF x is Ai THEN y is Bi. They should not be immediately
understood as implications; think of a table relating values of a (dependent) variable y to
values of an (independent variable) x:

 x    A1      ...         An
 y    B1      ...         Bn

Ai, Bi may be crisp (concrete numbers) or fuzzy (small, medium, …) It may be
understood in two, in general non-equivalent ways: (1) as a listing of n possibilities,
called Mamdani's formula:

                    n
MAMD(x,y) ≡               (Ai(x) & Bi(y)).
                                    B




                    i=1



                                                             Version 2 CSE IIT, Kharagpur
(where x is A1 and y is B1 or x is A2 and y is B2 or …). (2) as a conjunction of
implications:

                 n
RULES(x,y) ≡          (Ai(x) → Bi(y)).
                                B




                 i=1
(if x is A1 then y is B1 and …).

Both MAMD and RULES define a binary fuzzy relation (given the interpretation of Ai's,
Bi's and truth functions of connectives). Now given a fuzzy input A*(x) one can consider
 B




the image B* of A*(x) under this relation, i.e.,

B*(y) ≡ x(A(x) & R(x,y)),

where R(x,y) is MAMD(x,y) (most frequent case) or RULES(x,y). Thus one gets an
operator assigning to each fuzzy input set A* a corresponding fuzzy output B*. Usually
this is combined with some fuzzifications converting a crisp input x0 to some fuzzy A*(x)
(saying something as "x is similar to x0") and a defuzzification converting the fuzzy image
B* to a crisp output y0. Thus one gets a crisp function; its relation to the set of rules may
be analyzed.

11.4.2 Rule Evaluation

Rule evaluation consists of a series of IF-Zadeh Operator-THEN rules. A decision
structure to determine the rules require familiarity with the system and its desired
operation. This knowledge often requires the assistance of interviewing operators and
experts. For this thesis this involved getting information on tremor from medical
practitioners in the field of rehabilitation medicine.

There is a strict syntax to these rules. This syntax is structured as:

IF antecedent 1 ZADEH OPERATOR antecedent 2 ............ THEN consequent 1 ZADEH
OPERATOR consequent 2..............

The antecedent consists of: input variable IS label, and is equal to its associated fuzzy
input or truth value µ(x).

The consequent consists of: output variable IS label, its value depends on the Zadeh
Operator which determines the type of inferencing used. There are three Zadeh
Operators, AND, OR, and NOT. The label of the consequent is associated with its output
membership function. The Zadeh Operator is limited to operating on two membership
functions, as discussed in the fuzzification process. Zadeh Operators are similar to
Boolean Operators such that:

AND represents the intersection or minimum between the two sets, expressed as:


                                                               Version 2 CSE IIT, Kharagpur
OR represents the union or maximum between the two sets, expressed as:



NOT represents the opposite of the set, expressed as:


The process for determining the result or rule strength of the rule may be done by taking
the minimum fuzzy input of antecedent 1 AND antecedent 2, min. inferencing. This
minimum result is equal to the consequent rule strength. If there are any consequents that
are the same then the maximum rule strength between similar consequents is taken,
referred to as maximum or max. inferencing, hence min./max. inferencing. This infers
that the rule that is most true is taken. These rule strength values are referred to as fuzzy
outputs.


11.4.3 Defuzzification

Defuzzification involves the process of transposing the fuzzy outputs to crisp outputs.
There are a variety of methods to achieve this, however this discussion is limited to the
process used in this thesis design.

A method of averaging is utilized here, and is known as the Center of Gravity method or
COG, it is a method of calculating centroids of sets. The output membership functions to
which the fuzzy outputs are transposed are restricted to being singletons. This is so to
limit the degree of calculation intensity in the microcontroller. The fuzzy outputs are
transposed to their membership functions similarly as in fuzzification. With COG the
singleton values of outputs are calculated using a weighted average, illustrated in the next
figure. The crisp output is the result and is passed out of the fuzzy inferencing system for
processing elsewhere.




                                                             Version 2 CSE IIT, Kharagpur
11.5 APPLICATIONS
Areas in which fuzzy logic has been successfully applied are often quite concrete.
The first major commercial application was in the area of cement kiln control, an
operation which requires that an operator monitor four internal states of the kiln,
control four sets of operations, and dynamically manage 40 or 50 "rules of thumb"
about their interrelationships, all with the goal of controlling a highly complex set
of chemical interactions. One such rule is "If the oxygen percentage is rather high
and the free-lime and kiln- drive torque rate is normal, decrease the flow of gas
and slightly reduce the fuel rate".


Other applications which have benefited through the use of fuzzy systems theory
have been information retrieval systems, a navigation system for automatic cars, a
predicative fuzzy-logic controller for automatic operation of trains, laboratory
water level controllers, controllers for robot arc-welders, feature-definition
controllers for robot vision, graphics controllers for automated police sketchers,
and more.

Expert systems have been the most obvious recipients of the benefits of fuzzy
logic, since their domain is often inherently fuzzy. Examples of expert systems
with fuzzy logic central to their control are decision-support systems, financial
planners, diagnostic systems for determining soybean pathology, and a
meteorological expert system in China for determining areas in which to establish
rubber tree orchards.

                                                             Version 2 CSE IIT, Kharagpur
Questions
1. In a class of 10 students (the universal set), 3 students speaks German to some degree,
namely Alice to degree 0.7, Bob to degree 1.0, Cathrine to degree 0.4. What is the size of
the subset A of German speaking students in the class?

2. In the above class, argue that the fuzzy subset B of students speaking a very good
German is a fuzzy subset of A.

3. Let A and B be fuzzy subsets of a universal set X. Show that



4. For arbitrary fuzzy subsets A and B, show that



5. Let X = {0, 1, 2, …., 6}, and let two fuzzy subsets, A and B, of X be defined by:




Find:
                and


Solutions
1. |A| = 0.7 + 1.0 + 0.4 = 2.1

2. The addition of “very” strengthens the requirement, which consequently will be less
satisfied. Thus for all                    which is precisely what characterized the fuzzy
subset relation



                                                            Version 2 CSE IIT, Kharagpur
3. Answer




4. Answer




5. Answer




            Version 2 CSE IIT, Kharagpur

Mais conteúdo relacionado

Mais procurados

Selection Sort - Vipin Ramola
Selection Sort - Vipin RamolaSelection Sort - Vipin Ramola
Selection Sort - Vipin RamolaDipayan Sarkar
 
Logistic Regression Classifier - Conceptual Guide
Logistic Regression Classifier - Conceptual GuideLogistic Regression Classifier - Conceptual Guide
Logistic Regression Classifier - Conceptual GuideCaglar Subasi
 
Operations research - Chapter 04
Operations research - Chapter 04Operations research - Chapter 04
Operations research - Chapter 042013901097
 
Operation research - Chapter 02
Operation research - Chapter 02Operation research - Chapter 02
Operation research - Chapter 022013901097
 
Bayesian analysis of shape parameter of Lomax distribution using different lo...
Bayesian analysis of shape parameter of Lomax distribution using different lo...Bayesian analysis of shape parameter of Lomax distribution using different lo...
Bayesian analysis of shape parameter of Lomax distribution using different lo...Premier Publishers
 
Intelligent Control and Fuzzy Logic
Intelligent Control and Fuzzy LogicIntelligent Control and Fuzzy Logic
Intelligent Control and Fuzzy LogicPraneel Chand
 
IRJET- Design of Photovoltaic System using Fuzzy Logic Controller
IRJET- Design of Photovoltaic System using Fuzzy Logic ControllerIRJET- Design of Photovoltaic System using Fuzzy Logic Controller
IRJET- Design of Photovoltaic System using Fuzzy Logic ControllerIRJET Journal
 
Presentation on the topic selection sort
Presentation on the topic selection sortPresentation on the topic selection sort
Presentation on the topic selection sortDistrict Administration
 
ANALYTICAL FORMULATIONS FOR THE LEVEL BASED WEIGHTED AVERAGE VALUE OF DISCRET...
ANALYTICAL FORMULATIONS FOR THE LEVEL BASED WEIGHTED AVERAGE VALUE OF DISCRET...ANALYTICAL FORMULATIONS FOR THE LEVEL BASED WEIGHTED AVERAGE VALUE OF DISCRET...
ANALYTICAL FORMULATIONS FOR THE LEVEL BASED WEIGHTED AVERAGE VALUE OF DISCRET...ijsc
 
Optimality conditions for Equality Constrained Optimization Problems
Optimality conditions for Equality Constrained Optimization ProblemsOptimality conditions for Equality Constrained Optimization Problems
Optimality conditions for Equality Constrained Optimization Problemsinventionjournals
 
Study on Some Key Issues of Synergetic Neural Network
Study on Some Key Issues of Synergetic Neural Network  Study on Some Key Issues of Synergetic Neural Network
Study on Some Key Issues of Synergetic Neural Network Jie Bao
 
Selection sort 1
Selection sort 1Selection sort 1
Selection sort 1asmhemu
 
Fuzzy logic systems
Fuzzy logic systemsFuzzy logic systems
Fuzzy logic systemsPham Tung
 
Recursion for GCE AS Computing
Recursion for GCE AS ComputingRecursion for GCE AS Computing
Recursion for GCE AS Computingpgmckillop
 

Mais procurados (19)

Selection Sort - Vipin Ramola
Selection Sort - Vipin RamolaSelection Sort - Vipin Ramola
Selection Sort - Vipin Ramola
 
xfem using 1D stefan problem
xfem using 1D stefan problemxfem using 1D stefan problem
xfem using 1D stefan problem
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Fuzzy inference systems
Fuzzy inference systemsFuzzy inference systems
Fuzzy inference systems
 
Logistic Regression Classifier - Conceptual Guide
Logistic Regression Classifier - Conceptual GuideLogistic Regression Classifier - Conceptual Guide
Logistic Regression Classifier - Conceptual Guide
 
Operations research - Chapter 04
Operations research - Chapter 04Operations research - Chapter 04
Operations research - Chapter 04
 
Operation research - Chapter 02
Operation research - Chapter 02Operation research - Chapter 02
Operation research - Chapter 02
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Bayesian analysis of shape parameter of Lomax distribution using different lo...
Bayesian analysis of shape parameter of Lomax distribution using different lo...Bayesian analysis of shape parameter of Lomax distribution using different lo...
Bayesian analysis of shape parameter of Lomax distribution using different lo...
 
Intelligent Control and Fuzzy Logic
Intelligent Control and Fuzzy LogicIntelligent Control and Fuzzy Logic
Intelligent Control and Fuzzy Logic
 
IRJET- Design of Photovoltaic System using Fuzzy Logic Controller
IRJET- Design of Photovoltaic System using Fuzzy Logic ControllerIRJET- Design of Photovoltaic System using Fuzzy Logic Controller
IRJET- Design of Photovoltaic System using Fuzzy Logic Controller
 
Presentation on the topic selection sort
Presentation on the topic selection sortPresentation on the topic selection sort
Presentation on the topic selection sort
 
ANALYTICAL FORMULATIONS FOR THE LEVEL BASED WEIGHTED AVERAGE VALUE OF DISCRET...
ANALYTICAL FORMULATIONS FOR THE LEVEL BASED WEIGHTED AVERAGE VALUE OF DISCRET...ANALYTICAL FORMULATIONS FOR THE LEVEL BASED WEIGHTED AVERAGE VALUE OF DISCRET...
ANALYTICAL FORMULATIONS FOR THE LEVEL BASED WEIGHTED AVERAGE VALUE OF DISCRET...
 
Optimality conditions for Equality Constrained Optimization Problems
Optimality conditions for Equality Constrained Optimization ProblemsOptimality conditions for Equality Constrained Optimization Problems
Optimality conditions for Equality Constrained Optimization Problems
 
Study on Some Key Issues of Synergetic Neural Network
Study on Some Key Issues of Synergetic Neural Network  Study on Some Key Issues of Synergetic Neural Network
Study on Some Key Issues of Synergetic Neural Network
 
Selection sort 1
Selection sort 1Selection sort 1
Selection sort 1
 
Fuzzy logic systems
Fuzzy logic systemsFuzzy logic systems
Fuzzy logic systems
 
Ada notes
Ada notesAda notes
Ada notes
 
Recursion for GCE AS Computing
Recursion for GCE AS ComputingRecursion for GCE AS Computing
Recursion for GCE AS Computing
 

Destaque

Pollution in the sponge iron industry
Pollution in the sponge iron industryPollution in the sponge iron industry
Pollution in the sponge iron industrySusmita Dasgupta
 
FACTORS AFFECTING SEASONING OF TIMBER USING SAWDUST OPERATED KILN
FACTORS AFFECTING SEASONING OF TIMBER USING SAWDUST OPERATED KILN  FACTORS AFFECTING SEASONING OF TIMBER USING SAWDUST OPERATED KILN
FACTORS AFFECTING SEASONING OF TIMBER USING SAWDUST OPERATED KILN Hiran Amarasekera
 
Cement raw mix characteristics
Cement raw mix characteristicsCement raw mix characteristics
Cement raw mix characteristicspradeepdeepi
 
Report on fuzzy
Report on fuzzyReport on fuzzy
Report on fuzzypiyushtwri
 

Destaque (8)

Pollution in the sponge iron industry
Pollution in the sponge iron industryPollution in the sponge iron industry
Pollution in the sponge iron industry
 
FACTORS AFFECTING SEASONING OF TIMBER USING SAWDUST OPERATED KILN
FACTORS AFFECTING SEASONING OF TIMBER USING SAWDUST OPERATED KILN  FACTORS AFFECTING SEASONING OF TIMBER USING SAWDUST OPERATED KILN
FACTORS AFFECTING SEASONING OF TIMBER USING SAWDUST OPERATED KILN
 
Cement raw mix characteristics
Cement raw mix characteristicsCement raw mix characteristics
Cement raw mix characteristics
 
Fuzzy Logic
Fuzzy LogicFuzzy Logic
Fuzzy Logic
 
Sponge Iron Industry
Sponge Iron IndustrySponge Iron Industry
Sponge Iron Industry
 
Report on fuzzy
Report on fuzzyReport on fuzzy
Report on fuzzy
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Intern report
Intern reportIntern report
Intern report
 

Semelhante a Lesson 32

Fuzzy Logic Controller for Modern Power Systems
Fuzzy Logic Controller for Modern Power SystemsFuzzy Logic Controller for Modern Power Systems
Fuzzy Logic Controller for Modern Power SystemsIRJET Journal
 
Fuzzy Logic Controller.pptx
Fuzzy Logic Controller.pptxFuzzy Logic Controller.pptx
Fuzzy Logic Controller.pptxMahuaPal6
 
Full parameterization process
Full parameterization processFull parameterization process
Full parameterization processOsama Awad
 
Dynamic Kohonen Network for Representing Changes in Inputs
Dynamic Kohonen Network for Representing Changes in InputsDynamic Kohonen Network for Representing Changes in Inputs
Dynamic Kohonen Network for Representing Changes in InputsJean Fecteau
 
Fuzzy Control of a Servomechanism: Practical Approach using Mamdani and Takag...
Fuzzy Control of a Servomechanism: Practical Approach using Mamdani and Takag...Fuzzy Control of a Servomechanism: Practical Approach using Mamdani and Takag...
Fuzzy Control of a Servomechanism: Practical Approach using Mamdani and Takag...ijfls
 
A Mixed Binary-Real NSGA II Algorithm Ensuring Both Accuracy and Interpretabi...
A Mixed Binary-Real NSGA II Algorithm Ensuring Both Accuracy and Interpretabi...A Mixed Binary-Real NSGA II Algorithm Ensuring Both Accuracy and Interpretabi...
A Mixed Binary-Real NSGA II Algorithm Ensuring Both Accuracy and Interpretabi...IJECEIAES
 
Transaction Management, Recovery and Query Processing.pptx
Transaction Management, Recovery and Query Processing.pptxTransaction Management, Recovery and Query Processing.pptx
Transaction Management, Recovery and Query Processing.pptxRoshni814224
 
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
 
User_42751212015Module1and2pagestocompetework.pdf.docx
User_42751212015Module1and2pagestocompetework.pdf.docxUser_42751212015Module1and2pagestocompetework.pdf.docx
User_42751212015Module1and2pagestocompetework.pdf.docxdickonsondorris
 
AN IMPROVED DECISION SUPPORT SYSTEM BASED ON THE BDM (BIT DECISION MAKING) ME...
AN IMPROVED DECISION SUPPORT SYSTEM BASED ON THE BDM (BIT DECISION MAKING) ME...AN IMPROVED DECISION SUPPORT SYSTEM BASED ON THE BDM (BIT DECISION MAKING) ME...
AN IMPROVED DECISION SUPPORT SYSTEM BASED ON THE BDM (BIT DECISION MAKING) ME...ijmpict
 
Hybrid neuro-fuzzy-approach-for-automatic-generation-control-of-two--area-int...
Hybrid neuro-fuzzy-approach-for-automatic-generation-control-of-two--area-int...Hybrid neuro-fuzzy-approach-for-automatic-generation-control-of-two--area-int...
Hybrid neuro-fuzzy-approach-for-automatic-generation-control-of-two--area-int...Cemal Ardil
 
On fuzzy concepts in engineering ppt. ncce
On fuzzy concepts in engineering ppt. ncceOn fuzzy concepts in engineering ppt. ncce
On fuzzy concepts in engineering ppt. ncceSurender Singh
 
AN OPTIMAL FUZZY LOGIC SYSTEM FOR A NONLINEAR DYNAMIC SYSTEM USING A FUZZY BA...
AN OPTIMAL FUZZY LOGIC SYSTEM FOR A NONLINEAR DYNAMIC SYSTEM USING A FUZZY BA...AN OPTIMAL FUZZY LOGIC SYSTEM FOR A NONLINEAR DYNAMIC SYSTEM USING A FUZZY BA...
AN OPTIMAL FUZZY LOGIC SYSTEM FOR A NONLINEAR DYNAMIC SYSTEM USING A FUZZY BA...IJCNCJournal
 

Semelhante a Lesson 32 (20)

Fuzzy Logic Controller for Modern Power Systems
Fuzzy Logic Controller for Modern Power SystemsFuzzy Logic Controller for Modern Power Systems
Fuzzy Logic Controller for Modern Power Systems
 
Fuzzy Logic Controller.pptx
Fuzzy Logic Controller.pptxFuzzy Logic Controller.pptx
Fuzzy Logic Controller.pptx
 
SCA FL-04.pdf
SCA FL-04.pdfSCA FL-04.pdf
SCA FL-04.pdf
 
Fuzzy
FuzzyFuzzy
Fuzzy
 
Full parameterization process
Full parameterization processFull parameterization process
Full parameterization process
 
Dynamic Kohonen Network for Representing Changes in Inputs
Dynamic Kohonen Network for Representing Changes in InputsDynamic Kohonen Network for Representing Changes in Inputs
Dynamic Kohonen Network for Representing Changes in Inputs
 
Ejsr 86 3
Ejsr 86 3Ejsr 86 3
Ejsr 86 3
 
Fuzzy Control of a Servomechanism: Practical Approach using Mamdani and Takag...
Fuzzy Control of a Servomechanism: Practical Approach using Mamdani and Takag...Fuzzy Control of a Servomechanism: Practical Approach using Mamdani and Takag...
Fuzzy Control of a Servomechanism: Practical Approach using Mamdani and Takag...
 
A Mixed Binary-Real NSGA II Algorithm Ensuring Both Accuracy and Interpretabi...
A Mixed Binary-Real NSGA II Algorithm Ensuring Both Accuracy and Interpretabi...A Mixed Binary-Real NSGA II Algorithm Ensuring Both Accuracy and Interpretabi...
A Mixed Binary-Real NSGA II Algorithm Ensuring Both Accuracy and Interpretabi...
 
Transaction Management, Recovery and Query Processing.pptx
Transaction Management, Recovery and Query Processing.pptxTransaction Management, Recovery and Query Processing.pptx
Transaction Management, Recovery and Query Processing.pptx
 
solver (1)
solver (1)solver (1)
solver (1)
 
109 me0422
109 me0422109 me0422
109 me0422
 
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...
 
User_42751212015Module1and2pagestocompetework.pdf.docx
User_42751212015Module1and2pagestocompetework.pdf.docxUser_42751212015Module1and2pagestocompetework.pdf.docx
User_42751212015Module1and2pagestocompetework.pdf.docx
 
F010434147
F010434147F010434147
F010434147
 
AN IMPROVED DECISION SUPPORT SYSTEM BASED ON THE BDM (BIT DECISION MAKING) ME...
AN IMPROVED DECISION SUPPORT SYSTEM BASED ON THE BDM (BIT DECISION MAKING) ME...AN IMPROVED DECISION SUPPORT SYSTEM BASED ON THE BDM (BIT DECISION MAKING) ME...
AN IMPROVED DECISION SUPPORT SYSTEM BASED ON THE BDM (BIT DECISION MAKING) ME...
 
Systolic, Transposed & Semi-Parallel Architectures and Programming
Systolic, Transposed & Semi-Parallel Architectures and ProgrammingSystolic, Transposed & Semi-Parallel Architectures and Programming
Systolic, Transposed & Semi-Parallel Architectures and Programming
 
Hybrid neuro-fuzzy-approach-for-automatic-generation-control-of-two--area-int...
Hybrid neuro-fuzzy-approach-for-automatic-generation-control-of-two--area-int...Hybrid neuro-fuzzy-approach-for-automatic-generation-control-of-two--area-int...
Hybrid neuro-fuzzy-approach-for-automatic-generation-control-of-two--area-int...
 
On fuzzy concepts in engineering ppt. ncce
On fuzzy concepts in engineering ppt. ncceOn fuzzy concepts in engineering ppt. ncce
On fuzzy concepts in engineering ppt. ncce
 
AN OPTIMAL FUZZY LOGIC SYSTEM FOR A NONLINEAR DYNAMIC SYSTEM USING A FUZZY BA...
AN OPTIMAL FUZZY LOGIC SYSTEM FOR A NONLINEAR DYNAMIC SYSTEM USING A FUZZY BA...AN OPTIMAL FUZZY LOGIC SYSTEM FOR A NONLINEAR DYNAMIC SYSTEM USING A FUZZY BA...
AN OPTIMAL FUZZY LOGIC SYSTEM FOR A NONLINEAR DYNAMIC SYSTEM USING A FUZZY BA...
 

Mais de Avijit Kumar (20)

Lesson 18
Lesson 18Lesson 18
Lesson 18
 
Lesson 19
Lesson 19Lesson 19
Lesson 19
 
Lesson 20
Lesson 20Lesson 20
Lesson 20
 
Lesson 21
Lesson 21Lesson 21
Lesson 21
 
Lesson 23
Lesson 23Lesson 23
Lesson 23
 
Lesson 25
Lesson 25Lesson 25
Lesson 25
 
Lesson 24
Lesson 24Lesson 24
Lesson 24
 
Lesson 22
Lesson 22Lesson 22
Lesson 22
 
Lesson 26
Lesson 26Lesson 26
Lesson 26
 
Lesson 27
Lesson 27Lesson 27
Lesson 27
 
Lesson 30
Lesson 30Lesson 30
Lesson 30
 
Lesson 31
Lesson 31Lesson 31
Lesson 31
 
Lesson 33
Lesson 33Lesson 33
Lesson 33
 
Lesson 36
Lesson 36Lesson 36
Lesson 36
 
Lesson 35
Lesson 35Lesson 35
Lesson 35
 
Lesson 37
Lesson 37Lesson 37
Lesson 37
 
Lesson 39
Lesson 39Lesson 39
Lesson 39
 
Lesson 38
Lesson 38Lesson 38
Lesson 38
 
Lesson 41
Lesson 41Lesson 41
Lesson 41
 
Lesson 40
Lesson 40Lesson 40
Lesson 40
 

Último

SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 

Último (20)

SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 

Lesson 32

  • 1. Module 11 Reasoning with uncertainty-Fuzzy Reasoning Version 2 CSE IIT, Kharagpur
  • 2. Lesson 32 Fuzzy Reasoning - Continued Version 2 CSE IIT, Kharagpur
  • 3. 11.4 Fuzzy Inferencing The process of fuzzy reasoning is incorporated into what is called a Fuzzy Inferencing System. It is comprised of three steps that process the system inputs to the appropriate system outputs. These steps are 1) Fuzzification, 2) Rule Evaluation, and 3) Defuzzification. The system is illustrated in the following figure. Each step of fuzzy inferencing is described in the following sections. 11.4.1 Fuzzification Fuzzification is the first step in the fuzzy inferencing process. This involves a domain transformation where crisp inputs are transformed into fuzzy inputs. Crisp inputs are exact inputs measured by sensors and passed into the control system for processing, such as temperature, pressure, rpm's, etc.. Each crisp input that is to be processed by the FIU has its own group of membership functions or sets to which they are transformed. This group of membership functions exists within a universe of discourse that holds all relevant values that the crisp input can possess. The following shows the structure of membership functions within a universe of discourse for a crisp input. Version 2 CSE IIT, Kharagpur
  • 4. where: degree of membership: degree to which a crisp value is compatible to a membership function, value from 0 to 1, also known as truth value or fuzzy input. membership function, MF: defines a fuzzy set by mapping crisp values from its domain to the sets associated degree of membership. crisp inputs: distinct or exact inputs to a certain system variable, usually measured parameters external from the control system, e.g. 6 Volts. label: descriptive name used to identify a membership function. scope: or domain, the width of the membership function, the range of concepts, usually numbers, over which a membership function is mapped. universe of discourse: range of all possible values, or concepts, applicable to a system variable. When designing the number of membership functions for an input variable, labels must initially be determined for the membership functions. The number of labels correspond to the number of regions that the universe should be divided, such that each label describes a region of behavior. A scope must be assigned to each membership function that numerically identifies the range of input values that correspond to a label. The shape of the membership function should be representative of the variable. However this shape is also restricted by the computing resources available. Complicated shapes require more complex descriptive equations or large lookup tables. The next figure shows examples of possible shapes for membership functions. Version 2 CSE IIT, Kharagpur
  • 5. When considering the number of membership functions to exist within the universe of discourse, one must consider that: i) too few membership functions for a given application will cause the response of the system to be too slow and fail to provide sufficient output control in time to recover from a small input change. This may also cause oscillation in the system. ii) too many membership functions may cause rapid firing of different rule consequents for small changes in input, resulting in large output changes, which may cause instability in the system. These membership functions should also be overlapped. No overlap reduces a system based on Boolean logic. Every input point on the universe of discourse should belong to the scope of at least one but no more than two membership functions. No two membership functions should have the same point of maximum truth, (1). When two membership functions overlap, the sum of truths or grades for any point within the overlap should be less than or equal to 1. Overlap should not cross the point of maximal truth of either membership function. Marsh has proposed two indices to describe the overlap of membership functions quantitatively. These are overlap ratio and overlap robustness. The next figure illustrates their meaning. Version 2 CSE IIT, Kharagpur
  • 6. The fuzzification process maps each crisp input on the universe of discourse, and its intersection with each membership function is transposed onto the µ axis as illustrated in the previous figure. These µ values are the degrees of truth for each crisp input and are associated with each label as fuzzy inputs. These fuzzy inputs are then passed on to the next step, Rule Evaluation. Fuzzy Rules We briefly comment on so-called fuzzy IF-THEN rules introduced by Zadeh. They may be understood as partial imprecise knowledge on some crisp function and have (in the simplest case) the form IF x is Ai THEN y is Bi. They should not be immediately understood as implications; think of a table relating values of a (dependent) variable y to values of an (independent variable) x: x A1 ... An y B1 ... Bn Ai, Bi may be crisp (concrete numbers) or fuzzy (small, medium, …) It may be understood in two, in general non-equivalent ways: (1) as a listing of n possibilities, called Mamdani's formula: n MAMD(x,y) ≡ (Ai(x) & Bi(y)). B i=1 Version 2 CSE IIT, Kharagpur
  • 7. (where x is A1 and y is B1 or x is A2 and y is B2 or …). (2) as a conjunction of implications: n RULES(x,y) ≡ (Ai(x) → Bi(y)). B i=1 (if x is A1 then y is B1 and …). Both MAMD and RULES define a binary fuzzy relation (given the interpretation of Ai's, Bi's and truth functions of connectives). Now given a fuzzy input A*(x) one can consider B the image B* of A*(x) under this relation, i.e., B*(y) ≡ x(A(x) & R(x,y)), where R(x,y) is MAMD(x,y) (most frequent case) or RULES(x,y). Thus one gets an operator assigning to each fuzzy input set A* a corresponding fuzzy output B*. Usually this is combined with some fuzzifications converting a crisp input x0 to some fuzzy A*(x) (saying something as "x is similar to x0") and a defuzzification converting the fuzzy image B* to a crisp output y0. Thus one gets a crisp function; its relation to the set of rules may be analyzed. 11.4.2 Rule Evaluation Rule evaluation consists of a series of IF-Zadeh Operator-THEN rules. A decision structure to determine the rules require familiarity with the system and its desired operation. This knowledge often requires the assistance of interviewing operators and experts. For this thesis this involved getting information on tremor from medical practitioners in the field of rehabilitation medicine. There is a strict syntax to these rules. This syntax is structured as: IF antecedent 1 ZADEH OPERATOR antecedent 2 ............ THEN consequent 1 ZADEH OPERATOR consequent 2.............. The antecedent consists of: input variable IS label, and is equal to its associated fuzzy input or truth value µ(x). The consequent consists of: output variable IS label, its value depends on the Zadeh Operator which determines the type of inferencing used. There are three Zadeh Operators, AND, OR, and NOT. The label of the consequent is associated with its output membership function. The Zadeh Operator is limited to operating on two membership functions, as discussed in the fuzzification process. Zadeh Operators are similar to Boolean Operators such that: AND represents the intersection or minimum between the two sets, expressed as: Version 2 CSE IIT, Kharagpur
  • 8. OR represents the union or maximum between the two sets, expressed as: NOT represents the opposite of the set, expressed as: The process for determining the result or rule strength of the rule may be done by taking the minimum fuzzy input of antecedent 1 AND antecedent 2, min. inferencing. This minimum result is equal to the consequent rule strength. If there are any consequents that are the same then the maximum rule strength between similar consequents is taken, referred to as maximum or max. inferencing, hence min./max. inferencing. This infers that the rule that is most true is taken. These rule strength values are referred to as fuzzy outputs. 11.4.3 Defuzzification Defuzzification involves the process of transposing the fuzzy outputs to crisp outputs. There are a variety of methods to achieve this, however this discussion is limited to the process used in this thesis design. A method of averaging is utilized here, and is known as the Center of Gravity method or COG, it is a method of calculating centroids of sets. The output membership functions to which the fuzzy outputs are transposed are restricted to being singletons. This is so to limit the degree of calculation intensity in the microcontroller. The fuzzy outputs are transposed to their membership functions similarly as in fuzzification. With COG the singleton values of outputs are calculated using a weighted average, illustrated in the next figure. The crisp output is the result and is passed out of the fuzzy inferencing system for processing elsewhere. Version 2 CSE IIT, Kharagpur
  • 9. 11.5 APPLICATIONS Areas in which fuzzy logic has been successfully applied are often quite concrete. The first major commercial application was in the area of cement kiln control, an operation which requires that an operator monitor four internal states of the kiln, control four sets of operations, and dynamically manage 40 or 50 "rules of thumb" about their interrelationships, all with the goal of controlling a highly complex set of chemical interactions. One such rule is "If the oxygen percentage is rather high and the free-lime and kiln- drive torque rate is normal, decrease the flow of gas and slightly reduce the fuel rate". Other applications which have benefited through the use of fuzzy systems theory have been information retrieval systems, a navigation system for automatic cars, a predicative fuzzy-logic controller for automatic operation of trains, laboratory water level controllers, controllers for robot arc-welders, feature-definition controllers for robot vision, graphics controllers for automated police sketchers, and more. Expert systems have been the most obvious recipients of the benefits of fuzzy logic, since their domain is often inherently fuzzy. Examples of expert systems with fuzzy logic central to their control are decision-support systems, financial planners, diagnostic systems for determining soybean pathology, and a meteorological expert system in China for determining areas in which to establish rubber tree orchards. Version 2 CSE IIT, Kharagpur
  • 10. Questions 1. In a class of 10 students (the universal set), 3 students speaks German to some degree, namely Alice to degree 0.7, Bob to degree 1.0, Cathrine to degree 0.4. What is the size of the subset A of German speaking students in the class? 2. In the above class, argue that the fuzzy subset B of students speaking a very good German is a fuzzy subset of A. 3. Let A and B be fuzzy subsets of a universal set X. Show that 4. For arbitrary fuzzy subsets A and B, show that 5. Let X = {0, 1, 2, …., 6}, and let two fuzzy subsets, A and B, of X be defined by: Find: and Solutions 1. |A| = 0.7 + 1.0 + 0.4 = 2.1 2. The addition of “very” strengthens the requirement, which consequently will be less satisfied. Thus for all which is precisely what characterized the fuzzy subset relation Version 2 CSE IIT, Kharagpur
  • 11. 3. Answer 4. Answer 5. Answer Version 2 CSE IIT, Kharagpur