Fuzzy Logic & Pattern Recognition
Fuzzy Logic & Pattern Recognition
What Is AI?
Fuzzy Logic
Pattern Recognition
2
What Is AI?
Artificial intelligence (AI) is a
wide-ranging branch of
computer science concerned
with building smart machines
capable of performing tasks
that typically require human
intelligence.
3
FUZZY LOGIC
A fuzzy logic system works on the
principle of assigning a particular
output depending on the
probability of the state of the
input.
The concept of deciding the
output is based on assumptions. It
works based on sets. Each set
represents some variables defining 4
the possible state of the output.
Fuzzy Logic Architecture
The fuzzy logic architecture consists of four main
parts:
5
How Fuzzy Logic
Works? The temperature sensor measures
the temperature values of the
rooms. The obtained values are
taken and then given to the
fuzzifier.
The fuzzifier assigns variables for
each measured value and the rate
of change of measured value.
6
How Fuzzy Logic
Works?
For example, if Room is too hot AND the room is getting heated up
rapidly, then set the fan speed to High.
If Room is too hot AND the room is getting heated up slowly, then
set the fan speed to less than High.
The next step involves converting this linguistic output variable
into numerical variables or logical variables used to drive the fan
motor driver.
The final step involves controlling the fan speed by giving proper
input to the fan motor driver.
7
Advantage & Disadvantage Of Fuzzy
Logic
Advantage Of Fuzzy Logic Disadvantage Of Fuzzy Logic
• The structure of Fuzzy Logic Systems • Fuzzy logic is not always accurate. As
is easy and understandable. the results are based on assumptions and
may not be widely accepted.
• Fuzzy logic is widely used
for commercial and practical purposes. • It cannot recognize machine learning as-
well-as neural network type patterns.
• It helps you to control machines and
consumer products. • Validation and Verification of a fuzzy
knowledge-based system needs extensive
• Inexpensive sensors can be used which testing with hardware.
helps you to keep the overall system cost
and complexity low. • Setting exact, fuzzy rules and,
membership functions is a difficult task
8
Use Case Of Fuzzy
Logic
Fuzzy logic is used in Natural language processing and
various intensive applications in Artificial Intelligence.
It is extensively used in modern control systems such as
expert systems.
Fuzzy Logic mimics how a person would make decisions,
much faster. Thus, you can use it with Neural Networks.
9
Fuzzy Logic Real – World
Application
Aerospace Application
Fuzzy logic has been used in numerous
applications such as:
Industrial Sector
• Facial pattern recognition,
Medical • Air conditioners,
Finance • Washing machines,
• Vacuum cleaners,
Electronics • Transmission systems,
Securities
• Control of subway systems
• Knowledge-based systems for multi
Pattern Recognition and Classification objective optimization of power
systems.
10
Pattern Recognition
Pattern recognition is the process of
recognizing patterns by using a
machine learning algorithm.
Pattern recognition can be defined as
the classification of data based on
knowledge already gained or on
statistical information extracted from
patterns and/or their representation.
One of the important aspects of pattern
recognition is its application potential. 11
Pattern Recognition Explanation
In a typical pattern recognition application, the raw data is processed
and converted into a form that is amenable for a machine to use.
16
SOLUTION APPROACH
Mathematical programming is a declarative approach where the modeler formulates a
mathematical optimization model that captures the key aspects of a complex decision problem.
We now present a MIP formulation of the TSP that identifies the shortest route that goes to all
the cities once and returns to the origin city.
17
Problem Characteristics
TSP Problem characteristic Satisfied Reason
Predictable?
Is a good solution absolute or Absolute Absolute solution : once you get one solution
relative? you do need to bother about other possible
solution.
Relative solution : once you get one solution you
have to find another possible solution to check
which solution to check which solution is
best( i.e. low cost).
By considering this TSP is absolute.
18
TSP Problem characteristic Satisfied Reason
Is this solution a state or path? path Is this solution a state ore path to a state?
-For natural language understanding , some of
the words have different interpretations .
therefore sentences may Cause ambiguity.
So in the TSP(goal state) describe path to state.
What is the role of knowledge? - Lot of knowledge helps to constrain the search
for a solution.
Does the task require human- No Conversational
interaction? in which there is intermediate communication
between a person and the computer , either to
provide additional assistance to the computer or
to provide additional information to the user or
both.
19
20