MauryaHub PYQ Practice

Deep Learning · End Term · Jan 2024 · FN

Deep Learning · End Term · Jan 2024 FN

← Course papers · Start practice / exam

This page contains the reliably extracted subset, not the complete original paper.

Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.

0 / 18 published solutions

Question 121 MCQ · 3.0 marks

Consider a scenario where you have a dataset with overlapping classes (that is instances from different classes share similar or identical feature values), and you decide to train a perceptron model for classification. **Assertion (A):** The perceptron model may struggle to classify instances accurately when classes overlap in the feature space. **Reason (R):** The perceptron learning algorithm aims to find a linear decision boundary that separates the classes, and in the presence of overlapping classes, it may not be able to capture the underlying patterns effectively. Select the correct option:
6406532754974.
Both A and R are true, and R is the correct explanation of A.
6406532754975.
Both A and R are true, but R is not the correct explanation of A.
6406532754976.
A is true, but R is false.
6406532754977.
A is false, but R is true.

A published solution is not available for this question yet.

Report a correction for Q121

Question 122 MCQ · 3.0 marks

Source diagram or notation
6406532754980.Source diagram or notation
6406532754981.Source diagram or notation
6406532754982.Source diagram or notation
6406532754983.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q122

Question 123 MCQ · 3.0 marks

In the context of mini-batch gradient descent, if doubling the size of the mini-batch makes your model take twice as many epochs to reach convergence, how does this affect the total number of parameter updates compared to using the original mini-batch size? Assume everything else remains constant.
6406532754984.
The number of updates required is doubled.
6406532754985.
The number of updates required is four times.
6406532754986.
The number of updates required is halved.
6406532754987.
The number of updates remains the same.

A published solution is not available for this question yet.

Report a correction for Q123

Question 124 MCQ · 3.0 marks

Suppose you are working with a sparse dataset and using Momentum-based Gradient Descent (GD) and AdaGrad algorithms for optimization. Which of the following statements accurately describes the behavior of weight and bias term updates?
6406532754988.
Bias vector will update frequently only in the case of the AdaGrad algorithm.
6406532754989.
Weight vector will have very few updates in the case of Momentum-based GD.
6406532754990.
Weight vector will have frequent updates in both cases.
6406532754991.
Bias vector will have very few updates in the case of Momentum-based GD.

A published solution is not available for this question yet.

Report a correction for Q124

Question 125 MCQ · 2.0 marks

State True or False. Sigmoid activation function helps mitigating vanishing gradient problem better than ReLU activation function.
6406532754978.
FALSE
6406532754979.
TRUE

A published solution is not available for this question yet.

Report a correction for Q125

Question 126 MCQ · 2.0 marks

How many weight matrices does a LSTM unit and GRU unit learns respectively during backpropagation?
6406532755010.
2,3
6406532755011.
3,4
6406532755012.
4,3
6406532755013.
8,6

A published solution is not available for this question yet.

Report a correction for Q126

Question 127 MCQ · 2.0 marks

Which statements about LSTM and GRU units in handling the problem of exploding/vanishing gradients are correct?
6406532755014.
LSTM units are more susceptible to exploding gradients compared to GRU units due to their complex gating mechanisms.
6406532755015.
The gating mechanisms in LSTM and GRU units implicitly handle exploding gradients without the need for additional techniques.
6406532755016.
GRU units mitigate both vanishing and exploding gradient problems more effectively than LSTM units due to their simplified architecture.
6406532755017.
Both LSTM and GRU units utilize gating mechanisms to address vanishing gradient problems, but GRU units typically converge faster due to their simpler design.

A published solution is not available for this question yet.

Report a correction for Q127

Question 128 NAT · 3.0 marks

Consider an ensemble consisting of 3 models, where each model has an individual error rate of 50% on the test set. Assuming a simple majority voting scheme, what is the probability that a given instance is misclassified by the ensemble? Assume that the models are independent and their errors are uncorrelated.

A published solution is not available for this question yet.

Report a correction for Q128

Question 129 NAT · 3.0 marks

Given the true outputs for a dataset, y = [1,2,3,4], and the predictions from three different models (A, B, and C) trained on different subsets of the training data, as follows: Model A predictions: A = [1.1,1.9,3.1,3.9] Model B predictions: B = [0.9,2.1,2.9,4.1] Model C predictions: C = [2,2,3,4] Calculate the squared bias (bias\(^{2}\)) for these models evaluated in a regression task. Assume that each model uses the same parameters but is trained on different subsets of the training data. (Enter your answer up to 3 decimal places.)

A published solution is not available for this question yet.

Report a correction for Q129

Question 130 NAT · 3.0 marks

Consider a Convolutional Neural Network (CNN) architecture for image classification with the following layers: 1. Convolutional layer with 32 filters of size 3 × 3, with a stride of 1 and no padding. 2. Max pooling layer with a pool size of 2 × 2 and a stride of 2. 3. Convolutional layer with 64 filters of size 4 × 4, with a stride of 1 and no padding. 4. Max pooling layer with a pool size of 2 × 2 and a stride of 2. 5. Fully connected layer with 128 neurons. 6. Output layer with 10 neurons (for 10 classes) using softmax activation. If the input image size is 64 × 64 × 3, and the network has no bias term, how many parameters are there in the CNN?

A published solution is not available for this question yet.

Report a correction for Q130

Question 131 NAT · 3.0 marks

Suppose you have a vocabulary of 10,000 unique words and you want to train a CBOW model with a window size of 2 (on each side) and with an embedding dimension of 300. How many parameters (weights) will the embedding layer have?

A published solution is not available for this question yet.

Report a correction for Q131

Question 132 NAT · 3.0 marks

Assume that your CBOW model outputs a probability distribution over a vocabulary of 20,000 words for a given context. If the correct target word is word number 150, and the model’s predicted probability for this word is 0.02, calculate the cross-entropy loss for this prediction.

A published solution is not available for this question yet.

Report a correction for Q132

Question 133 NAT · 3.0 marks

In a Skip-gram model with a window size of 2 (on each side), how many **unique** pairs of target and context words will be generated for the following sentence: **‘The idea is to die young as late as possible’**

A published solution is not available for this question yet.

Report a correction for Q133

Question 134 NAT · 3.0 marks

In a Skip-gram model with a vocabulary of 15000 words, if you choose a negative sampling rate of 10 negative samples for each positive sample, how many **total** samples will be generated for a sentence with 8 unique words and a window size of 3 (on each side)?

A published solution is not available for this question yet.

Report a correction for Q134

Question 135 NAT · 2.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
With a total of 10 time steps (T = 10, implying prediction for a word of length 9), what is the total count of parameters (including bias) within the network?

A published solution is not available for this question yet.

Report a correction for Q135

Question 136 MCQ · 3.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation
6406532755000.Source diagram or notation
6406532755001.Source diagram or notation
6406532755002.Source diagram or notation
6406532755003.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q136

Question 137 NAT · 3.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
If all the parameters (including bias) in the network are initialized to zero, what will be the total loss after 10 time steps (assume that indices start with 1) for the input [0, 0, 1, 0, 0]\(^{T}\) ? assume the loss to be cross-entropy at each time step. Write your answer correct to two decimal places.

A published solution is not available for this question yet.

Report a correction for Q137

Question 138 MSQ · 3.0 marks

Select the correct statement regarding the vanishing and exploding gradient problem in RNN.
6406532755005.
The vanishing gradient problem in RNNs occurs when the gradient approaches zero during backpropagation, hindering the training of long sequences.
6406532755006.
The exploding gradient problem in RNNs occurs when the gradient grows uncontrollably during backpropagation, leading to numerical instability and difficulty in training.
6406532755007.
The vanishing gradient problem in RNNs can be mitigated by using the Rectified Linear Unit (ReLU) activation function
6406532755008.
The vanishing gradient problem in RNNs can be mitigated by using gradient clipping, where gradients are capped to a maximum value during training.
6406532755009.
Both vanishing and exploding gradient problems in RNNs can occur due to the nature of the recurrent connections and the repeated multiplication of weight matrices.       **CSD** **Section Id :** 64065357827 **Section Number :** 6 **Section type :** Online **Mandatory or Optional :** Mandatory **Number of Questions :** 21 **Number of Questions to be attempted :** 21 **Section Marks :** 50 **Display Number Panel :** Yes **Section Negative Marks :** 0 **Group All Questions :** No **Enable Mark as Answered Mark for Review and** Yes **Clear Response :** **Maximum Instruction Time :** 0

A published solution is not available for this question yet.

Report a correction for Q138