Docsity

Multilayer Feedforward Neural Networks - Pattern Recognition - Lecture Slides, Slides of Mechanical Engineering

Partial preview of the text

Download Multilayer Feedforward Neural Networks - Pattern Recognition - Lecture Slides and more Slides Mechanical Engineering in PDF only on Docsity!

Recap

  • We are discussing multilayer feedforward neuralnetworks. PR NPTEL course – p.1/

Recap

  • We are discussing multilayer feedforward neuralnetworks. - These provide a good parameterized class ofnonlinear functions. PR NPTEL course – p.2/

Recap

  • We are discussing multilayer feedforward neuralnetworks. - These provide a good parameterized class ofnonlinear functions. - Each node calculates the weighted sum of its inputsand passes it through an activation function tocompute its output. - Doing this successively for each layer, we get the finaloutput. PR NPTEL course – p.4/

Recap

  • We are discussing multilayer feedforward neuralnetworks. - These provide a good parameterized class ofnonlinear functions. - Each node calculates the weighted sum of its inputsand passes it through an activation function tocompute its output. - Doing this successively for each layer, we get the finaloutput. - The interconnection weights essentially determine thespecific function represented by the network. PR NPTEL course – p.5/
  • We also discussed an algorithm for training thenetwork. - We learn weights by minimizing empirical risk undersquared error loss function. PR NPTEL course – p.7/
  • We also discussed an algorithm for training thenetwork. - We learn weights by minimizing empirical risk undersquared error loss function. - We use gradient-descent method for the minimization. PR NPTEL course – p.8/
  • We can summarize the method of learning weights asfollows. PR NPTEL course – p.10/
  • We can summarize the method of learning weights asfollows. - We want to learn all the weights

w ā„“ ij

to minimize J

W

N āˆ‘^ s =

J

s

W

N āˆ‘^ s =

n L āˆ‘^ j =

y L j

X

s

, W

d s j

2

where

X

s , d s

, s

, N

is the training set. PR NPTEL course – p.11/

  • Using gradient descent for the minimization, we have w ā„“ ij

t

w ā„“ ij

t

Ī» N āˆ‘^ s =

āˆ‚J

s āˆ‚w ā„“ ij PR NPTEL course – p.13/

  • Using gradient descent for the minimization, we have w ā„“ ij

t

w ā„“ ij

t

Ī» N āˆ‘^ s =

āˆ‚J

s āˆ‚w ā„“ ij

  • For each training sample

X

s , d s

, we need to compute the corresponding partial derivatives of

J

s . PR NPTEL course – p.14/

  • Using gradient descent for the minimization, we have w ā„“ ij

t

w ā„“ ij

t

Ī» N āˆ‘^ s =

āˆ‚J

s āˆ‚w ā„“ ij

  • For each training sample

X

s , d s

, we need to compute the corresponding partial derivatives of

J

s .

  • Then we can update all the weights. - This is the batch mode operation. PR NPTEL course – p.16/
  • Using gradient descent for the minimization, we have w ā„“ ij

t

w ā„“ ij

t

Ī» N āˆ‘^ s =

āˆ‚J

s āˆ‚w ā„“ ij

  • For each training sample

X

s , d s

, we need to compute the corresponding partial derivatives of

J

s .

  • Then we can update all the weights. - This is the batch mode operation. - We can also have incremental or online learning. PR NPTEL course – p.17/
  • We have shown that for these networks we get

āˆ‚J

s āˆ‚w ā„“ ij

āˆ‚J

āˆ‚Ī· ā„“

j āˆ‚Ī· ā„“

j āˆ‚w ā„“ ij

Ī“ ā„“

j y ā„“ i where Ī“ ā„“ j is called error at that node and is defined by Ī“ ā„“ j

āˆ‚J

s āˆ‚Ī· ā„“ j PR NPTEL course – p.19/

  • We have shown that for these networks we get

āˆ‚J

s āˆ‚w ā„“ ij

āˆ‚J

āˆ‚Ī· ā„“

j āˆ‚Ī· ā„“

j āˆ‚w ā„“ ij

Ī“ ā„“

j y ā„“ i where Ī“ ā„“ j is called error at that node and is defined by Ī“ ā„“ j

āˆ‚J

s āˆ‚Ī· ā„“ j

  • The Ī“ ā„“ j depends on the training sample

X

s , d s

though our notation does not explicitly show this. PR NPTEL course – p.20/