Home / Past papers / MLT End Term / this paper
in the soft-margin SVM makes it behave less like the hard-margin SVM.
and radius
, which of the following statements about the perceptron algorithm are true?
, a single application of the update rule is guaranteed to classify
correctly immediately after that step.
, the perceptron always converges to one unique separating hyperplane, independent of the order in which misclassified points are presented.
(points in
,
examples) and
(points in
,
examples) be two linearly separable datasets with
and
. The perceptron's worst-case mistake count is always larger for
than for
.
features, the following weight vectors all produce an equal mean squared error:
Which of the weight vectors is likely to be chosen by ridge regression?



and binary label
:
Consider the following three claims about this dataset: (i) Logistic regression (using the raw features
, with or without a bias term) can achieve zero training error. (ii) A decision tree of depth at most
, using axis-aligned splits on
, can achieve zero training error. (iii)
-nearest-neighbour, evaluated on this training set, achieves zero training error. Consider each point is its own nearest neighbour. Select the option that lists exactly the claims that are true.
for one class and
for the other. Without manually creating nonlinear features, which classifier among the three is most naturally capable of representing this type of decision boundary?
. You fit three models to the data: linear regression, polynomial regression of degree
, and polynomial regression of degree
. Which option correctly characterizes the bias and variance of each fitted model relative to the true model?
: low bias, high variance; degree-
: high bias, high variance.
: low bias, low variance; degree-
: high bias, low variance.
: high bias, low variance; degree-
: low bias, high variance.
: low bias, low variance; degree-
: low bias, high variance.
(the model is
). The current weight is
, the training set is a single example
, and the step size is
. Gradient ascent is performed directly on the log-likelihood of the data. Compute
after one gradient-ascent step. (Round to
decimal places; enter
if it cannot be determined.)
. What score threshold
(with
at the boundary of this rule) does this correspond to? (Round to
decimal places.)
-dimensional vector; the network has two hidden layers of
and
neurons respectively, followed by an output layer of
neurons. Every layer is densely connected to the next.
, compute the total number of weight parameters in the network. (Enter
if it cannot be determined.)
. The squared-error objective over the training set is
. The dataset is
. Starting from
with learning rate
perform one gradient-descent step. What is the model's prediction at
?
with
and
. Two of the training points strictly violate the margin constraint, these two points are
with
, and
with
. All other points lie strictly beyond the margin. Compute the perpendicular distance between the margin hyperplanes
and
. (Round to
decimal places.)
training examples:
positive and
negative. A candidate split divides them into two children: one child with
positive and
negative, the other with
positive and
negative. Using entropy (base-
logarithms), compute the information gain of this split. (Round to
decimal places.)
, compute the variance captured along the first principal component.



, together with its decision boundary
and its two margin hyperplanes
and
(dashed). Each point is marked with its true label,
or
. For how many points is it possible that
lie in the range
? (Enter
if it cannot be determined from the figure.)





, with labels
and
. A hard-margin linear SVM is trained on this dataset. Which ONE of the following sets is a possible set of support vectors?



with positive examples
and negative examples
. Apply the feature map
and a linear model
. Which of the following weight vectors
gives a maximum-margin decision surface separating the two classes?



-nearest-neighbours, as the hyperparameter
is increased from
towards
(the size of the training set), which of the following best describes the trend in the model's bias and variance?
are i.i.d. samples from the uniform distribution
with unknown parameter
. Which of the following is the maximum-likelihood estimate of
?


