Quiz Space

Deep Learning · End Term · 31 Aug 2025 · May 2025 term · Set QDB3

Question 3: A dataset is given by X = \begin{bmatrix} 1 & 2 & 0 & 5 &…

Question 3

+2 marksOne or more correct options

A dataset is given by

X=[1205010300110111−1000],y=[10652]X = \begin{bmatrix} 1 & 2 & 0 & 5 & 0 \\ 1 & 0 & 3 & 0 & 0 \\ 1 & 1 & 0 & 1 & 1 \\ 1 & -1 & 0 & 0 & 0 \end{bmatrix}, y = \begin{bmatrix} 10 \\ 6 \\ 5 \\ 2 \end{bmatrix}

The rows of XX represent samples and the columns represent features, with the first column corresponds the bias term. We use a linear regression neuron where the prediction y^i\hat{y}_i for a sample xix_i is given by the linear combination y^i=zi=∑j=04wjxij\hat{y}_i = z_i = \sum_{j=0}^{4} w_j x_{ij}.

The weights are updated using Stochastic Gradient Descent (SGD) for one epoch (i.e., once for each of the 4 samples). The loss function is the Mean Squared Error, L=(y^−y)2L = (\hat{y} - y)^2. If all weights are initialized to wj=0.5w_j = 0.5, which of the following weights is updated the fewest number of times?

Select all that apply.

  1. A

    w0

  2. B

    w1

  3. C

    w2

  4. D

    w3

  5. E

    w4

Show answer

Correct answers

  • C

    w2

  • E

    w4

Question 3 of 19 in the IIT Madras BS Deep Learning (Deep Learning) End Term paper sat on 31 Aug 2025, in the May 2025 term (IIT M IMPROVEMENT FN EXAM QIC1 31 Aug 2025). It carries 2 marks.

More questions from this paper

  1. Q1Consider the following two statements regarding model performance:\ Statement 1: A model achieving zero training loss i…
  2. Q2How does unsupervised layerwise pretraining help in alleviating the vanishing gradient problem?
  3. Q4Given the input matrix X and kernel K: X = \begin{bmatrix} 2 & 1 & 0 & 1 \ 0 & 1 & -1 & 0 \ 3 & 2 & 1 & -1 \ 1 & 0 & -2…
  4. Q5Suppose you are given three encoder hidden states at time t: h_j = h_1 = \begin{bmatrix} 1 \ 0 \end{bmatrix}, \quad h_2…
  5. Q6Suppose you are given three encoder hidden states at time t: h_j = h_1 = \begin{bmatrix} 1 \ 0 \end{bmatrix}, \quad h_2…
  6. Q7Suppose you are given three encoder hidden states at time t: h_j = h_1 = \begin{bmatrix} 1 \ 0 \end{bmatrix}, \quad h_2…
  7. Q8Sequence Length : t Number of Heads : h Embedding dimension : d_{\text{model}} Input X \in \mathbb{R}^{d_{\text{model}}…
  8. Q9Sequence Length : t Number of Heads : h Embedding dimension : d_{\text{model}} Input X \in \mathbb{R}^{d_{\text{model}}…
  9. Q10Sequence Length : t Number of Heads : h Embedding dimension : d_{\text{model}} Input X \in \mathbb{R}^{d_{\text{model}}…
  10. Q11Consider a CBOW model for learning word embeddings. The vocabulary is made up of three words, {good, bad, ugly}. W and …
  11. Q12Consider a CBOW model for learning word embeddings. The vocabulary is made up of three words, {good, bad, ugly}. W and …
  12. Q13Consider a CBOW model for learning word embeddings. The vocabulary is made up of three words, {good, bad, ugly}. W and …
  13. Q14Based on the above data, answer the given subquestions.
  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.