ML Study Hub

Home / Past papers / MLT Quiz 1 / this paper

IIT M DIPLOMA AN4 EXAM QPD4 29 Oct 2023 - 29 Oct 2023

MLT Quiz 113 questions50 marks6 MCQ · 5 SA · 2 MSQDiploma / QPD4
Elapsed 00:00
Q1MCQ4 marks
question figure
  1. μ1 = (2.5, 2.5)
  2. μ1 = (4.5, 4.5)
  3. μ1 = (3, 3)
  4. μ1 = (5.5, 5.5)
Q2MCQ4 marks
question figure
  1. C1
  2. C2
  3. C3
  4. It remains in the same cluster as in the first iteration
Q3MSQ4 marksselect all that apply
Which of the following statements are true regarding applying standard PCA on a centered dataset?
  1. The variance of the dataset along the first principal component is maximum.
  2. Eigenvectors are always orthogonal to each other in PCA.
  3. The first principal component is the eigenvector corresponding to the largesteigenvalue of the covariance matrix.
  4. The first principal component is the eigenvector corresponding to the smallesteigenvalue of the covariance matrix.
Q4SA4 marks
Consider a dataset that has 200 data-points, each of which is either a zero or one. The Bernoulli distribution is used to model this data. If the MLE estimate for the parameter p of the Bernoulli distribution is 0.3, how many zeros does the dataset have?
Q5SA4 marks
question figure
Q6SA4 marks
question figure
Q7SA4 marks
question figure
Q8SA3 marks
Enter your answer correctly up to two decimals question figure
Comprehension passage - the questions below it refer to this
A k-means++ algorithm with k= 3 was applied to the following 2D points: (2, 2), (3, 3), (4, 4), (10, 10), (12, 12), (13, 13) (2, 2) is chosen as the first cluster mean. Based on the above data, answer the given subquestions.
Q9MCQ4 marks
Which point has the highest probability of being chosen as the 2nd cluster mean? Use the Manhattan distance to compute the distances.
  1. (4, 4)
  2. (12, 12)
  3. (10, 10)
  4. (13, 13)
Q10MCQ4 marks
Let’s assume that (3, 3), (10, 10), and (12, 12) are the cluster means. You introduce a new data point, (−5, 10). Which cluster mean is the data point (−5, 10) closest to when using the Euclidean distance method?
  1. (3, 3)
  2. (10, 10)
  3. (12, 12)
  4. None of these
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q11MSQ4 marksselect all that apply
Which of the following statements are true?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
  5. question figure
Q12MCQ4 marks
Which of the following matrices helps in transforming the eigenvectors of K to the eigenvectors of C?
  1. X
  2. XT
  3. C-1
  4. K-1
  5. X-1
Q13MCQ3 marks
Suppose that the 95% of the variance of the data is captured using d − 1 eigenvectors. This implies that
  1. question figure
  2. question figure

Answer key

  1. Q1 (MCQ, 4 marks): C
  2. Q2 (MCQ, 4 marks): A
  3. Q3 (MSQ, 4 marks): A, B, C
  4. Q4 (SA, 4 marks): 140
  5. Q5 (SA, 4 marks): 625
  6. Q6 (SA, 4 marks): 4
  7. Q7 (SA, 4 marks): 0.3 to 0.4
  8. Q8 (SA, 3 marks): 0.2 to 0.3
  9. Q9 (MCQ, 4 marks): C
  10. Q10 (MCQ, 4 marks): B
  11. Q11 (MSQ, 4 marks): B, C, E
  12. Q12 (MCQ, 4 marks): A
  13. Q13 (MCQ, 3 marks): B

Concepts this paper tests

Auto-generated summary from the source site. Handy as a checklist; the lessons above explain each idea from scratch.

Summary of Core Topics, Concepts, Principles, and Equations

1. K-Means Clustering

μk=∑xi1(zi=k)∑1(zi=k)\mu_k = \frac{\sum x_i \mathbb{1}(z_i = k)}{\sum \mathbb{1}(z_i = k)}

where xix_i is the ithi^{\text{th}} data point and ziz_i is the cluster assignment for xix_i.

2. Principal Component Analysis (PCA)

C=1nXXTC = \frac{1}{n} XX^T

where CC is the covariance matrix and XX is the data matrix.

3. Maximum Likelihood Estimation (MLE)

p^=number of successestotal number of trials\hat{p} = \frac{\text{number of successes}}{\text{total number of trials}}

4. Gaussian Mixture Models (GMM) and Expectation-Maximization (EM) Algorithm

πk=1n∑i=1nλki\pi_k = \frac{1}{n} \sum_{i=1}^{n} \lambda_k^i

where λki\lambda_k^i is the responsibility of the kthk^{\text{th}} mixture for the ithi^{\text{th}} data point.

5. Bayesian Estimation

Posterior mean=α+number of successesα+β+total number of trials\text{Posterior mean} = \frac{\alpha + \text{number of successes}}{\alpha + \beta + \text{total number of trials}}

where α\alpha and β\beta are the parameters of the Beta prior distribution.

6. K-Means++ Algorithm

7. Eigenvalues and Eigenvectors

f(w)=wTCwf(\mathbf{w}) = \mathbf{w}^T C \mathbf{w}

where CC is the covariance matrix and w\mathbf{w} is the unit vector.