SC Unit-1
SC Unit-1
UNIT - 1
Soft Computing :
It is an important branch of study in the area of intelligent and knowledge-
based systems.
The idea of soft computing was initiated in 1981 when Lotfi A. Zadeh
published his first paper on soft data analysis “What is Soft Computing”.
Zadeh, defined Soft Computing into one multidisciplinary system as the fusion
of the fields of Fuzzy Logic, Neuro-Computing, Evolutionary and Genetic
Computing, and Probabilistic Computing.
Soft computing uses a combination of Neural Networks, Fuzzy logic and
Genetic Algorithm.
Soft Computing is the fusion of methodologies designed to model and enable
solutions to real world problems, which are not modeled or too difficult to model
mathematically.
The aim of Soft Computing is to exploit the tolerance for imprecision, uncertainty,
approximate reasoning, and partial truth in order to achieve close resemblance with
The ultimate goal of soft computing is to be able to emulate the human mind as
closely as possible.
Zadeh defined Soft Computing as –
ability of the human mind to reason and learn in a environment of uncertainty and
imprecision”.
• Soft computing deals with approximate models and gives solution to complex problems.
• Hard computing deals with precise models where accurate solutions are achieved quickly.
Constituents of Soft Computing
Fuzzy logic, neural networks, probabilistic reasoning, and genetic algorithms are cooperatively
used in soft computing for knowledge representation and for mimicking the reasoning and
decision-making processes of a human.
Fuzzy Logic
o FL was introduced in the year 1965 by Lofti A. Zadeh.
o It is a mathematical tool for dealing with uncertainty.
o It provides a technique to deal with imprecision and information granularity.
o FL is a superset of conventional (or Boolean) logic and contains similarities and
differences with Boolean logic.
o FL is similar to Boolean logic results are returned by FL operations when all fuzzy
memberships are restricted to 0 and 1.
o FL differs from Boolean logic in that it is permissive of natural queries and is more like
human thinking; it is based on degrees of truth.
o FL is a form of multi-valued logic to deal with reasoning that is approximate rather than
precise.
o Zadeh presented FL as a way of processing data by allowing partial set membership rather
than crisp set membership or non-membership.
o Fuzzy logic is a problem-solving control system methodology that lends itself to
implementation in systems ranging from simple, small, embedded microcontrollers to large,
networked, multichannel PC or workstation based data acquisition and control systems.
Artificial Neural Networks
o ANNs are massively connected networks of computational neurons and represent parallel-
distributed processing structures.
o The inspiration for NN has come from the biological architecture of neurons in the human
brain.
o A key characteristic of neural networks is their ability to approximate arbitrary nonlinear
functions.
o The main objective of neural network research is to develop a computational device for
modeling the brain to perform various computational tasks at a faster rate tehn the
traditional systems.
o An ANN is composed of a large number of highly interconnected processing elements,
called neurons, working to solve specific problems.
7
o A neural network consists of a set of nodes, usually organized into layers, and connected
through weight elements called synapses.
o At each node, the weighted inputs are summed (aggregated), threshold, and subjected to an
activation function in order to generate the output of that node.
o Through the use of neural networks, an intelligent system would be able to learn and
perform high-level cognitive tasks.
o ANNs perform various tasks such as pattern matching and classification, optimization
function, approximation, vector quantization, and data clustering.
Probabilistic Reasoning
o Probabilistic reasoning may be viewed as similar to the fuzzy logic reasoning, considering
functions.
12
Hybrid Systems
These systems can be classified into three different systems –
o Neuro-Fuzzy Hybrid Systems
• Neuro-fuzzy systems represent a newly developed class of hybrid intelligent systems
combining the main features of artificial neural networks with those of fuzzy logic
systems.
• Goal of these systems is to avoid difficulties encountered in applying fuzzy logic for
systems represented by numerical knowledge (data sets), or conversely in applying
neural networks for systems represented by linguistics information(fuzzy sets).
• It is recognized that neither fuzzy reasoning systems nor neural networks are by
themselves capable of solving problems involving at the same time both linguistic and
numerical knowledge.
o Neuro-Genetic Hybrid Systems
• This hybrid system has the ability to locate the neighborhood of the optimal solution
effectively to find solutions that have not yet been resolved by Hard Computing. Neural
Networking and Fuzzy Logic combine and provide approaches from Neuro-Fuzzy to use for
Robotics - Robotics is an emerging field which is based on human thinking and behavior.
Fuzzy Logic and Expert System techniques integrate in a way to develop useful real world
applications. Also neuro-fuzzy system hybridization is the representation of fuzzy logic with
provide efficient environment to each other i.e. to machines and drivers. Intelligent vehicle
control requires recognition of the driving environment and planning of driving that is easily
acceptable for drivers. The field of transportation deals with passengers, logistics operations,
fault diagnosis etc. Fuzzy Logic and Evolutionary Computing are often used in elevator
control systems.
Healthcare - Health care environment is very much reliant to on computer technology. With
the advancement in computer technology, the use of Soft Computing methods provide better
and advance aids that assists the physician in many cases, rapid identification of diseases and
diagnosis in real time. Soft Computing techniques are used by various medical applications
such as Medical Image Registration Using Genetic Algorithm, Machine Learning techniques
Data Mining - Data Mining is a form of knowledge discovery used for solving problems in a
particular area. Data sets may be gathered and implemented collectively for purposes others
that those for which they were originally created. The three basic methodologies of Soft
Computing are widely applied in the data mining. Fuzzy Logic plays important role in
Clustering - Data Mining extracts information from large database in order to reveal useful
information for decision making by a user. Fuzzy sets focused on a specified search and help
to discover dependencies between the data in qualitative format. Various fuzzy clustering
algorithms for mining telecommunications customer and business customer market share.
Education - Soft computing techniques are used in the field of education for improving the
performance of students in academics. NN and fuzzy logic helps in doing the evaluation of
students’ grades in different courses. Bayesian network helps in detecting the learning style of
students. This enables the teachers to forecast the GPA of students and take effective
Association Rule - Association rules are the describing rules that associate relationship
among different attributes. The use of fuzzy technique has been considered the key features
of data mining systems. Neural Network contributes towards the data mining from rule
extraction and clustering. Neural Network has also been used for a variety of classification
and regression tasks. In addition, combination of neural network and fuzzy logic is one of the
most popular hybridization that integrates the merits of neural and fuzzy approaches.
Crime forecasting - Machine learning algorithms can be used to reduce the crime rates. ML
helps to analyze the crime data and make predictions on the type of crime that might occur in
future at some location. Thus, ML and data mining helps in minimizing the crime rate levels in
the society.
ARTIFICIAL NEURAL NETWORKS
processing units that has a natural propensity for storing experiential knowledge and
process.
o Interneuron connection strengths, known as synaptic weights, are used to store the
acquired knowledge.
Artificial Neural Networks have been developed as generalizations of mathematical models
o Information processing occurs at many simple elements called neuron. Signals are
o Each neuron applies an activation function to its net input to determine its output signal.
Biological Neural Network
In1911, Ramόn y Cajál introduced the idea of neurons as structural
constituents of the brain.
The brain consists of a large number (approximately of highly connected
neurons and approximately connections per neuron.
The net result is that the energetic efficiency of the brain is approximately
10-16 joules (J) per operation per second.
According to Arbib (1987) : Neurons communicate with each other by
means of electrical impulses.
Every neuron has three components:
o Dendrites,
o Cell body, and
o Axon.
Dendrites : They form a dendritic tree, which is a very fine bush of thin
fibers around the neuron's body. They receive information from neurons
through axons. These are receptive networks of nerve fibers that carry
electrical signals into the cell body.
Cell body : It is also called soma. Nucleus cell is located in soma. It
effectively sums and thresholds these incoming signals.
The axon : It is a single long fiber that carries the signal from the cell body
out to other neurons.
• The point of contact between an axon of one cell and a dendrite of another
cell is called a synapse.
• The signals reaching a synapse and received by dendrites are electrical
impulses.
• The inter-neuronal transmission is sometimes electrical but is usually effected
by the release of chemical transmitters at the synapse. Thus, terminal buttons
generate the chemical that affects the receiving neuron.
• The receiving neuron either generates an impulse to its axon, or produces no
response.
Conditions necessary for the firing of a neuron:
Incoming impulses can be excitatory if they cause the firing, or Inhibitory if
they hinder the firing of the response.
Excitation should exceed the inhibition by the amount called the threshold of
the neuron.
the receiving neuron, thus assign positive and negative unity weight values
The neuron fires when the total of the weights to receive impulses exceeds
Speed ANNs are faster in processing Biological neurons are slow in processing
information. Cycle time corresponding information. Cycle time corresponding
to execution of one time step of a to a neural event prompted by an
program in the CPU is in the range of external stimulus occurs in a
few nanoseconds. milliseconds range.
Processing Operate in sequential mode one BNNs can perform massively parallel
instruction after another. operations.
Size and ANNs do not involve much The number of neurons in the brain is
Complexity computational neurons. Hence it is estimated to about the total number of
difficult to perform complex pattern interconnections to be around The size
recognition. and complexity of connections gives the
brain the power of performing complex
pattern recognition tasks.
Storage Information is stored in memory BNNs store information in the
which is addressed by location. Any strength of the interconnections.
new information in the same location Information in the brain is
destroys the old information. Hence it adaptable, because new information
is strictly replaceable. is added by adjusting the
interconnection strengths, without
destroying the old information.
Fault tolerance ANNs are not inherently fault BNNs exhibit fault tolerance since
tolerant, since the information the information is distributed in the
corrupted in the memory cannot be connections throughout the network.
retrieved.
38
Artificial neuron
A neuron is an information-processing unit that is fundamental to the operation
of a neural network.
A set of synapses or connecting links, each of which is characterized by a
An adder for summing the input signals, weighted by the respective synapses
of the neuron;
42
An externally applied bias, denoted by which has the effect of increasing or lowering
the net input of the activation function, depending on whether it is positive or
negative, respectively.
Mathematically a neuron may be described by the equations:
43
Neural Network Architectures
The arrangement of neurons to form layers and connection pattern formed within and between
44
(a) Single layer feed forward network
• This type of network comprise of two layers – input layer and output layer
• The input layer neurons receive the input signals and the output layer neurons receive the
output signals.
• The synaptic links carrying the weights connect every input neuron to the output neuron
• If no neuron in the output layer is an input to a node in the same layer or the proceeding
• Thus, in a single layer feed forward network, the input layer merely transmits the signals
45
Single layer feed forward network
46
(b) Multilayer feed forward network
• Thus, architecture of a multilayer network besides possessing an input and an output layer
• The computational units of the hidden layer are known as hidden neurons or hidden units.
• The hidden layer aids in performing useful intermediary computations before directing the
• The input layer neurons are linked to the hidden layer neurons and the weights on these links
47
• The hidden layer neurons are linked to the output layer neurons and the weights on these
48
(c) Single node with its own feedback
• It is a simple recurrent neural network having a single neuron with feedback to itself.
• A network is called a Recurrent network, if there is atleast one feedback loop in the network.
• If outputs are directed back as input to the processing elements in the same layer or in the
49
(d) Single layer recurrent network
• It is a single layer network with feedback connection in which a processing element’s output
can be directed back to the processing element itself or to other processing element or to
both.
50
(e) Multilayer recurrent network
• Processing element output can be directed back to the nodes in the preceding layer, forming a
51
Activation Functions
CHARCTERISTICS of ANN