Professional Documents
Culture Documents
• Neural Networks
• Evolutionary Computations (Genetic Algorithms)
• Swarm Intelligence (Particle Swarm, Ant Colony, etc.)
• Fuzzy Systems Swarm-intelligence principles inspired by the collective insect
• Artificial Immune Systems societies are used for developing computer algorithms and motion
control principles for robotics.
1
21-11-2020
2
21-11-2020
Velocity Matching
Only three simple rules
• Rule 2: Match the velocity of neighboring birds
Flock Centering
• Rule 3: Stay near neighboring birds
Swarming - Characteristics
• Simple rules for each individual
• No central control
• Decentralized and hence robust
• Emergent
• Performs complex functions
• members try to stay as close as possible to the center of the flock or school
centering the flock locally reduces computational complexity
3
21-11-2020
4
21-11-2020
Applications of PSO
• Neural networks like Human tumor analysis, Computer numerically
controlled milling optimization;
• Ingredient mix optimization;
• Pressure vessel (design a container of compressed air, with many
Ant Colony Optimization
constraints).
5
21-11-2020
• The ant on shorter path has a shorter to-and-fro time • The density of pheromone on the shorter path is higher because
from it’s nest to the food. of 2 passes by the ant (as compared to 1 by the other).
• The next ant takes the shorter route. • Over many iterations, more ants begin using the path
with higher pheromone, thereby further reinforcing
it.
6
21-11-2020
List of applications using SI growing fast • Neural networks are parallel computing devices, which is
Swarm Intelligence-based techniques can be used in a number of basically an attempt to make a computer model of the brain.
.
applications
• Controlling unmanned vehicles. • The main objective is to develop a system to perform various
computational tasks faster than the traditional systems.
• Satellite Image Classification
• These tasks include pattern
• Movie effects recognition and classification,
• A 1992 paper by M. Anthony Lewis and George A. Bekey discusses the possibility of approximation,
using swarm intelligence to control nanobots within the body for the purpose of killing
cancer tumors. optimization,
• Conversely al-Rifaie and Aber have used Stochastic Diffusion Search to help locate and data clustering.
tumours.
• Swarm intelligence has also been applied for data mining.
7
21-11-2020
Biological Neuron
What is Artificial Neural Network? A nerve cell neuron is a special biological cell that processes information.
According to an estimation, there are huge number of neurons, approximately 1011 with
Artificial Neural Network ANN is an efficient computing numerous interconnections, approximately 1015.
Schematic Diagram
system whose central theme is borrowed from the analogy
of biological neural networks.
let us take a look at the similarities based on the terminology between these two.
As shown in the above diagram, a typical neuron consists of the
following four parts with the help of which we can explain its
working − Biological Neural Artificial Neural
•Dendrites − They are tree-like branches, responsible for receiving Network BNNBNN Network ANNANN
the information from other neurons it is connected to. In other Soma Node
sense, we can say that they are like the ears of neuron.
Dendrites Input
•Soma − It is the cell body of the neuron and is responsible for
processing of information, they have received from dendrites. Synapse Weights or
•Axon − It is just like a cable through which neurons send the Interconnections
information. Axon Output
•Synapses − It is the connection between the axon and other
neuron dendrites.
8
21-11-2020
9
21-11-2020
FUZZY LOGIC
BASIC CONCEPTS
AND
THEORY
10
21-11-2020
• Fuzzy logic can be defined as a branch of mathematics, the theory for which was provided by
Zadeh for modelling imprecision and vagueness of cognitive process inherent in human and to
solve complex and poorly defined problems due to incomplete, ambiguous, vague and uncertain
information of the real-world system.
• This theory is found suitable for those reasoning which are based uponhuman intuitive thinking,
uncertainty and approximation.
• The concept of fuzzy logic is based on multiple-valued logic; it processes and introduces
interpretations which are expressed in vague linguistic terms rather than exact and precise crisp
value. The theory is very useful for handling the partial truth issues.
11
21-11-2020
12
21-11-2020
13
21-11-2020
Fuzzy Membership
Functions
Debasis
• Difference between crisp set and fuzzy set can be explained with the following example:
• Consider the example of the “height of a student”. Any one might state that “height of a student less than 150 cm
is short”. In classical set this statement is expressed as short = {x|x ≤ 150} and the membership function for this
statement is represented as shown in fig.
14
21-11-2020
15
21-11-2020
FUZZY RULES
Fuzzy Rules: In fuzzy expert systems, linguistic variables are used
• A fuzzy system is a compilation of IF-THEN rules that connect input linguistic variables to an
output value. Each fuzzy rule contains the antecedent and the consequent that includes fuzzy in fuzzy rules. For example:
propositions. These propositions in turn are statements and join the linguistic variables with o IF wind is strong THEN sailing is good.
linguistic operators “and”, “or” and “not”. o IF project_duration is long THEN completion_risk is high.
o IF speed is slow THEN stopping_distance is short.
• The general form of a fuzzy rule used in fuzzy logic control system can be explained by relation
as given below: For Air Conditioner example, the following rules can be used:
1) IF (temperature is cold OR too-cold) AND (target is warm)
• If x1 is A1 AND x2 is A2 then y is B
THEN command is heat.
2) IF (temperature is hot OR too-hot) AND (target is warm)
THEN command is cool.
• Where x1, x2 are input linguistic variables with A1, A2 being their corresponding fuzzy values 3) IF (temperature is warm) AND (target is warm) THEN
and y is the output linguistic variable with B as its fuzzy value.
command is no-change.
16
21-11-2020
• Defuzzification • Important fuzzy operators “AND”, “OR” and “NOT” are employed to construct the
• Defuzzification can be described as the procedure of obtaining a single crisp number from the fuzzy rules. These "fuzzy combination" operators can be explained as follows:
output of the aggregated fuzzy set resulting from fuzzy inference process. As the fuzzy
outcome which is produced through fuzzy inference cannot be applied as it is in the
• Consider the two fuzzy sets A and B be with membership functions μA(x) and
applications; hence the fuzzy quantities are converted into crisp quantities for further μB(x) respectively.
processing. Defuzzification reduces the collection of membership function values in to a single • The intersection operation (corresponds to the logical ‘AND’) can be defined as:
crisp value.
• μA∩B(x) = min [μA(x), μB(x)]
• The following are the known methods of defuzzification.
• Center of sums method (COS) • Union operation (which corresponds to the logical ‘OR’) can be defined as:
• Center of gravity (COG) / Centroid of area (COA) method • μAUB(x) = max [μA(x), μB(x)]
• Center of area / Bisector of area method (BOA) • Complement operator can be defined as (which is corresponding to the logical
• Weighted average method operator ‘NOT’):
• Maxima Methods • μA¯(x) =1 − μA(x)
17
21-11-2020
FUZZY LOGIC TOOLBOX OF MATLAB PROGRAM SOFTWARE MAIN FEATURES OF GUI TOOLBOX
• Fuzzy inference process to obtain crisp output from input data is performed using Fuzzy Logic • Main features of GUI toolbox is being described in this section. It consists of
Toolbox™ software of MATLAB Program. The Tool box is a compilation of all the functions following five primary graphical user interface (GUI) tools (see fig.3.22) which are
of the MATLAB® software’s mathematical computing environment. Fuzzy logic tool box used to build, edit, and observe fuzzy inference process in the toolbox.
provides tools to edit and create fuzzy inference systems. The toolbox provides three categories
of tools:
• Fuzzy Inference System (FIS) Editor
• Membership Function Editor
• Following three types of tools are provided • Rule Editor
• Command line functions • Rule Viewer
• Graphical, interactive tools
• Surface Viewer
• Simulink blocks and examples
18
21-11-2020
MEMBERSHIP
FUNCTION EDITOR
Graphical User Interface (GUI) Tools
Fuzzy Inference System (FIS) Editor As shown in fig. membership functions of each
variable of input and output are edited by
Membership Function Editor. All variables name,
shape, range and numbers are specified and
edited by means of it.
Define number of
input and output
variables
October 2005 75
19
21-11-2020
RULE EDITOR
Graphical User Interface (GUI) Tools
As shown in fig. , Rule Editor edits the
Membership Function Editor various rules constructed in the system. As
mentioned earlier fuzzy systems are collection
of IF-THEN rules. Such rules connect input
variables to an output variable. Each fuzzy rule
is constructed by the antecedent and the
consequent component by including fuzzy
proposition. These propositions statements link
Select & edit
the various variables with the help of fuzzy
attributes of operators such as “and”, “or” and “not”. Using
membership the rule editor general structure of a fuzzy rule is
function constructed.
If x1 is A1 AND x2 is A2 then y is B
Where x1, x2 are input linguistic input
Display & edit Name & edit variables and A1 and A2 are corresponding fuzzy
values of current parameters of values to x1 and x2, y is the output linguistic
variable membership variable and B is its corresponding fuzzy value.
function These fuzzy Rules could be deleted, added or
changed; Rules weights that can be applied to
each fuzzy rule if needed are signified through a
number in parentheses.
October 2005 77
RULE VIEWER
Graphical User Interface (GUI) Tools Fuzzy inference process is presented
through rule viewer as shown in fig. The
Rule Editor basic function of it is to determine that how
an individual membership function shapes
manage the output. Rows of plots represent
rules and various columns represent number
of variables. First three columns of plots
(the six yellow plots) demonstrate the
Rules –
membership functions of input variable that
automatically
refers to the antecedent which means the if-
updated
part of the rules. The last column of plots
(the three blue plots) shows the output
variable’s membership function that is
refers to the consequent which means then-
part of each rule. By the Rule Viewer entire
Create and edit fuzzy inference process can be understood
rules immediately. Rule Viewer also explains that
how the different membership functions of
input variables controls the output result.
October 2005 79
20
21-11-2020
October 2005 81
October 2005 83
21
21-11-2020
Inputs
• Service •Consequents (Outputs)
• Universe (ie, crisp value range): How good was the • Tip
service of the wait staff, on a scale of 0 to 10?
• Fuzzy set (ie, fuzzy value range): Poor, Good, • Universe: How much should we tip, on a scale of 0% to 25%
• Food quality
87
22
21-11-2020
input
variables
output
variable
Select type of
membership
function
October 2005 91 October 2005 92
23
21-11-2020
24