Unit6 - 4 ANN
Unit6 - 4 ANN
2
◼ It is set of connected i/o units in which each connection has
a weight associated with it.
◼ During the learning phase the network learns by adjusting
the weights so as to be able to predict the correct class
label of i/p labels.
◼ It also referred as connectionist learning due to connection
between units.
◼ It has long training time and poor interpretability but has
tolerance to noisy data.
◼ It can classify pattern on which they have not been trained.
◼ Well suited for continuous valued i/ps.
◼ It has parallel topology and processing 3
◼ Before training the network topology must:
I. Specifying number of i/p nodes/units: Depends upon
number of independent variable in data set.
II. Number of hidden layers: Generally only layer is
considered in most of the problem. Two layers can be
designed for complex problem. Number of nodes in
the hidden layer can be adjusted iteratively.
III. Number of output nodes/units: Depends upon
number of class labels of the data set.
IV. Learning rate: Can be adjusted iteratively.
V. Learning algorithm: Any appropriate learning
algorithm can be selected during training phase.
VI. Bias value: Can be adjusted iteratively. 4
◼ During training the connection weights must be
adjusted to fit i/p values with the o/p values.
5
Back propagation algorithm
◼ Step 1: Initialization: Set all the weights and thresholds
8
9
10
11
Solution:
Net input & output calculation
Similarly,
I5 = … (DO YOURSELF) O5 = … (DO YOURSELF)
NOTE: Calculation of E was done as:
13
Calculation Process: