
Machine Learning Techniques Quiz 1: 7 July 2024 (May 2024 term)
The IIT Madras BS Machine Learning Techniques (MLT) Quiz 1 paper sat on 7 Jul 2024, in the May 2024 term: 16 questions for 40 marks in 120 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.
- 16
- 40
- 120 min
- 5
- 1
- 10
Show answer
Correct answer
Question 2
Both k1 and k2 are valid kernels.
k1 is a valid kernel, but k2 is not a valid kernel.
k2 is a valid kernel, but k1 is not a valid kernel.
Neither k1 nor k2 is a valid kernel.
Show answer
Correct answer
Both k1 and k2 are valid kernels.
Question 3
Show answer
Correct answers
Question 4
Kernel PCA with a polynomial kernel of degree 3 is run on a dataset of 100 data-points. Let ϕ be the transformation corresponding to this kernel. If the largest eigenvalue of the centered kernel matrix is 10, find the largest eigenvalue of the covariance matrix of the transformed dataset, where ϕ is used to effect the transformation.
Show answer
Correct answer: 0.1
Question 5
Show answer
Correct answer: 0.8
Question 6
Show answer
Correct answer: 16
Question 7
Show answer
Correct answer: 0.25
Question 8
Let be the covariance matrix of a mean-centered dataset:
Standard PCA is performed on this dataset. The first two PCs are given below:
Based on the above data, answer the given subquestions.
Find the variance of the dataset along the first principal component.
Show answer
Correct answer: 3
Question 9
Let be the covariance matrix of a mean-centered dataset:
Standard PCA is performed on this dataset. The first two PCs are given below:
Based on the above data, answer the given subquestions.
Find the variance of the dataset along the x-axis.
Show answer
Correct answer: 2
Question 10
Let be the covariance matrix of a mean-centered dataset:
Standard PCA is performed on this dataset. The first two PCs are given below:
Based on the above data, answer the given subquestions.
Show answer
Correct answer
Question 11
Consider the following dataset of six points in :
| 5 | 6 |
| 4 | 5 |
| 3 | 4 |
K-means clustering is run on this dataset with . In this version, the means are initialized first. The mean of the first cluster is initialized to and the mean of the second cluster is initialized to .
Based on the above data, answer the given subquestions.
If (x1, y1) is the mean of the first cluster after convergence, find the value of x1 + y1.
Show answer
Correct answer: -5
Question 12
Consider the following dataset of six points in :
| 5 | 6 |
| 4 | 5 |
| 3 | 4 |
K-means clustering is run on this dataset with . In this version, the means are initialized first. The mean of the first cluster is initialized to and the mean of the second cluster is initialized to .
Based on the above data, answer the given subquestions.
If (x2, y2) is the mean of the second cluster after convergence, find the value of x2 + y2.
Show answer
Correct answer: 9
Question 13
In the context of Bayesian estimation, consider a Beta prior for the parameter p of a Bernoulli distribution:
The dataset has 8 ones and 5 zeros.
Based on the above data, answer the given subquestions.
What is the posterior?
Beta(12, 8)
Beta(11, 7)
Br(0.5)
Beta(8, 5)
Show answer
Correct answer
Beta(12, 8)
Question 14
In the context of Bayesian estimation, consider a Beta prior for the parameter p of a Bernoulli distribution:
The dataset has 8 ones and 5 zeros.
Based on the above data, answer the given subquestions.
Show answer
Correct answer: 0.6
Question 15
Consider a dataset of data-points all of which are non-negative integers. These data-points are sampled from a Poisson distribution, whose probability mass function is given below:
Here is a parameter.
Based on the above data, answer the given subquestions.
Find the log-likelihood of the dataset under this distribution.
Show answer
Correct answer
Question 16
Consider a dataset of data-points all of which are non-negative integers. These data-points are sampled from a Poisson distribution, whose probability mass function is given below:
Here is a parameter.
Based on the above data, answer the given subquestions.
Consider a dataset that has 25 data-points. The data-point xi and its frequency is given in the following table:
In case the table is not clear: the value 0 appears once in the dataset, the value 1 appears four times in the dataset, and so on. Find the maximum likelihood estimate for the parameter λ of the Poisson distribution given this dataset.
Show answer
Correct answer: 2.52