ML Study Hub

Home / Past papers / MLT Quiz 1 / this paper

MLT 15 Mar 26 - 15 Mar 2026

MLT Quiz 116 questions40 marks8 SA · 7 MCQ · 1 MSQ
Elapsed 00:00
Q1MCQ3 marks
Consider a clustering problem with question figure data-points and two clusters question figure . As initialization, a subset of the dataset comprising the first fifty data-points, call this question figure , are assigned to cluster question figure and the remaining points, call this question figure question figure question figure question figure question figure
  1. Scenario-1 is possible, but scenario-2 is impossible.
  2. Scenario-1 is impossible, but scenario-2 is possible.
  3. Both scenarios are possible.
  4. Both scenarios are impossible.
Q2MSQ3 marksselect all that apply
Consider a centered dataset question figure in question figure such that every data-point question figure in question figure satisfies the equation question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q3SA3 marks
Consider a polynomial kernel of degree question figure on a feature space of dimension question figure . How many features will the transformed space have question figure
Q4SA3 marks
Consider the Gaussian kernel, question figure with question figure . Compute the value of question figure and enter your answer correct to two decimal places.
Q5SA3 marks
Consider the following data-points in a clustering problem with five data-points and three clusters (k = 3): question figure K-means question figure is used to initialize the three means. The first mean is chosen to be question figure and the second mean to be question figure . Find the probability of choosing question figure
Comprehension passage - the questions below it refer to this
Consider a cube of edge-length question figure centered at the origin with its corners represented as question figure . These eight points make up a dataset question figure . Based on the above data, answer the given subquestions.
Q6SA3 marks
Find the covariance matrix question figure of the dataset. Enter the sum of all the entries of question figure as the answer.
Q7SA2 marks
Let question figure be some unit vector. Find the variance of the dataset along the direction question figure .
Comprehension passage - the questions below it refer to this
Standard PCA is performed on a centered dataset in question figure . The first three principal components are: question figure The first two principal components are retained and the third is discarded. The coordinate representation of the data-point question figure after projection onto the first two principal components is question figure . Based on the above data, answer the given subquestions.
Q8SA2 marks
Find question figure . Enter your answer correct to three decimal places.
Q9SA2 marks
Find question figure . Enter your answer correct to three decimal places.
Comprehension passage - the questions below it refer to this
Answer true or false for the given subquestions.
Q10MCQ2 marks
If question figure and question figure are valid kernels, then question figure is also a valid kernel.
  1. True
  2. False
Q11MCQ2 marks
If question figure `A` is a data-matrix of shape question figure `A^T A` question figure and question figure `A A^T` have the same eigenvectors.
  1. True
  2. False
Comprehension passage - the questions below it refer to this
Consider a dataset in question figure for a clustering problem with two clusters question figure . The question figure data-point is represented as question figure . question figure question figure question figure question figure question figure
Q12MCQ2 marks
If question figure , which of the following is the final cluster assignment after running K-means on this dataset with this initial configuration?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
  5. question figure
Q13MCQ2 marks
If question figure , which of the following is the final cluster assignment after running K-means on this dataset with this initial configuration?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
  5. question figure
Comprehension passage - the questions below it refer to this
Let question figure be i.i.d. observations from the mixture distribution question figure where question figure The observed data are question figure Assume that the initial estimate of the mixing parameter is question figure
Q14MCQ2 marks
Which of the following expressions correctly represents the log-likelihood function question figure for the given data?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q15SA3 marks
Consider the E-step of the EM algorithm. Introduce latent variables question figure such that question figure if question figure is generated from question figure . Compute the posterior responsibility question figure question figure
Q16MCQ3 marks
Using a Maximum A Posteriori (MAP) decision rule, a data point question figure is assigned to mixture 2 if the posterior responsibility question figure . Based on the values calculated in the E-step, which data point(s) are classified as belonging to Component 2?
  1. question figure
  2. question figure
  3. question figure
  4. All four pointsquestion figure

Answer key

  1. Q1 (MCQ, 3 marks): D
  2. Q2 (MSQ, 3 marks): A, B
  3. Q3 (SA, 3 marks): 35
  4. Q4 (SA, 3 marks): 0.34 to 0.40
  5. Q5 (SA, 3 marks): 0.5
  6. Q6 (SA, 3 marks): 3
  7. Q7 (SA, 2 marks): 1
  8. Q8 (SA, 2 marks): 2.071 to 2.171
  9. Q9 (SA, 2 marks): 0.657 to 0.757
  10. Q10 (MCQ, 2 marks): A
  11. Q11 (MCQ, 2 marks): B
  12. Q12 (MCQ, 2 marks): B
  13. Q13 (MCQ, 2 marks): B
  14. Q14 (MCQ, 2 marks): C
  15. Q15 (SA, 3 marks): 2.74 to 2.80
  16. Q16 (MCQ, 3 marks): A

Concepts this paper tests

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

Here’s a structured summary of core topics, concepts, principles, and equations essential for the "Diploma Level: Machine Learning Techniques" exam, followed by Mermaid knowledge graphs to visualize relationships.


Core Topics & Key Concepts

1. Clustering (K-Means, Initialization, and Convergence)

2. Dimensionality Reduction (PCA)

3. Kernel Methods

4. Expectation-Maximization (EM) for Gaussian Mixture Models (GMMs)

5. Linear Algebra for ML

6. Geometry of Data


Key Equations

TopicEquation
K-Means Updateμk=1∣Ck∣∑xi∈Ckxi\mu_k = \frac{1}{|C_k|} \sum_{x_i \in C_k} x_i
Covariance MatrixΣ=1n∑i=1n(xi−xˉ)(xi−xˉ)T\Sigma = \frac{1}{n} \sum_{i=1}^n (x_i - \bar{x})(x_i - \bar{x})^T
PCA Projectionz=VkTxz = V_k^T x, where VkV_k are the top-k eigenvectors of Σ\Sigma.
Polynomial KernelK(x,y)=(xTy+c)dK(x, y) = (x^T y + c)^d
Gaussian KernelK(x,y)=exp⁡(−∥x−y∥22σ2)K(x, y) = \exp\left(-\frac{\|x - y\|^2}{2\sigma^2}\right)
GMM Log-Likelihoodlog⁡p(X)=∑i=1nlog⁡(∑k=1KπkN(xi∣μk,Σk))\log p(X) = \sum_{i=1}^n \log \left( \sum_{k=1}^K \pi_k \mathcal{N}(x_i | \mu_k, \Sigma_k) \right)
Posterior Responsibilityγ(zik)=πkN(xi∣μk,Σk)∑j=1KπjN(xi∣μj,Σj)\gamma(z_{ik}) = \frac{\pi_k \mathcal{N}(x_i | \mu_k, \Sigma_k)}{\sum_{j=1}^K \pi_j \mathcal{N}(x_i | \mu_j, \Sigma_j)}
Variance along uuVar(Xu)=uTΣu\text{Var}(X u) = u^T \Sigma u

Graph 2: Kernel Methods and Linear Algebra

Graph 3: Probability and Geometry


Exam Tips

  1. K-Means: Focus on initialization, assignment, and update steps. Understand why certain cluster assignments are impossible (e.g., all points in one cluster initially).
  2. PCA: Know how to compute the covariance matrix, eigenvalues, and projections. Remember that PCs are orthogonal.
  3. Kernels: Memorize the polynomial and Gaussian kernel formulas. Understand how the number of features grows with degree.
  4. EM Algorithm: Be comfortable with the E-step (posterior responsibilities) and M-step (parameter updates). Know how to compute log-likelihood.
  5. Linear Algebra: Review eigendecomposition, covariance matrices, and the relationship between XXTXX^T and XTXX^T X.
  6. Geometry: For a cube, know how to compute variance and covariance. Understand projections onto unit vectors.