Quiz Space

Deep Learning · Quiz 2 · 16 Mar 2025 · January 2025 term

Question 10: Given an input array X and a kernel/filter K as follows:…

Question 10

+3 marksNumerical answer

Given an input array XX and a kernel/filter KK as follows:

X=[10−211201−1−1100101]X = \begin{bmatrix} 1 & 0 & -2 & 1 \\ 1 & 2 & 0 & 1 \\ -1 & -1 & 1 & 0 \\ 0 & 1 & 0 & 1 \end{bmatrix}

K=[101001101]K = \begin{bmatrix} 1 & 0 & 1 \\ 0 & 0 & 1 \\ 1 & 0 & 1 \end{bmatrix}

Based on the above data, answer the given subquestions.

Pass BB through the sigmoid (logistic) function with weight equal to 1 and no bias to get the final output y^\hat{y}.

LL is some loss function that depends on y^\hat{y}. Given that ∂L∂y^=−1\frac{\partial L}{\partial \hat{y}} = -1, determine the value of ∂L∂K00\frac{\partial L}{\partial K_{00}} where K00K_{00} is the element of KK at index (0,0)(0,0). Note that we use zero-indexing here.

Enter your answer correct up to 3 digits after the decimal.

Show answer

Correct answer: -0.126 (accepted within ±0.01)

Question 10 of 23 in the IIT Madras BS Deep Learning (Deep Learning) Quiz 2 paper sat on 16 Mar 2025, in the January 2025 term (IIT M DEGREE AN EXAM QDB2 16 Mar 2025). It carries 3 marks.

More questions from this paper

  1. Q1What is the impact of using a sigmoid activation function on the gradients when the input to the neuron is a very large…
  2. Q2Why is bias correction needed in the Adam optimizer?
  3. Q3How do skip connections in ResNet work?
  4. Q4What is the primary purpose of L2 regularization in machine learning models?
  5. Q5What is the soft target used when injecting noise at the output?
  6. Q6Consider a neural network architecture for a regression task. Three distinct subsets of the training dataset are used t…
  7. Q7The weighted moving average (WMA) is used to smooth data by giving more importance to recent values. Suppose we compute…
  8. Q8Given an input array X and a kernel/filter K as follows: X = \begin{bmatrix} 1 & 0 & -2 & 1 \ 1 & 2 & 0 & 1 \ -1 & -1 &…
  9. Q9Given an input array X and a kernel/filter K as follows: X = \begin{bmatrix} 1 & 0 & -2 & 1 \ 1 & 2 & 0 & 1 \ -1 & -1 &…
  10. Q11Consider a loss function, L(w) = w^3 + 2w, where w represents the model parameter. The AdaGrad optimizer is used to min…
  11. Q12Consider a loss function, L(w) = w^3 + 2w, where w represents the model parameter. The AdaGrad optimizer is used to min…
  12. Q13Consider a loss function, L(w) = w^3 + 2w, where w represents the model parameter. The AdaGrad optimizer is used to min…
  13. Q14Consider a loss function, L(w) = w^3 + 2w, where w represents the model parameter. The AdaGrad optimizer is used to min…
  14. Q15Based on the above data, answer the given subquestions.
  15. Q16Based on the above data, answer the given subquestions.
  16. Q17Based on the above data, answer the given subquestions.
  17. Q18Based on the above data, answer the given subquestions.
  18. Q19Based on the above data, answer the given subquestions.
  19. Q20Based on the above data, answer the given subquestions.
  20. Q21Based on the above data, answer the given subquestions.
  21. Q22Based on the above data, answer the given subquestions.
  22. Q23Based on the above data, answer the given subquestions.