MauryaHub PYQ Practice

Deep Learning · Quiz 1 · Jan 2024

Deep Learning · Quiz 1 · Jan 2024

← Course papers · Start practice / exam

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

0 / 14 published solutions

Question 43 MSQ · 4.0 marks

Consider a neuron with binary inputs x1 and x2, and an output y. The neuron computes the weighted sum of its inputs and produces an output according to a threshold. The threshold is denoted as θ. The activation function is such that y = 1 if the weighted sum is greater than or equal to θ, otherwise y = 0. Which of the following statements are correct regarding the neuron’s ability to represent logical AND and OR functions?
6406532474088.
The neuron can implement the AND function by setting appropriate weights and a threshold.
6406532474089.
The neuron can implement the OR function by setting appropriate weights and a threshold.
6406532474090.
There exists a single set of weights and a threshold that allows the same neuron to correctly implement both the AND and OR functions simultaneously.
6406532474091.
Neurons are limited to implementing either the AND or the OR function and cannot represent both simultaneously.

A published solution is not available for this question yet.

Report a correction for Q43

Question 44 NAT · 3.0 marks

Suppose we have a perceptron with two inputs, x1 and x2. This perceptron undergoes training on a small dataset containing three points: (−1, 2) labeled as class 0, (0,−1) labeled as class 1, and (2, 1) labeled as class 0. The weights of the perceptron are initialized to zeros, and the model is trained until it reaches convergence. Given this scenario, what would be the assigned output class by the trained perceptron for the new point (−2, 0)?

A published solution is not available for this question yet.

Report a correction for Q44

Question 45 NAT · 3.0 marks

You are training a neural network for sentiment analysis on a dataset of 10,000 text reviews. The dataset is divided into 80% for training and 20% for testing. You decide to use Minibatch Gradient Descent with a batch size of 32. If you perform a total of 100 epochs, how many parameter updates will be performed in total?

A published solution is not available for this question yet.

Report a correction for Q45

Question 46 MCQ · 2.0 marks

Let’s assume a continuous function f(x1,x2) is approximated using 3D tower function with a 3 hidden layer neural network using 100 towers. How many minimum number of neurons will we need to approximate the function f(x1,x2) ?
6406532474093.
201
6406532474094.
300
6406532474095.
801
6406532474096.
701
6406532474097.
800

A published solution is not available for this question yet.

Report a correction for Q46

Question 47 NAT · 4.0 marks

Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q47

Question 48 NAT · 4.0 marks

Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q48

Question 49 MCQ · 4.0 marks

Source diagram or notation
6406532474099.
Increasing the value of b shifts the sigmoid function to the left (i.e., towards negative infinity)
6406532474100.
Increasing the value of b shifts the sigmoid function to the right (i.e., towards positive infinity)
6406532474101.
Decreasing the value of w increases the steepness of the sigmoid function
6406532474102.
Increasing the value of w decreases the steepness of the sigmoid function

A published solution is not available for this question yet.

Report a correction for Q49

Question 50 MCQ · 4.0 marks

Which of the following is true, given the optimal learning rate?
6406532474114.
Batch gradient descent is always guaranteed to converge to the global optimum of a loss function.
6406532474115.
Stochastic gradient descent is always guaranteed to converge to the global optimum of a loss function.
6406532474116.
For convex loss functions, stochastic gradient descent is guaranteed to eventually converge to the global optimum while batch gradient descent is not.
6406532474117.
For convex loss functions, both stochastic gradient descent and batch gradient descent will eventually converge to the global optimum.
6406532474118.
For convex loss functions, neither stochastic gradient descent nor batch gradient descent are guaranteed to converge to the global optimum.
6406532474119.
For convex loss functions, batch gradient descent is guaranteed to eventually converge to the global optimum while stochastic gradient descent is not.

A published solution is not available for this question yet.

Report a correction for Q50

Question 51 NAT · 3.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
How many parameters (including biases) are there in the entire network?

A published solution is not available for this question yet.

Report a correction for Q51

Question 52 SHORT_TEXT · 4.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Suppose that all elements in the input vector are zero and the corresponding true label is also 0. Further, suppose that all the parameters are initialized to zero. What is the loss value if cross-entropy loss is used? Use natural logarithm ln.

A published solution is not available for this question yet.

Report a correction for Q52

Question 53 SHORT_TEXT · 4.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Assuming that all weights between layers **h3** and **O** are initialized to one, with no bias associated with any neuron, what would be the computed cross-entropy loss for a given single data point? If the provided information is insufficient, please enter −1.

A published solution is not available for this question yet.

Report a correction for Q53

Question 54 SHORT_TEXT · 4.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Compute the cross entropy loss. Note:If you think the given information is not sufficient to calculate the loss, then enter -1 as answer.

A published solution is not available for this question yet.

Report a correction for Q54

Question 55 SHORT_TEXT · 4.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q55

Question 56 MCQ · 3.0 marks

Consider the following image:
Source diagram or notation
As per your understanding of optimization algorithms, which of the following mappings will be correct (assume optimal learning rate)?
6406532474110.
1: Gradient Descent 2: Momentum based Gradient Descent 3: Nesterov Accelerated Gradient Descent
6406532474111.
1: Momentum based Gradient Descent 2: Gradient Descent 3: Nesterov Accelerated Gradient Descent
6406532474112.
1: Gradient Descent 2: Nesterov Accelerated Gradient Descent 3: Momentum based Gradient Descent
6406532474113.
1: Momentum based Gradient Descent 2: Nesterov Accelerated Gradient Descent 3: Gradient Descent       **Programming in C** **Section Id :** 64065351453 **Section Number :** 4

A published solution is not available for this question yet.

Report a correction for Q56