Question 1 | MCQ
THIS IS QUESTION PAPER FOR THE SUBJECT"DIPLOMA LEVEL : MACHINE LEARNING
TECHNIQUES (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)
TECHNIQUES (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
Let
be
points in
that are linearly separable by a hyperplane through the origin. Construct
where
is a constant. The perceptron algorithm (initialised at
, learning rate
) is run on both
and
, using the same ordering of points in both runs. Which of the following statements are true?
Solution
Consider binary classification on input features
. Define thedecision boundaryof a trained classifier as the set of points at which its predicted label changes. For which of the following method(s) can this decision boundary be non-linear in
?
Solution
Let
be the sigmoid (logistic) function. Select all statements below that are true for every
.
Solution
Identify the correct relationship(s) between bias, variance, and the hyperparameter
in the
-
Nearest Neighbours algorithm.
Nearest Neighbours algorithm.
Solution
Consider the effect of each operation below on a model's bias and variance. Which of the following statements are correct?
Solution
Inscript
In logistic regression, a point is classified positive only if
. What score threshold
(with
at the boundary of this rule) does this correspond to? (Round to 2 decimal places.)
In logistic regression, a point is classified positive only if
Solution
Inscript
You build a fully-connected feed-forward neural network for a classification task. The input is a
- dimensional vector; the network has two hidden layers of
neurons each, followed by an output layer of
neurons. Every layer is densely (fully) connected to the next. Ignoring all bias terms, compute the total number of weight parameters in the network. (Enter
if it cannot be determined.)
You build a fully-connected feed-forward neural network for a classification task. The input is a
Solution
Let
be the solution to the ordinary least-squares linear regression problem
. Which of the following is always satisfied at
? Note that here
is your feature matrix and
is the label vector.
Solution
Consider a scenario where we use leave-one-out cross-validation (LOOCV) with a Support Vector Machine (SVM) for binary classification. Given a dataset
, the cross- validation error for a sample
is
if
and
otherwise, where
is the prediction for
produced by the SVM trained on
. The overall cross-validation error
is
. Let
be the number of support vectors obtained by training on the full dataset
. Which statement is true regarding the relationship between
and
?
is
Solution
Inscript
Consider one-dimensional ridge regression with no bias term. Given
and
, with
, compute the optimal
. Note that
is
th data point and
is
th label. (Round to 2 decimal places.)
Consider one-dimensional ridge regression with no bias term. Given
Solution
For the covariance matrix
, compute the variance captured along the first principal component.
Solution
Given a dataset with
discrete attributes, each taking exactly 5 possible values (where
), for a three-class classification task, the number of parameters to be estimated for learning a naïve Bayes classifier is:
Solution
For an optimal soft-margin SVM solution (no bias term), a training point satisfies
. Here
denotes the slack variable for this point, and
is the Lagrange multiplier on the constraint
. Which statement is necessarily true?
Solution
Consider a binary classification dataset in which the two classes are perfectly linearly separable. You are considering a Perceptron, Logistic Regression, and a Decision Tree. If the objective is to learn a linear decision boundary and no probability estimates are required, which of the following classifiers are appropriate choices?
Solution
A Euclidean-distance-based
-means clustering algorithm was run on a dataset of
points with
. If the points
and
are both part of cluster
, then which ONE of the following points is necessarily also part of cluster
?
Solution
Inscript

Note: coordinates of x1vector are intentionally not provided.
Note: coordinates of x1vector are intentionally not provided.
Solution
Which of the following statements about entropy and information gain in decision-tree learning are correct?
Solution
Which of the following statements about bagging are correct?
Solution
Suppose we model data as
with a single unknown parameter
and known variance
(each
). You perform maximum-likelihood estimation of
. The MLE of
must satisfy which of the following equations? Note that
is a feature and
is a label.
Solution
Shape
Thickness [ / ]
3
All colors