Quiz Space

MLT Quiz 1: 29 October 2023 (September 2023 term)

Question 1

+4 marksOne correct option

In the K-means algorithm, cluster centroids (μk)(\mu_k) are updated at each iteration to minimize the sum of squared distances between data points and their assigned centroids. The formula used for this update is:

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

Here:

  • xix_i represents ithi^{\text{th}} data point in the dataset.
  • ziz_i represents the cluster assignment for data point xix_i, where ziz_i is an integer indicating the cluster index (k)(k).

Suppose you have a dataset of 9 two-dimensional data points and are performing K-means clustering with K=3K = 3 clusters. After the first iteration, clusters C1,C2C_1, C_2, and C3C_3 have the following data points:

C1C_1: {(2,2),(3,3),(4,4)}\{(2, 2), (3, 3), (4,4) \}
C2C_2: {(6,6),(7,7),(8,8)}\{ (6, 6), (7, 7),(8,8 )\}
C3C_3: {(10,10),(11,11),(12,12)}\{(10, 10), (11, 11), (12, 12)\}

After the second iteration, which of the following options represents the updated cluster centroid μk\mu_k for C1C_1 using the provided formula?

  1. A

    μ1 = (2.5, 2.5)

  2. B

    μ1 = (4.5, 4.5)

  3. C

    μ1 = (3, 3)

  4. D

    μ1 = (5.5, 5.5)

Question 2

+4 marksOne correct option

Consider 9 data points x1,x2,…,x9x_1, x_2, \ldots, x_9: (2,3),(1,2),(3,1),(5,6),(7,8),(9,9),(6,7),(10,10),(11,11)(2,3),(1,2),(3,1),(5,6),(7,8),(9,9),(6,7),(10,10),(11,11). Suppose we aim to form 3 clusters from these points using the K-Means algorithm. After the first iteration, clusters C1,C2,C3C_1, C_2, C_3 have the following data points:

C1C_1: (1,2),(3,1)(1, 2), (3, 1)
C2C_2: (2,3),(5,6),(6,7)(2, 3), (5, 6), (6,7)
C3C_3: (9,9),(7,8),(10,10),(11,11)(9, 9), (7, 8), (10, 10), (11, 11)

After the second iteration, to which cluster will the data point (2,3)(2, 3) be reassigned?

  1. A

    C1

  2. B

    C2

  3. C

    C3

  4. D

    It remains in the same cluster as in the first iteration

Question 3

+4 marksOne or more correct options

Which of the following statements are true regarding applying standard PCA on a centered dataset?

Select all that apply.

  1. A

    The variance of the dataset along the first principal component is maximum.

  2. B

    Eigenvectors are always orthogonal to each other in PCA.

  3. C

    The first principal component is the eigenvector corresponding to the largest eigenvalue of the covariance matrix.

  4. D

    The first principal component is the eigenvector corresponding to the smallest eigenvalue of the covariance matrix.

10 more questions in this paper

Sign in with Google — it is free — to see every question with its answer and explanation, practise it in learning mode, or take it as a timed mock test.

More on the MLT Quiz 1 29 Oct 2023 paper

The IIT Madras BS Machine Learning Techniques (MLT) Quiz 1 paper sat on 29 Oct 2023, in the September 2023 term: 13 questions for 50 marks in 120 minutes. The first 3 questions are below. Sign in with Google — it is free — to see the whole paper with its answers and explanations, in learning mode or as a timed mock test.

FeatureMLT Quiz 1 29 Oct 2023 at a glance
TermSeptember 2023 term
SubjectMachine Learning Techniques
Course codeBSCS2007
Questions13
Marks50
Duration120 min
MCQ6
MSQ2
Numerical5
Official paperIIT M DIPLOMA AN2 EXAM QPD2 29 Oct 2023
Negative markingNo negative marking.
Updated

Same Quiz 1, other subjects

More MLT