ML Study Hub

Home / Past papers / MLT Quiz 1 / this paper

IIT M FOUNDATION AN3 EXAM QPF3 16 JULY 2023 - 16 Jul 2023

MLT Quiz 111 questions46 marks5 MSQ · 4 SA · 2 MCQFoundation / QPF3
Elapsed 00:00
Q1MCQ4 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q2MCQ4 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q3MSQ4 marksselect all that apply
Select all true statements regarding standard PCA applied on a centered dataset.
  1. The variance of the dataset along the first principal component is maximum.
  2. The variance of the dataset along the first principal component is minimum.
  3. The first principal component is the unit norm eigenvector corresponding tothe largest eigenvalue of the covariance matrix.
  4. The first principal component is the unit norm eigenvector corresponding tothe smallest eigenvalue of the covariance matrix.
Q4MSQ4 marksselect all that apply
question figure
  1. The covariance matrix corresponding to this dataset has 30 non-zeroeigenvalues.
  2. The covariance matrix corresponding to this dataset has only four non-zeroeigenvalues.
  3. The residues will become zero after four rounds
  4. By utilizing four principal component vectors and their correspondingcoefficients, we have the ability to reconstruct the complete dataset using representatives.
Q5MSQ5 marksselect all that apply
Which of the following statements about kernel PCA is/are always true?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q6MSQ5 marksselect all that apply
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q7MSQ3.5 marksselect all that apply
Which of the following statements is/are true?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q8SA4 marks
question figure
Q9SA4 marks
question figure
Q10SA4 marks
question figure
Q11SA4.5 marks
question figure

Answer key

  1. Q1 (MCQ, 4 marks): C
  2. Q2 (MCQ, 4 marks): C
  3. Q3 (MSQ, 4 marks): A, C
  4. Q4 (MSQ, 4 marks): B, C, D
  5. Q5 (MSQ, 5 marks): B, C
  6. Q6 (MSQ, 5 marks): A, B, D
  7. Q7 (MSQ, 3.5 marks): A, C
  8. Q8 (SA, 4 marks): 60
  9. Q9 (SA, 4 marks): 70
  10. Q10 (SA, 4 marks): 40
  11. Q11 (SA, 4.5 marks): 0.15 to 0.35

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. Kernel Functions and Transformation Mapping

k([x1,x2]T,[y1,y2]T)=1+x1y1+x2y2+x12y12x2y2+x1y1x22y22k([x_1, x_2]^T, [y_1, y_2]^T) = 1 + x_1 y_1 + x_2 y_2 + x_1^2 y_1^2 x_2 y_2 + x_1 y_1 x_2^2 y_2^2
ϕ([x1,x2]T)=[1,x1,x2,x12x2,x1x22]\phi([x_1, x_2]^T) = [1, x_1, x_2, x_1^2 x_2, x_1 x_2^2]

2. K-means Clustering

3. Principal Component Analysis (PCA)

Covariance Matrix=1n−1XTX\text{Covariance Matrix} = \frac{1}{n-1} X^T X
Principal Components=Eigenvectors of the Covariance Matrix\text{Principal Components} = \text{Eigenvectors of the Covariance Matrix}

4. Kernel PCA

k(x1,x2)=(x1Tx2)3k(x_1, x_2) = (x_1^T x_2)^3
ak1+bk2 is a valid kernel function for a,b>0ak_1 + bk_2 \text{ is a valid kernel function for } a, b > 0

5. Lloyd's Algorithm (K-means)

6. Bernoulli Distribution and Maximum Likelihood Estimate (MLE)

p=Number of successesTotal number of trialsp = \frac{\text{Number of successes}}{\text{Total number of trials}}
MLE for p=0.3 implies 70 zeros in a dataset of 100 points\text{MLE for } p = 0.3 \text{ implies } 70 \text{ zeros in a dataset of } 100 \text{ points}

7. Beta Distribution and Bayesian Inference

Prior: Beta(10,5)\text{Prior: } \text{Beta}(10, 5)
Posterior: Beta(30,45)\text{Posterior: } \text{Beta}(30, 45)
Number of zeros=40 in a dataset of 60 points\text{Number of zeros} = 40 \text{ in a dataset of } 60 \text{ points}

8. Gaussian Mixture Models (GMM)

P(x∣Component i)=N(x∣μi,σi2)P(x \mid \text{Component } i) = \mathcal{N}(x \mid \mu_i, \sigma_i^2)
P(Component i)=πiP(\text{Component } i) = \pi_i
P(x)=∑i=1kπiN(x∣μi,σi2)P(x) = \sum_{i=1}^{k} \pi_i \mathcal{N}(x \mid \mu_i, \sigma_i^2)