Unit 2
Unit 2
Unit 2
1. Thresholding function:
It is easy to sense that the output signal is either 1 or 0 resulting in the
neuron being on or off.
Ø(I) = 1, I>Ө
= 0, I<=Ө.
Ø(I) = 1, I>Ө
= -1, I<=Ө.
( )
x2 x1 y
0 0 0
0 1 0
1 0 0
1 1 1
w1 1
w 1 , b 1.5
2
x2 x1 y w1 1
w 1 , b 0.5
2
0 0 0
0 1 1
1 0 1
1 1 1
Note: The implementations of AND and OR logic functions differ only by the
value of the bias.
NOT Gate:
x y
1 0
0 1
Learning Tasks
The learning algorithm for a neural network is depended on the learning tasks to
be performed by the network. Such learning tasks include
Pattern association
Pattern recognition
Function approximation
Filtering
Beam forming
Identification and Control
LEARNING METHODS:
Supervised learning: In this method, every input that is used to train the
network is always associated with the output. A teacher is assumed to be present
during learning process, a comparison is made between network computed
output and the correct expected output to determine the error. The error can then
be used to change the network parameters in order to improve the performance.
This process will continues until error will be zero.
In this method all similar input patterns are grouped together as clusters.
If a matching input pattern is not found a new cluster is formed
(clustering is nothing but mode separation or class separation).
the learning rate parameter, vk (n) is the net activity of the neuron k,
(vk (n)) yk (n) is the out put of the neuron k, dk is the desired
response, ek (n) is the error between the output and the desired response of
the neuron k and wkj (n) is the correction applied to the synaptic weight
between the neuron k and the input node j=1,2, …, m. There will be no weight
correction for the cases were the actual response and the desired response is
equal.
= weight update of the link connecting the ith and jth neuron
of the two neighbouring layers.