MLT End Term: 30 April 2023, Set QPD1-S1 (January 2023 term)
The IIT Madras BS Machine Learning Techniques (MLT) End Term paper sat on 30 Apr 2023, in the January 2023 term, set QPD1-S1: 23 questions for 100 marks in 180 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.
- 23
- 100
- 180 min
- 7
- 7
- 9
Show answer
Correct answer
Question 2
1
3
5
Show answer
Correct answer
1
Question 3
Overfitting
Underfitting
Show answer
Correct answer
Overfitting
Question 4
Consider the following training dataset for a binary classification problem in :
If we try to learn a perceptron model for this dataset, will the algorithm ever converge to a weight vector? Select the most appropriate answer with the information available to you.
Yes, it will certainly converge to a weight vector.
No, it will never converge.
Show answer
Correct answer
No, it will never converge.
Question 5
While training a perceptron model, the weight vector at some iteration is . The next data-point picked up by the perceptron algorithm in the course of its execution is , where is the true label:
What is the value of ?
Show answer
Correct answer
Question 6
w shown in this diagram is the optimal weight vector for a hard-margin, linear- SVM
w shown in this diagram is not the optimal weight vector for a hard-margin, linear-SVM
Show answer
Correct answer
w shown in this diagram is not the optimal weight vector for a hard-margin, linear-SVM
Question 7
50
20
30
10
Show answer
Correct answer
50
Question 8
Show answer
Correct answers
Question 9
Show answer
Correct answers
Question 10
80
20
70
30
50
100
Show answer
Correct answers
80
20
Question 11
(1) is the loss on the validation dataset
(2) is the loss on the training dataset
(1) is the loss on the training dataset
(2) is the loss on the validation dataset
Show answer
Correct answers
(1) is the loss on the validation dataset
(2) is the loss on the training dataset
Question 12
Show answer
Correct answers
Question 13
Show answer
Correct answers
Question 14
Show answer
Correct answer: 2.5
Question 15
Show answer
Correct answer: 0
Question 16
Consider a binary classification problem for a linearly separable dataset in . The optimal weight vector for a hard-margin linear-SVM classifier is given to be . The data-point belongs to the training dataset:
What is the value of corresponding to this data-point? If you think the answer cannot be determined with this information, enter . If you think it can be determined, enter the correct value of . Note that is the Lagrange multiplier corresponding to this data-point.
Show answer
Correct answer: 0
Question 17
Consider the following architecture for a neural network:
| Layer | Neurons |
|---|---|
| Input | 10 |
| Hidden Layer-1 | 20 |
| Hidden layer-2 | 30 |
| Output layer | 1 |
How many weights does this network have? Assume that there is no bias associated with any neuron.
Show answer
Correct answer: 830
Question 18
Show answer
Correct answer: 0.69 (accepted within ±0.01)
Question 19
Based on the above data, answer the given subquestions.
How many parameters need to be estimated to make a prediction for a data point using a naive Bayes algorithm?
Show answer
Correct answer: 11
Question 20
Based on the above data, answer the given subquestions.
With what probability does the first feature of a point take the value 0 given that the point is labeled 1? Enter your answer correct to two decimal places.
Show answer
Correct answer: 0.66 (accepted within ±0.02)
Question 21
Based on the above data, answer the given subquestions.
What will be the misclassification error incurred by the first decision stump?
Show answer
Correct answer: 0.2
Question 22
Based on the above data, answer the given subquestions.
To train the second decision stump, which pair of points will be assigned equal weights to create the training dataset?
Show answer
Correct answers
Question 23
Based on the above data, answer the given subquestions.
Show answer
Correct answer: 0.13 (accepted within ±0.02)
