Algorithms for Data Science · End Term · Sep 2025 · FN
Algorithms for Data Science · End Term · Sep 2025 FN
← Course papers · Start practice / exam
Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.
0 / 19 published solutions
Question 2 MCQ · 2.0 marks
Which of the following metrics is the ERM primarily designed to maximize by design?
A published solution is not available for this question yet.
Report a correction for Q2
Question 3 MSQ · 3.0 marks
Consider a dataset

of

data-points in

. Given

, let

be a linear map from

, an approximate isometry as guaranteed by the JL lemma. Which of the following are
true?
6406536025045.
6406536025046.
, for all
6406536025047.
, for all
6406536025048.
, for all

A published solution is not available for this question yet.
Report a correction for Q3
Question 4 MSQ · 2.0 marks
A family of hash functions

is called

-sensitive for some

,

,

if exactly two conditions hold for any pair of points

. What are these
two conditions?
6406536025049.
6406536025050.
6406536025051.
6406536025052.
A published solution is not available for this question yet.
Report a correction for Q4
Question 5 MSQ · 3.0 marks
Let

be an undirected, weighted graph, with non-negative edge weights.

is the

matrix of weights.

is a diagonal matrix such that . Also,

is the Laplacian of the
graph. Which of the following are true?
6406536025053.
6406536025054.
6406536025055.
is an eigenvalue of
6406536025056.
is a positive definite matrix
A published solution is not available for this question yet.
Report a correction for Q5
Question 6 NAT · 2.0 marks
Let

be a matrix whose non-zero singular values are

and

. If

is the best
rank-3 approximation of

, then compute

.
A published solution is not available for this question yet.
Report a correction for Q6
Question 7 NAT · 2.0 marks
Consider a binary classification problem with a single feature in

. Given a set of

distinct points
in

, what is the maximum number of labelings possible using classifiers from

, the class of
interval classifiers?
A published solution is not available for this question yet.
Report a correction for Q7
Question 8 NAT · 3.0 marks
Let

be the set of all axis-parallel cuboids in

, a generalization of the axis-parallel rectangles in

to three dimensions. Find the VC dimension of

.
A published solution is not available for this question yet.
Report a correction for Q8
Question 9 NAT · 2.0 marks

A published solution is not available for this question yet.
Report a correction for Q9
Question 10 NAT · 1.0 marks
The hypothesis class of axis parallel rectangles has a sample compression scheme of size

. What
is

?
A published solution is not available for this question yet.
Report a correction for Q10
Question 11 NAT · 3.0 marks
In the context of data privacy, consider the randomized response mechanism applied to the true
data

with

. Let the intermediate random vector generated by the
mechanism be

. What is the probability of observing the intermediate bit pattern

?
That is, compute

. Enter your answer correct to three decimal places.
A published solution is not available for this question yet.
Report a correction for Q11
Question 12 NAT · 3.0 marks

A published solution is not available for this question yet.
Report a correction for Q12
Question 13 NAT · 0.0 marks
**BONUS Question (0 marks)**Find the VC dimension of the set of all triangle classifiers in

, where
a triangle classifier is one that predicts

for all points inside the triangle and

for points outside
it.
A published solution is not available for this question yet.
Report a correction for Q13
Question 14 MCQ · 2.0 marks
Consider a binary classification problem where

is the joint distribution over the features and
labels and

is a finite hypothesis class.

is a dataset of

points randomly sampled in an
i.i.d manner from

.

is some classifier output by an algorithm given

as input.

is some
small positive real number. Let

and

be two events defined as follows:

Based on the above data, answer the given subquestions.
What is

?
6406536025065.Generalization error
6406536025066.Estimation error
6406536025067.Approximation error
6406536025068.Bayes error
A published solution is not available for this question yet.
Report a correction for Q14
Question 15 MCQ · 2.0 marks
Consider a binary classification problem where

is the joint distribution over the features and
labels and

is a finite hypothesis class.

is a dataset of

points randomly sampled in an
i.i.d manner from

.

is some classifier output by an algorithm given

as input.

is some
small positive real number. Let

and

be two events defined as follows:

Based on the above data, answer the given subquestions.
Which of the following is true?
6406536025069.
6406536025070.
6406536025071.
A published solution is not available for this question yet.
Report a correction for Q15
Question 16 MSQ · 2.0 marks
Consider a binary classification problem where

is the joint distribution over the features and
labels and

is a finite hypothesis class.

is a dataset of

points randomly sampled in an
i.i.d manner from

.

is some classifier output by an algorithm given

as input.

is some
small positive real number. Let

and

be two events defined as follows:

Based on the above data, answer the given subquestions.
Uniform convergence results show that

whenever

, where

is some small
positive real number. Which of the following is/are true?
6406536025072.If

decreases,

increases.
6406536025073.If

increases, then

increases.
6406536025074.If

increases,

increases.
6406536025075.
is independent of

.
A published solution is not available for this question yet.
Report a correction for Q16
Question 17 NAT · 2.0 marks

Based on the above data, answer the given subquestions.
Find the absolute value of the estimation error for

. Enter the answer correct to three decimal
places.
A published solution is not available for this question yet.
Report a correction for Q17
Question 18 NAT · 2.0 marks

Based on the above data, answer the given subquestions.
Find the absolute value of the approximation error.
A published solution is not available for this question yet.
Report a correction for Q18
Question 19 NAT · 2.0 marks

Based on the above data, answer the given subquestions.

A published solution is not available for this question yet.
Report a correction for Q19
Question 20 NAT · 2.0 marks

Based on the above data, answer the given subquestions.

A published solution is not available for this question yet.
Report a correction for Q20