Question

A deep learning problem.

The following matrices describing a neural network were uncovered by scientists. The weights for the hidden layer are given i

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Network Architecture Dimension = R2 Dimension = R2 Hidden Layer b21 = -0.5 Dimension = R b11 = 1 z1 x1 = 1.25 x1 w11 = 0 a21

For every neuron we can compute the pre-activation value and output by the following equation

pre-activation, a = W.X + b where W is the weight, X is input, b is the bias

Output can be compute using the activation function, here RELU, g(z) = max(0, z)

From the figure

Computing a1, which is the pre-activation for the first hidden layer

a1 = (1.25 x 0) + (-0.5 x 1) + 1 = -0.5 + 1 = 0.5

h1, is the output of the first neuron of the first hidden layer

Can compute using the activation function, RELU, g(z) = max(0,z)

Here, h1 = max(0, 0.5) = 0.5

h1 will be the input to the two neurons in the output layer

For the first neuron

a21 = (0.5 x 0) + (-0.5) = -0.5

z1 = max(0, -0.5) = 0

For the second neuron

a22 = (0.5 x 1) + 0.75 = 1.25

z2 = max(0, 1.25) = 1.25

So Final output

Z = [z1] = [0]

      [z2]      [1.25]

So the output is of two dimension R2

Add a comment
Know the answer?
Add Answer to:
A deep learning problem. The following matrices describing a neural network were uncovered by scientists. The...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT