Home / MLF / Week 1 / Real questions
16 questions pulled from past papers whose wording matches this week's topics, newest first, duplicates removed. Pick your answers, then press Check answers. Figures and answer keys are the originals.
and the plane
Enter your answer correct to two decimal places.
for a binary classification problem as given below:
The dataset has four data-points.
are the features and
is the true label:
Find the loss of
on this dataset and enter your answer correct to two decimal places. Recall that the loss is the average number of misclassified points.
Run PCA on this dataset. Based on the above data, answer the given subquestions.
be the unit-norm eigenvector corresponding to the smallest eigenvalue of the covariance matrix. Find the variance of the dataset along the direction
. Enter the nearest integer as your answer.
or not
by using some classification models. Therefore, the team defines three binary features
where,
= Presence of suspicious keywords (1 = present, 0 = absent)•
= Whether the sender is unknown (1 = unknown, 0 = known)•
= Whether the email contains a link (1 = yes, 0 = no)• The team collects the following dataset from previously classified emails:
The model makes a prediction using the rule :
and
Compute the average loss on this dataset. Enter your answer correct to one decimal place.
with radius
that is closest to the point
. If this distance is
, enter
as your answer. Your answer should be an integer.
. Find the directional derivative of
at the point
in the direction of unit vector along
.



,
and
, each having three points as shown below. The figure is drawn to scale. PCA is run on both these datasets separately.
and
are the covariance matrices of the two datasets respectively. If
is the eigenvector corresponding to the largest eigenvalue of
and
is the eigenvector corresponding to the smallest eigenvalue of
, find the absolute value of
. Both eigenvectors have unit norm. Your answer should be an integer.
denote the distance from the center to the point where the dart hits the board. Suppose the PDF of
is
Calculate the value of
. Enter the answer correct to two decimal places.
Consider the following input data points: Which among the following models has the least misclassification error?