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
(BONUS Question) Consider a non-zero data-matrix
of shape
that is invertible. Which of the following is true?
denotes the spectral norm.
Solution
Let
be a dataset sampled from a joint distribution
over features and labels for a binary classification problem. Consider two finite hypothesis classes
and
such that
. It is given that if
, then
with a high probability for classifiers drawn from
. Which of the following is most likely to be true?
Solution
If we want a strong privacy guarantee in the randomized response mechanism with privacy parameter
, which of the following is a good course of action?
Solution
In the context of a binary classification problem with an underlying joint distribution
over features and labels, let
be a dataset of
points. If
denotes the Bayes' error and
denotes the train error of some classifier
, and
is the set of all binary classifiers, which of the following is true?
Solution
Is the given statement true or false?
“Given a desired utility and privacy, the number of users who need to be surveyed is quadratically smaller in the case of the randomized response mechanism than for the Laplace mechanism.”
“Given a desired utility and privacy, the number of users who need to be surveyed is quadratically smaller in the case of the randomized response mechanism than for the Laplace mechanism.”
Solution
Which of the following represents the time complexity of transforming
data-points in
to
using the linear, approximate isometry provided by the JL lemma? Assume that the approximate isometry is already given to you.
Solution
Let
be an
-spectral sparsification of
.
is the set of vertices. 
and
are the edge sets of
and
respectively. For
,
, where
is the probability of retaining the edge
in
. If
and
denote the Laplacians of the graphs
and
respectively, which of the following is/are true for all
?
and
Solution
Which of the following hypothesis classes have infinite VC dimension? The feature space is
. All classifiers mentioned in the options are from
to
.
Solution
Let
be a finite hypothesis class in a binary classification problem and let
be a dataset of
points sampled from the underlying joint distribution
. Let
be a hypothesis trained deterministically on
. Consider the following events for some 

Which of the following is/are true?
Which of the following is/are true?
Solution
Which of the following pieces of information are indispensable if we need to apply the Markov inequality? Select all that apply.
Solution
Inscript
Consider a binary classification problem with features in
and labels in
. Let
be the hypothesis class that consists of all linear classifiers that pass through the origin having the following property: the slope of the decision boundary of the classifier, denoted by
, satisfies
. Find the VC-dimension of
.
Consider a binary classification problem with features in
Solution
Inscript
Consider a binary classification problem with a single feature in
and labels in
. Let
be a hypothesis class.
is defined as:

If
has a sample compression scheme of size
, find
.
Consider a binary classification problem with a single feature in
If
Solution
Inscript
Students who have just received their board exam results are being surveyed about their performance. Each student has either passed or failed. The students have to reply with one of two answers to the surveyor: pass/fail. To guarantee privacy, the surveyor asks each student to follow the randomized mechanism given below:
1. Flip a fair coin.
2. If tails, respond truthfully.
3. If heads, then flip a fair coin again. Respond "pass" if heads and "fail" if tails.
This randomized response mechanism is
-differentially private, where
. Enter the most appropriate integer
.
Students who have just received their board exam results are being surveyed about their performance. Each student has either passed or failed. The students have to reply with one of two answers to the surveyor: pass/fail. To guarantee privacy, the surveyor asks each student to follow the randomized mechanism given below:
1. Flip a fair coin.
2. If tails, respond truthfully.
3. If heads, then flip a fair coin again. Respond "pass" if heads and "fail" if tails.
This randomized response mechanism is
Solution
Inscript
Let
be a hash family that is
-sensitive with
. Let
be two points such that
. The probability that both these points are hashed to the same value by a hash function sampled from this family is at most
. Enter the value of
.
Let
Solution
Comprehension Passage
Consider a binary classification problem with labels in
with a single feature that can take one of three values in the set
. The underlying distribution,
, over the feature-label space is given as follows:
1. the prior probability for choosing class-
is given as:
.
2. the class conditional values for the probability mass function are given for a few values of
and
:
-
, 
-
, 
Based on the above data, answer the given subquestions.
1. the prior probability for choosing class-
2. the class conditional values for the probability mass function are given for a few values of
-
-
Based on the above data, answer the given subquestions.
Find the Bayes' classifier,
.
Solution
Comprehension Passage
Consider a binary classification problem with labels in
with a single feature that can take one of three values in the set
. The underlying distribution,
, over the feature-label space is given as follows:
1. the prior probability for choosing class-
is given as:
.
2. the class conditional values for the probability mass function are given for a few values of
and
:
-
, 
-
, 
Based on the above data, answer the given subquestions.
1. the prior probability for choosing class-
2. the class conditional values for the probability mass function are given for a few values of
-
-
Based on the above data, answer the given subquestions.
Inscript
Compute the Bayes' error,
. Enter your answer correct to two decimal places.
Compute the Bayes' error,
Solution
Comprehension Passage
Consider a binary classification problem with features in
and labels in
. Let
be a hypothesis class.
is defined as:

A dataset
that has
points, where each point is a feature-label pair denoted as
, is given below:

Based on the above data, answer the given subquestions.
A dataset
Based on the above data, answer the given subquestions.
Inscript
Find
. Enter your answer correct to one decimal place.
Find
Solution
Comprehension Passage
Consider a binary classification problem with features in
and labels in
. Let
be a hypothesis class.
is defined as:

A dataset
that has
points, where each point is a feature-label pair denoted as
, is given below:

Based on the above data, answer the given subquestions.
A dataset
Based on the above data, answer the given subquestions.
Inscript
Find the largest integer
such that
.
Find the largest integer
Solution
Shape
Thickness [ / ]
3
All colors