Quiz Space

Deep Learning · Quiz 1 · 27 Oct 2024 · September 2024 term

Question 9: Consider a sigmoid neuron that takes in an input vector \…

Question 9

+5 marksNumerical answer

Consider a sigmoid neuron that takes in an input vector x=[10.51]\mathbf{x} = \begin{bmatrix} 1 \\ 0.5 \\ 1 \end{bmatrix}. The weight vector w\mathbf{w} is initialized to [0.510.5]\begin{bmatrix} 0.5 \\ 1 \\ 0.5 \end{bmatrix} and b=1\mathbf{b} = 1. The output from the sigmoid neuron is

y^=11+exp−(wTx+b)\hat{\mathrm{y}} = \frac{1}{1 + exp^{-(\mathbf{w^T x} + \mathbf{b})}}

Suppose we use the following loss function

L=12(y−y^)2\mathcal{L} = \frac{1}{2}(y - \hat{y})^2

Update the weight vector once by running the vanilla Gradient Descent algorithm with η=2\eta = 2. Assume the true label y=0\mathbf{y} = \mathbf{0}. What is the new loss value (that is, the loss computed after updating the weight vector)?

(consider upto two digits after the decimal for all the calculations)

Show answer

Correct answer: 0.39 (accepted within ±0.02)

Question 9 of 12 in the IIT Madras BS Deep Learning (Deep Learning) Quiz 1 paper sat on 27 Oct 2024, in the September 2024 term (IIT M DEGREE AN EXAM QDB2 27 Oct 2024). It carries 5 marks.

More questions from this paper

  1. Q1Based on the above data, answer the given subquestions.
  2. Q2Based on the above data, answer the given subquestions.
  3. Q3Based on the above data, answer the given subquestions.
  4. Q4Based on the above data, answer the given subquestions.
  5. Q5Consider a Perceptron model which outputs(\hat{y}) 1 if \mathbf{w^T x} \ge 0 else it outputs 0. This model has been tra…
  6. Q6A team has a data set that contains 20000 samples for training a feed-forward neural network. Suppose they used a mini-…
  7. Q7What is the key difference between Nesterov Accelerated Gradient (NAG) and traditional momentum-based gradient descent?
  8. Q8Which of the following strategies are commonly used for adjusting the learning rate during training?
  9. Q10Figure question
  10. Q11Based on the above data, answer the given subquestions.
  11. Q12Based on the above data, answer the given subquestions.