MauryaHub PYQ Practice

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?
6406536025041.
Accuracy
6406536025042.
F1 score
6406536025043.
Precision
6406536025044.
Log loss

A published solution is not available for this question yet.

Report a correction for Q2

Question 3 MSQ · 3.0 marks

Consider a dataset
Source diagram or notation
of
Source diagram or notation
data-points in
Source diagram or notation
. Given
Source diagram or notation
, let
Source diagram or notation
be a linear map from
Source diagram or notation
, an approximate isometry as guaranteed by the JL lemma. Which of the following are true?
6406536025045.Source diagram or notation
6406536025046.Source diagram or notation
, for all
Source diagram or notation
6406536025047.Source diagram or notation
, for all
Source diagram or notation
6406536025048.Source diagram or notation
, for all
Source diagram or notation

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
Source diagram or notation
is called
Source diagram or notation
-sensitive for some
Source diagram or notation
,
Source diagram or notation
,
Source diagram or notation
if exactly two conditions hold for any pair of points
Source diagram or notation
. What are these two conditions?
6406536025049.Source diagram or notation
6406536025050.Source diagram or notation
6406536025051.Source diagram or notation
6406536025052.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q4

Question 5 MSQ · 3.0 marks

Let
Source diagram or notation
be an undirected, weighted graph, with non-negative edge weights.
Source diagram or notation
is the
Source diagram or notation
matrix of weights.
Source diagram or notation
is a diagonal matrix such that . Also,
Source diagram or notation
is the Laplacian of the graph. Which of the following are true?
6406536025053.Source diagram or notation
6406536025054.Source diagram or notation
6406536025055.Source diagram or notation
is an eigenvalue of
Source diagram or notation
6406536025056.Source diagram or notation
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
Source diagram or notation
be a matrix whose non-zero singular values are
Source diagram or notation
and
Source diagram or notation
. If
Source diagram or notation
is the best rank-3 approximation of
Source diagram or notation
, then compute
Source diagram or notation
.

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
Source diagram or notation
. Given a set of
Source diagram or notation
distinct points in
Source diagram or notation
, what is the maximum number of labelings possible using classifiers from
Source diagram or notation
, 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
Source diagram or notation
be the set of all axis-parallel cuboids in
Source diagram or notation
, a generalization of the axis-parallel rectangles in
Source diagram or notation
to three dimensions. Find the VC dimension of
Source diagram or notation
.

A published solution is not available for this question yet.

Report a correction for Q8

Question 9 NAT · 2.0 marks

Source diagram or notation

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
Source diagram or notation
. What is
Source diagram or notation
?

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
Source diagram or notation
with
Source diagram or notation
. Let the intermediate random vector generated by the mechanism be
Source diagram or notation
. What is the probability of observing the intermediate bit pattern
Source diagram or notation
? That is, compute
Source diagram or notation
. 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

Source diagram or notation

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
Source diagram or notation
, where a triangle classifier is one that predicts
Source diagram or notation
for all points inside the triangle and
Source diagram or notation
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
Source diagram or notation
is the joint distribution over the features and labels and
Source diagram or notation
is a finite hypothesis class.
Source diagram or notation
is a dataset of
Source diagram or notation
points randomly sampled in an i.i.d manner from
Source diagram or notation
.
Source diagram or notation
is some classifier output by an algorithm given
Source diagram or notation
as input.
Source diagram or notation
is some small positive real number. Let
Source diagram or notation
and
Source diagram or notation
be two events defined as follows:
Source diagram or notation
Based on the above data, answer the given subquestions.
What is
Source diagram or notation
?
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
Source diagram or notation
is the joint distribution over the features and labels and
Source diagram or notation
is a finite hypothesis class.
Source diagram or notation
is a dataset of
Source diagram or notation
points randomly sampled in an i.i.d manner from
Source diagram or notation
.
Source diagram or notation
is some classifier output by an algorithm given
Source diagram or notation
as input.
Source diagram or notation
is some small positive real number. Let
Source diagram or notation
and
Source diagram or notation
be two events defined as follows:
Source diagram or notation
Based on the above data, answer the given subquestions.
Which of the following is true?
6406536025069.Source diagram or notation
6406536025070.Source diagram or notation
6406536025071.Source diagram or notation

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
Source diagram or notation
is the joint distribution over the features and labels and
Source diagram or notation
is a finite hypothesis class.
Source diagram or notation
is a dataset of
Source diagram or notation
points randomly sampled in an i.i.d manner from
Source diagram or notation
.
Source diagram or notation
is some classifier output by an algorithm given
Source diagram or notation
as input.
Source diagram or notation
is some small positive real number. Let
Source diagram or notation
and
Source diagram or notation
be two events defined as follows:
Source diagram or notation
Based on the above data, answer the given subquestions.
Uniform convergence results show that
Source diagram or notation
whenever
Source diagram or notation
, where
Source diagram or notation
is some small positive real number. Which of the following is/are true?
6406536025072.
If
Source diagram or notation
decreases,
Source diagram or notation
increases.
6406536025073.
If
Source diagram or notation
increases, then
Source diagram or notation
increases.
6406536025074.
If
Source diagram or notation
increases,
Source diagram or notation
increases.
6406536025075.Source diagram or notation
is independent of
Source diagram or notation
.

A published solution is not available for this question yet.

Report a correction for Q16

Question 17 NAT · 2.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Find the absolute value of the estimation error for
Source diagram or notation
. 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

Source diagram or notation
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

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q19

Question 20 NAT · 2.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q20