Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( a ) Figure 1 below plots the loss when batch gradient descent is used for training. Which optimizers plots the loss in figure 2

(a) Figure 1 below plots the loss when batch gradient descent is used for training. Which
optimizers plots the loss in figure 2 and 3.[1]
Figure 1
(b) You are given a simple neural network with a single hidden layer containing two neu-
rons, and an output layer containing one neuron. All neurons use the sigmoid activation
function. The weights and biases of the network are as follows: [3]
Weights from input to hidden layer: w1=0.5, w2=0.6
Biases in hidden layer: b1=0.1, b2=-0.2
Weights from hidden layer to output: w3=0.7, w4=-0.8
Bias in output layer: b3=0.3
Given an input x =0.75, calculate the output of the network and mean squared loss
if the desired output is 1.25. Use the sigmoid activation function. What will be the
effect in the loss if the loss function used is
L(w, b)=1
2(d y)2+\lambda ||w2||

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 Autonomous Database In Enterprise Architecture

Authors: Bal Mukund Sharma, Krishnakumar KM, Rashmi Panda

1st Edition

1801072248, 978-1801072243

More Books

Students also viewed these Databases questions