Module - 5 - ANN
Module - 5 - ANN
1- Training Phase.
Module -5
Artificial Neural Networks
Introduction
• ANN imitate the human brain( constitutes a mass
neuron).
Steps
1. Inputs from other from
Click to Edit
neurons.
3. Net Sum.
4. Activation Function
Perceptron Algorithm
Click to Edit
Problem
Consider a perceptron to represent the Boolean function AND with the initial weights w,
=0.3, w, =-0.2, learning rate alpha = 0.2 and bias Theta = 0.4.
The activation function used here is the Step function f(x) which gives the output value as
binary ,i.e., O or 1. If value of f(x) is greater than or equal to 0, it outputs 1o r else it outputs
0.
Design a perceptron that performs the Boolean function AND and update the weights until
Click to Edit
the Boolean function gives the desired output.
Click to Edit
Click to Edit
Click to Edit
Click to Edit
XOR Problem
Click to Edit
Click to Edit
Gradient Descent
Click to Edit
Types on ANN
Click to Edit
Fully connected neural network
Click to Edit
Multilayer Perceptron
Click to Edit
Feed Back Neural Network
Click to Edit
Multi Layer Perceptron
Consider learning in a Multi layer Perceptron. The given MLP
consists of an input layer , one hidden layer and an output layer.
Train the MLP by updating the weights and biases in the network
Click to Edit
X1 X2 X3 X4 O(Desired)
1 1 0 1 1
Input: Input vector (x, Xy ., *)
Output: Y
Learning rate: 0.8
Assign random weights and biases for every connection in
Click to Edit the network in the range [-0.5, +0.5].
Step 1: Forward Propagation[Epoch -1]
1. Calculate Input and Output in the lnput Layer.
Output at each input node
Click to Edit
2: Calculate Net input & Output in the Hidden Layer and
Output Layer (x0 {Bias} = 1)
Net input Activation function at x6 & x5
Click to Edit
3. Estimate error at the node of Output layer
Click to Edit
Click to Edit
Hidden layer error caculation
Click to Edit
2: Update the weight
Click to Edit
Click to Edit
Update the Baises
Click to Edit
[Epoch -2] Step 1 : Forward Propogation
Click to Edit
Click to Edit
❖ converts input parameters into high dimensional
space(derive feature vector)
❖ then fed to linearly separate problem
Click to Edit
RBFNN
Click to Edit
RBNFF Algorithms
Click to Edit
Click to Edit
Click to Edit
Click to Edit
Click to Edit
RBFNN- generally trained to determine
following parameters
Click to Edit
SOLVED PROBLEM
Click to Edit
Click to Edit
Click to Edit
Click to Edit
Click to Edit
Classification result - SOFM
1. (1,0,1,0) – > Unit -1
2. (1,0,0,0) → Unit -1
4. (0,1,1,0) → Unit-2
SOFM Algorithm
Click to Edit
Click to Edit THANK YOU