101905CS502H - Neural Networks and Deep Learning - Model Question Paper
101905CS502H - Neural Networks and Deep Learning - Model Question Paper
PART A
Answer all Questions. Each question carries 3 Marks
2. Suppose 10000 patients get tested for flu; out of them, 9000 are actually healthy
and 1000 are actually sick. For the sick people, a test was positive for 620 and
negative for 380. For healthy people, the same test was positive for 180 and
negative for 8820. Construct a confusion matrix for the data and compute the
accuracy, precision and recall for the data.
5. Derive weight updating rule in gradient descent when the error function is
7. What happens if the stride of the convolutional layer increases? What can be the
maximum stride? Justify your answer.
10. List down three differences between LSTM and RNN. (10x3=30)
Part B
(Answer any one question from each module. Each question carries 14
Marks)
11. (a) Prove that the decision boundary of binary logistic regression is linear (9)
(b) Given the following data, construct the ROC curve of the data. Compute the
AUC.
Thres TP TN FP FN
hold
1 0 25 0 29
2 7 25 0 22
3 18 24 1 11
4 26 20 5 3
5 29 11 14 0
OR
12. (A) With an example classification problem, explain the following terms:
a) Hyper parameters
b) Training set
c) Validation sets
d) Bias
e) Variance (8)
(B) Determine the regression equation by finding the regression slope
coefficient and the intercept value using the following data.
x :55, 60 ,65, 70, 80
y :52, 54, 56 ,58, 62 (6)
13. (a) Update the parameters in the given MLP using back propagation with
learning rate as 0.5 and activation function as sigmoid. Initial weights are given as
W1= 0.2, W2=0.1, W3=0.1, W4=0.3, W5=0.2, W6=0.5, and biases as B1=-
1,B2=.3,Bout=.7. The target output=1.
(b) Explain the importance of choosing the right step size in neural networks (4)
OR
14. (a) Explain in detail any four practical issues in neural network training (8)
(b) Calculate the output of the following neuron Y with the activation function
as a) binary sigmoid b) tanh c)ReLU
19. (a) What is Generative Adversarial network? Explain its architecture. (8)
(b) Explain the architecture of Recurrent Neural Networks . (6)
OR
20. (a) Explain LSTM based solution for anyone of the problems in the Natural
Language Processing domain. (8)
(b) Discuss the architecture of GRU (6 )