ML Study Hub

Home / MLT / Week 10 / Real questions

MLT week 10 - real exam questions

33 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.

Elapsed 00:00
MLT End Term · 13 Sep 2026 · open the full paper
Practice 1MCQ3 marks
Which of the following statements correctly distinguishes the hard-margin SVM from the soft-margin SVM?
  1. The hard-margin SVM has a feasible solution only when the training data is linearly separable, whereas the soft-margin SVM always has a feasible solution.
  2. The hard-margin SVM allows some training points to violate the margin, whereas the soft-margin SVM forbids all margin violations.
  3. Increasing the regularisation parameter in the soft-margin SVM makes it behave less like the hard-margin SVM.
  4. Unlike the hard-margin SVM, the soft-margin SVM can only be used with non- linear kernels.
MLT End Term · 13 Sep 2026 · open the full paper
Practice 2MCQ3 marks
Given a linearly separable dataset with margin and radius question figure , which of the following statements about the perceptron algorithm are true?
  1. At a misclassified point , a single application of the update rule is guaranteed to classify correctly immediately after that step.
  2. For any linearly separable data with margin , the perceptron always converges to one unique separating hyperplane, independent of the order in which misclassified points are presented.
  3. Let (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 .
  4. None of these.
MLT End Term · 13 Sep 2026 · open the full paper
Practice 3SA3 marks
Consider a soft-margin SVM in 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.)
MLT End Term · 13 Sep 2026 · open the full paper
Practice 4MCQ4 marks
The figure below shows the training points of a soft-margin SVM in , 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.) question figure
MLT End Term · 13 Sep 2026 · open the full paper
Practice 5MCQ4 marks
Consider a dataset with six datapoints , 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?
  1. question figure
MLT End Term · 13 Sep 2026 · open the full paper
Practice 6MCQ4 marks
Consider a binary classification problem in 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?
MLT End Term · 13 Sep 2026 · open the full paper
Practice 7MSQ4 marksselect all that apply
Consider binary classification on input features . Define the decision boundary of 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 ?
  1. Perceptron.
  2. Logistic regression, predicting the positive class when .
  3. -nearest-neighbour with Euclidean distance.
  4. A decision tree using axis-aligned splits.
  5. Gaussian Naïve Bayes in which the class-conditional feature variances differ between the two classes.
  6. A support vector machine with a linear kernel.
  7. A support vector machine with an RBF (Gaussian) kernel.
MLT End Term · 13 Sep 2026 · open the full paper
Practice 8MSQ2 marksselect all that apply
Consider the effect of each operation below on a model's bias and variance. Which of the following statements are correct?
  1. Regularising the weights in a linear/logistic regression model increases bias and decreases variance.
  2. Increasing the maximum depth of a decision tree increases bias and decreases variance.
  3. Increasing the number of hidden units in a neural network decreases bias and increases variance.
  4. Removing all the non-support-vectors from the training set of an SVM leaves both bias and variance unchanged.
MLT End Term · 13 Sep 2026 · open the full paper
Practice 9MCQ4 marks
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 question figure . Let be the number of support vectors obtained by training on the full dataset . Which statement is true regarding the relationship between and ?
  1. question figure
  2. question figure
  3. question figure
  4. is independent of
MLT End Term · 13 Sep 2026 · open the full paper
Practice 10MCQ2 marks
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?
  1. The point is misclassified by .
  2. .
  3. and .
  4. .
MLT Quiz 1 · 19 Jul 2026 · open the full paper
Practice 11MSQ4 marksselect all that apply
Consider a GMM with components.During the E-step for a single data point , you are given only the following two quantities for the first component: where is the prior mixing weight and is the posterior responsibility. All other component parameters and densities are unknown. Based strictly on these two values and the mathematical definition of the E-step responsibility, question figure which of the following quantities can be uniquely determined as exact numerical values?
  1. The marginal probability density of the data point, .
  2. The ratio of the conditional density to the marginal density for component : .question figure
  3. The ratio of the joint probability of component to the sum of joint probabilities of all other components: .question figure
  4. The sum of posterior responsibilities for all components other than component :question figure
MLT End Term · 10 May 2026 · open the full paper
Practice 12MCQ3 marks
Consider a dataset for a binary classification problem with features in as shown in the figure. The red points belong to class while the green points belong to class . Which of the following classifiers is the most appropriate choice? question figure
  1. Hard-margin, Linear SVM
  2. Hard-margin, Kernel SVM, with a suitable kernel
  3. Soft-margin, Linear SVM
  4. Soft-margin, Kernel SVM, with a suitable kernel
MLT End Term · 10 May 2026 · open the full paper
Practice 13MSQ3 marksselect all that apply
Two loss functions are plotted in this graph. What are the two? question figure
  1. Logistic loss
  2. Hinge loss
  3. Squared loss
  4. 0-1 loss
MLT End Term · 10 May 2026 · open the full paper
Practice 14MCQ4 marks
Consider a dataset with two data-points for a binary classification problem with features in . is a data-point from the positive class while is from the negative class. We now consider three linear classifiers: perceptron, logistic regression and SVM. question figure If is the weight vector with the largest margin, which of the following is true? question figure
  1. All three classifiers output
  2. Only SVM outputs
  3. Only SVM and perceptron output
  4. Only perceptron and logistic regression output
MLT End Term · 10 May 2026 · open the full paper
Practice 15MSQ3 marksselect all that apply
Consider a binary classification dataset in that is linearly separable. Suppose there exist two distinct weight vectors and that both correctly classify all training points with a positive margin. The Perceptron algorithm is applied to this dataset. Which of the following statements are correct? (Select all that apply.)
  1. The Perceptron algorithm is guaranteed to converge to .
  2. The final weight vector obtained by the Perceptron algorithm depends on the initialization and the order in which the data points are presented.
  3. The Perceptron algorithm is guaranteed to converge to some separating hyperplane in a finite number of updates.
  4. The Perceptron algorithm always converges to the maximum margin separator among all possible separating hyperplanes.
MLT End Term · 10 May 2026 · open the full paper
Practice 16SA4 marks
Consider a hard-margin SVM trained on a linearly separable dataset. The optimal Lagrange multipliers are . The training dataset is given by Given the test point , determine the predicted label . Enter the answer as either or The prediction for a test point is given by
MLT End Term · 10 May 2026 · open the full paper
Practice 17SA2 marks
Comprehension passage for this question
Consider the following soft-margin Support Vector Machine (SVM) classifier. The solid line represents the decision boundary , and the dotted lines represent the margin boundaries and . Red points correspond to the negative class, and green points correspond to the positive class. question figure Based on the above data, answer the given subquestions.
How many datapoints will incur a penalty (i.e., have non-zero slack variables )?
MLT End Term · 10 May 2026 · open the full paper
Practice 18SA2 marks
Comprehension passage for this question
Consider the following soft-margin Support Vector Machine (SVM) classifier. The solid line represents the decision boundary , and the dotted lines represent the margin boundaries and . Red points correspond to the negative class, and green points correspond to the positive class. question figure Based on the above data, answer the given subquestions.
How many datapoints will definitely have in the dual formulation of SVM?
MLT End Term · 10 May 2026 · open the full paper
Practice 19MCQ3 marks
Consider the datapoints with label and with label . A hard margin SVM is applied on this dataset. Which of the following is the decision boundary for the above dataset?
MLT End Term · 21 Dec 2025 · open the full paper
Practice 20SA4 marks
Consider an SVM classifier with separating hyperplane defined by , where the weight vector is . Compute the perpendicular distance from the point to the hyperplane. Enter your answer correct to three decimal places.
MLT End Term · 31 Aug 2025 · open the full paper
Practice 21MSQ4 marksselect all that apply
Given a two-dimensional data set where points from class 1 are: {(−2, 3), (−1, 1)} and points from class 0 are: {(1, 3), (1, 4)}. Which of the following statements are true?
  1. The given data points from classes 1 and 0 can be linearly separated using ahard-margin SVM.
  2. A perceptron model and a hard-margin SVM can give different decisionboundary for this dataset.
  3. A soft-margin SVM would be a more robust choice than a hard-margin SVM forthis dataset as the dataset is not linearly separable.
  4. The width of the separation between the two supporting hyperplanes is 4.
MLT End Term · 13 Apr 2025 · open the full paper
Practice 22MSQ3 marksselect all that apply
Comprehension passage for this question
Based on the above data, answer the given subquestions. question figure
Which of the following training data points are certainly not support vectors?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
MLT End Term · 22 Dec 2024 · open the full paper
Practice 23MCQ2 marks
If we remove all the non-support vectors from the dataset, what will be the impact on the model using SVM algorithm?
  1. Model will overfit.
  2. The model will not be changed.
  3. Model will underfit.
  4. Accuracy of the model will increase.
MLT End Term · 01 Sep 2024 · open the full paper
Practice 24MSQ3 marksselect all that apply
question figure
  1. The dataset is linearly separable with a positive margin.
  2. The perceptron algorithm will terminate after a finite number of iterationswhen trained on this dataset.
  3. The dataset is linearly separable, but the margin may be zero.
  4. The dataset is not linearly separable.
MLT End Term · 01 Sep 2024 · open the full paper
Practice 25MCQ1 mark
Comprehension passage for this question
Based on the above data, answer the given subquestions. question figure
If a soft-margin SVM is trained on this dataset, the optimal weight vector it returns will be the same as the one returned by a hard-margin SVM, irrespective of the value of the hyperparameter C.
  1. TRUE
  2. FALSE
MLT End Term · 01 Sep 2024 · open the full paper
Practice 26MSQ3 marksselect all that apply
question figure
  1. The dataset is linearly separable with a positive margin.
  2. The perceptron algorithm will terminate after a finite number of iterationswhen trained on this dataset.
  3. The dataset is linearly separable, but the margin may be zero.
  4. The dataset is not linearly separable.
MLT End Term · 01 Sep 2024 · open the full paper
Practice 27SA0.5 marks
Comprehension passage for this question
Based on the above data, answer the given subquestions. question figure
Enter the number corresponding to the (SVM) hinge loss.
MLT End Term · 28 Apr 2024 · open the full paper
Practice 28MSQ3 marksselect all that apply
Consider the following dataset on which the soft margin SVM is applied. question figure Consider the following dataset on which the soft margin SVM is applied. Which of the following statements is/are true about this dataset?
  1. Points {F, A, C, I} are the only support vectors.
  2. Points {A, N} are a subset of support vectors.
  3. Points {F, A, N} are a subset of support vectors.
  4. Points except {F, A, C, I, N} do not play any role in determining optimal weightvector.
  5. Points except {F, A, C, I} do not play any role in determining optimal weightvector.
MLT End Term · 28 Apr 2024 · open the full paper
Practice 29MSQ4 marksselect all that apply
question figure
  1. Points {F, I} are the only support vectors.
  2. Points {A, N} are a subset of support vectors.
  3. Points {F, A, C, I} are the only support vectors.
  4. Points except {F, A, C, I, N} do not play any role in determining optimal weightvector.
  5. Points except {F, A, C, I} do not play any role in determining optimal weightvector.
MLT End Term · 03 Sep 2023 · open the full paper
Practice 30MCQ6 marks
question figure
  1. The given data points from classes A and B can be linearly separated using aHard-margin SVM.
  2. Points (2, 2) from class 1 and (3, 3) from class 0 will be on the decisionboundary or support vectors.
  3. A Soft-margin SVM would be a more robust choice than a Hard-margin SVM forthis dataset as the dataset is not linearly separable.
  4. A perceptron model and a hard margin SVM will always give the same decisionboundary for this dataset.
MLT End Term · 30 Apr 2023 · open the full paper
Practice 31MCQ5 marks
question figure
  1. w shown in this diagram is the optimal weight vector for a hard-margin, linear-SVM
  2. w shown in this diagram is not the optimal weight vector for a hard-margin,linear-SVM
MLT Quiz 2 · 10 Jul 2022 · open the full paper
Practice 32MCQ2 marks
Which of the following could be the decision boundary learned by a hard-margin SVM? Choose the most appropriate option. NOTE: The dataset is the same for all four options.
  1. question figure
  2. question figure
  3. question figure
  4. question figure
MLT Quiz 2 · 10 Jul 2022 · open the full paper
Practice 33MSQ3 marksselect all that apply
Consider a binary classification task that has 2 features. Assume that we train a soft-margin, linear SVM (decision boundary is a line in 2D space). We know nothing about the distribution of points in the training set. The points need not be linearly separable. This model is now tested on the following dataset that has four points. question figure Consider a binary classification task that has 2 features. Assume that we train a soft-margin, linear SVM (decision boundary is a line in 2D space). We know nothing about the distribution of points in the training set. The points need not be linearly separable. This model is now tested on the following dataset that has four points. What are the possible values of the accuracy of the model? All options are independent of each other. Assume that the decision boundary of the model does not pass through any one of the four points.
  1. 0
  2. 0.25
  3. 0.5
  4. 0.75
  5. 1