Question

In: Computer Science

What type of optimum does backpropagation learn? How does batch mode learning work with backpropagation? Thank...

  1. What type of optimum does backpropagation learn?
  2. How does batch mode learning work with backpropagation?

Thank you

Solutions

Expert Solution

a) Back propagation is used to optimize parameters of neural networks (i.e. parameter of each neuron) to minimize loss function value . Back propagation consist of calculating the derivative of each parameter of each neuron with respect to loss function.

w = w - learning_rate * (derivative of loss with respect to w)

the above equation is used to update parameters. The value in bracket it computed during back propagation.

b) First we calculate activations of each layer during forward feed and then goes backward in reverse order. It works similarly to chain rule in differentiation. if we have y=f(x), z=g(y). To calculate z, we first have to calculate y and then we go to z. Similarly if we have to calculate derivative of z with respect to x, we calculate derivative of z with respect to y and then derivative of y with respect to x. (dz/dx)=(dz/dy)*(dy/dx)

For batch mode, Steps are->

for i=1 to number_of_iterations

//assuming vectorized implemetation of input and outputs

//this will happen for all inputs at same time

Forward Propagation to calculate activation of each layer (forward direction)

Calculate loss

back propagation to compute derivative of loss with respect to parameters (reverse direction)

Update parameters


Related Solutions

What are the published values are for Km, pH optimum, activation energy, and the mode of...
What are the published values are for Km, pH optimum, activation energy, and the mode of inhibition are for vanadate?
Q1: How, why, for whom, to what extent, in what circumstances does Internet‐based learning work for...
Q1: How, why, for whom, to what extent, in what circumstances does Internet‐based learning work for nursing education?
1). How does systems theory work in dealing with misunderstandings? 2). Describe a Learning Organization, what...
1). How does systems theory work in dealing with misunderstandings? 2). Describe a Learning Organization, what are its functions? (Please answer each of these in 4-5 sentences each).
How does one identify this optimum? Should the capital structure change and what are the factors...
How does one identify this optimum? Should the capital structure change and what are the factors that will cause a firm to reevaluate its capital structure?
Given your personality type, how do you learn best? Do you miss learning some things because...
Given your personality type, how do you learn best? Do you miss learning some things because of how they are taught?
what is nutrisystem and how does it work?
what is nutrisystem and how does it work?
What is a buffer and how does it work?
What is a buffer and how does it work?
What is outsourcing and how does it reduce risk? Not how does it work, how does...
What is outsourcing and how does it reduce risk? Not how does it work, how does it work to reduce risk?
What did you learn or re-learn about revision this week from the text or any learning...
What did you learn or re-learn about revision this week from the text or any learning activities? What areas of your writing do you feel are strengths? Which areas could use some improvement? How will you integrate these ideas into the next steps you will take to complete or refine your paper?
Scanning Tools How does IP protocol scanning work, consider the various type and tools? What are...
Scanning Tools How does IP protocol scanning work, consider the various type and tools? What are some of the most popular scanner tools and why? Sniffers Where are sniffers normally placed? What are the components of a sniffer and what are the most popular sniffer and why?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT