Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The figure below shows a multiple layer neural network deployed to predict the outcome of a numerical continuous target variable y . The activation function

The figure below shows a multiple layer neural network deployed to predict the outcome of a numerical continuous target variable y. The activation function in the first hidden layer is the sigmoid function, while the one in the second hidden layer is the Rectified Linear Unit (ReLU). The output layer uses an identity output function. The weight and bias parameters are shown along the edges in the network. Refer to part (c) for the red colored edge.
Input layer
Hidden layer 1
Hidden layer 2
Output layer
(a) Perform a forward propagation calculation through the network for the input observation vector x=(-0.5,0.3).
(b) The value of the target variable associated to the input vector x=(-0.5,0.3) is y=7. Calculate the loss associated with this training instance using an appropriate loss function.
(c) Let w2 denote the weight corresponding to the red edge in the network. Compute the value of the gradient of the lossE=12(y-o)2 with respect to this weight w2(note that o denotes the output value of the network).
(d) Compute the update of the weight w2 considering a learning rate of 0.03 and that the network has been trained with L2 regularization with a penalty hyperparameter of 0.002.
5
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle RMAN For Absolute Beginners

Authors: Darl Kuhn

1st Edition

1484207637, 9781484207635

More Books

Students also viewed these Databases questions