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
Is the following statement true or false?
Using the uniform convergence theorem for finite hypothesis classes, one can conclude that the train error is a good proxy for the Bayes' error for very large datasets, for every
finite hypothesis class.
Using the uniform convergence theorem for finite hypothesis classes, one can conclude that the train error is a good proxy for the Bayes' error for very large datasets, for every
finite hypothesis class.
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
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
Let
be the Laplacian of a graph
with non-negative edge weights. If
and
, which of the following is true?
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 hypothesis classes have finite VC dimensions? The feature space is
and all classifiers in the options are from
to
.
Solution
Consider a survey of
users of a product. The users respond to the survey by saying "Yes" (1) if they find the product useful and "No" (0) if they don't. The trusted curator of the survey uses the Laplace mechanism with the average function to ensure privacy even while he publishes a report on the usefulness of the product. Which of the following is/are true?
Solution
Consider a dataset
of
data-points in
. Given
, let
be a linear map from
, a linear, approximate isometry as guaranteed by the JL lemma, with
. Which of the following is/are true?
Solution
Which of the following pieces of information are indispensable if we need to apply Markov's inequality for a random variable? Select all that apply.
Solution
Inscript
Consider a binary classification problem with features in
and labels in
. Let
be the hypothesis class of classifiers from
that predict
on at most
distinct points. Formally, let
, where

Find the VC dimension of
.
Consider a binary classification problem with features in
Find the VC dimension of
Solution
Inscript
Consider a binary classification problem with features 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 features 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 least
. 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