Question: 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
 The figure below shows a multiple layer neural network deployed to

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!