Question 1 | MCQ
THIS IS QUESTION PAPER FOR THE SUBJECT"DIPLOMA LEVEL : MACHINE LEARNING TECHNIQUES (COMPUTER BASED EXAM)"
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
Solution
Consider a clustering problem with
data-points and two clusters
. As initialization, a subset of the dataset comprising the first fifty data-points, call this
, are assigned to cluster
and the remaining points, call this
, are assigned to cluster
. K-means is run for this configuration and it converges after
iterations.
Consider the following scenarios:
: After convergence, it is observed that all points in
are assigned to cluster
and all points in
are assigned to cluster
.
: After convergence, it is observed that all points in
are assigned to cluster
and all points in
are assigned to cluster
.
Which of the following is true?
Consider the following scenarios:
Which of the following is true?
Solution
Consider a centered dataset
in
such that every data-point
in
satisfies the equation
. Standard PCA is performed on the dataset. Which of the following could be the fourth principal component?
Solution
Consider a polynomial kernel of degree
on a feature space of dimension
. How many features will the transformed space have 
Solution
Consider the Gaussian kernel,
with
. Compute the value of
and enter your answer correct to two decimal places.
Solution
Consider the following data-points in a clustering problem with five data-points and three clusters (k= 3):

K-means
is used to initialize the three means. The first mean is chosen to be
and the second mean to be
. Find the probability of choosing
as the third mean. That is, compute
. Enter your answer correct to one decimal place.
K-means
Solution
Comprehension Passage
Consider a cube of edge-length
centered at the origin with its corners represented as
. These eight points make up a dataset
.
Based on the above data, answer the given subquestions.
Based on the above data, answer the given subquestions.
Find the covariance matrix
of the dataset. Enter the sum of all the entries of
as the answer.
Solution
Comprehension Passage
Consider a cube of edge-length
centered at the origin with its corners represented as
. These eight points make up a dataset
.
Based on the above data, answer the given subquestions.
Based on the above data, answer the given subquestions.
Let
be some unit vector. Find the variance of the dataset along the direction
.
Solution
Comprehension Passage
Standard PCA is performed on a centered dataset in
. The first three principal components are:

The first two principal components are retained and the third is discarded. The coordinate representation of the data-point
after projection onto the first two principal components is
.
Based on the above data, answer the given subquestions.
The first two principal components are retained and the third is discarded. The coordinate representation of the data-point
Based on the above data, answer the given subquestions.
Find
. Enter your answer correct to three decimal places.
Solution
Comprehension Passage
Standard PCA is performed on a centered dataset in
. The first three principal components are:

The first two principal components are retained and the third is discarded. The coordinate representation of the data-point
after projection onto the first two principal components is
.
Based on the above data, answer the given subquestions.
The first two principal components are retained and the third is discarded. The coordinate representation of the data-point
Based on the above data, answer the given subquestions.
Find
. Enter your answer correct to three decimal places.
Solution
Comprehension Passage
Answer true or false for the given subquestions.
If
and
are valid kernels, then
is also a valid kernel.
Solution
Comprehension Passage
Answer true or false for the given subquestions.
If
is a data-matrix of shape
, then
and
have the same eigenvectors.
Solution
Comprehension Passage
Consider a dataset in
for a clustering problem with two clusters
. The
data-point is represented as
.

indicates the cluster assignment vector at the end of time-step
.
indicates the initial assignment. The cluster indices are represented by
and
, that is,
.
Based on the above data, answer the given subquestions.
Based on the above data, answer the given subquestions.
If
, which of the following is the final cluster assignment after running K-means on this dataset with this initial configuration?
Solution
Comprehension Passage
Consider a dataset in
for a clustering problem with two clusters
. The
data-point is represented as
.

indicates the cluster assignment vector at the end of time-step
.
indicates the initial assignment. The cluster indices are represented by
and
, that is,
.
Based on the above data, answer the given subquestions.
Based on the above data, answer the given subquestions.
If
, which of the following is the final cluster assignment after running K-means on this dataset with this initial configuration?
Solution
Comprehension Passage
Let
be i.i.d. observations from the mixture distribution

where

The observed data are

Assume that the initial estimate of the mixing parameter is

Based on the above data, answer the given subquestions.
where
The observed data are
Assume that the initial estimate of the mixing parameter is
Based on the above data, answer the given subquestions.
Which of the following expressions correctly represents the log-likelihood function
for the given data?
Solution
Comprehension Passage
Let
be i.i.d. observations from the mixture distribution

where

The observed data are

Assume that the initial estimate of the mixing parameter is

Based on the above data, answer the given subquestions.
where
The observed data are
Assume that the initial estimate of the mixing parameter is
Based on the above data, answer the given subquestions.
Consider the E-step of the EM algorithm. Introduce latent variables
such that
if
is generated from
. Compute the posterior responsibility

for each observation
. Write down
as your answer. Enter the answer correct to two decimal places.
for each observation
Solution
Comprehension Passage
Let
be i.i.d. observations from the mixture distribution

where

The observed data are

Assume that the initial estimate of the mixing parameter is

Based on the above data, answer the given subquestions.
where
The observed data are
Assume that the initial estimate of the mixing parameter is
Based on the above data, answer the given subquestions.
Using a Maximum A Posteriori (MAP) decision rule, a data point
is assigned to mixture 2 if the posterior responsibility
. Based on the values calculated in the E-step, which data point(s) are classified as belonging to Component 2?
Solution
Shape
Thickness [ / ]
3
All colors