Question 1 | MCQ
THIS IS QUESTION PAPER FOR THE SUBJECT "DEGREE LEVEL : ALGORITHMS FOR DATA SCIENCE
(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)
(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)
Solution
Consider an LSH setup with
tables and
hash functions per table with the usual definition of collision.

Consider four points
. The following is observed:

Which of the following is true given the above information?
Consider four points
Which of the following is true given the above information?
Solution
Let
. Consider a random vector
. Find the covariance matrix of
.
Solution
When computing an
-spectral sparsification of a graph
, the edge
is retained with probability
.
denotes the vector with one at index
and zero everywhere else.
is the Laplacian of the graph and
is its pseudoinverse. Which of the following is true?
Solution
You are given a subset of the singular values of a large matrix
:
. You don't know the dimensions of the matrix. If the best rank-
approximation of the matrix is
, which of the following is true?
is the spectral norm.
Solution
In the context of LSH, consider a setup with
tables and
functions per table. If you want to make the collisions between points harder, that is, make it harder for two points to collide, which of these steps would you take? One or more options could be correct.
Solution
Consider an
matrix
. Let
be a
matrix whose
columns are the top-
left singular vectors. Let
be a random matrix of shape
, where each entry is sampled from
. Let
be the
matrix whose columns form an orthonormal basis for the columns of
. Which of the following is/are true? Assume that the singular values of
decay rapidly.
Solution
Inscript
Consider a continuous random variable
with
. Find the tightest lower bound for
with the given information using Markov's inequality. Enter your answer correct to one decimal place.
Consider a continuous random variable
Solution
Comprehension Passage
Let
be a
random matrix whose entries are i.i.d standard normal random variables. Let
be a fixed vector with
.
Based on the above data, answer the given subquestions.
Based on the above data, answer the given subquestions.
Which of the following is a scalar random variable?
Solution
Comprehension Passage
Let
be a
random matrix whose entries are i.i.d standard normal random variables. Let
be a fixed vector with
.
Based on the above data, answer the given subquestions.
Based on the above data, answer the given subquestions.
Inscript
What is
?
What is
Solution
Comprehension Passage
The diameter of a dataset
with a finite number of points, denoted as
, is defined as the Euclidean distance of that pair of points with the maximum separation between them. Formally:

Next, consider a dataset
of
data-points in
. Let
be a linear 
-isometry as guaranteed by the JL-lemma for
and
. Define
.
Based on the above data, answer the given subquestions.
Next, consider a dataset
-isometry as guaranteed by the JL-lemma for
Based on the above data, answer the given subquestions.
Inscript
If
, find the tightest upper bound for
with the available information. Enter your answer correct to one decimal place. Use the version of JL-Lemma that involves squared distances.
If
Solution
Comprehension Passage
The diameter of a dataset
with a finite number of points, denoted as
, is defined as the Euclidean distance of that pair of points with the maximum separation between them. Formally:

Next, consider a dataset
of
data-points in
. Let
be a linear 
-isometry as guaranteed by the JL-lemma for
and
. Define
.
Based on the above data, answer the given subquestions.
Next, consider a dataset
-isometry as guaranteed by the JL-lemma for
Based on the above data, answer the given subquestions.
Call the upper bound found in the previous subquestion
. Let
be two points, not necessarily in the dataset, such that
. Is the inequality given below true or false?

Solution
Comprehension Passage
The contours of a hash function
sampled from the Datar-hash family
with
, where
and
, are shown in the plot below. The red numbers denote the value the function takes on the dotted line immediately to their right. In other words,
on the dotted line passing through
and
on the dotted line passing through
. Note that
and
are realizations of random variables.

Based on the above data, answer the given subquestions.
Based on the above data, answer the given subquestions.
Inscript
Find
.
Find
Solution
Comprehension Passage
The contours of a hash function
sampled from the Datar-hash family
with
, where
and
, are shown in the plot below. The red numbers denote the value the function takes on the dotted line immediately to their right. In other words,
on the dotted line passing through
and
on the dotted line passing through
. Note that
and
are realizations of random variables.

Based on the above data, answer the given subquestions.
Based on the above data, answer the given subquestions.
Inscript
Let
be the set of all points inside the rectangle with corners
,
,
,
that are hashed to the value
. Find the area of the region corresponding to
correct to one decimal place.
Let
Solution
Comprehension Passage
Consider a dataset with three data-points that are located on the vertices of an equilateral triangle with side length
. Instantiate a weighted graph on this dataset with the weighting
function
with
. Do not include an edge from a data-point to itself.
Useful hints
1. All sides of an equilateral triangle have the same length.
2.
is an eigenvalue of the matrix
and it repeats twice.
Based on the above data, answer the given subquestions.
function
Useful hints
1. All sides of an equilateral triangle have the same length.
2.
Based on the above data, answer the given subquestions.
Inscript
Compute the Laplacian
. If the
denotes the entry in
row and
column, with
, enter the value of
. Enter your answer correct to one decimal place.
Compute the Laplacian
Solution
Comprehension Passage
Consider a dataset with three data-points that are located on the vertices of an equilateral triangle with side length
. Instantiate a weighted graph on this dataset with the weighting
function
with
. Do not include an edge from a data-point to itself.
Useful hints
1. All sides of an equilateral triangle have the same length.
2.
is an eigenvalue of the matrix
and it repeats twice.
Based on the above data, answer the given subquestions.
function
Useful hints
1. All sides of an equilateral triangle have the same length.
2.
Based on the above data, answer the given subquestions.
Inscript
Find the smallest non-zero eigenvalue of
. Enter your answer correct to one decimal place.
Find the smallest non-zero eigenvalue of
Solution
Shape
Thickness [ / ]
3
All colors