ML Study Hub

Home / Past papers / MLT End Term / this paper

Machine Learning Techniques 18 Dec 25 - 21 Dec 2025

MLT End Term17 questions50 marks7 MCQ · 6 SA · 4 MSQ
Elapsed 00:00
Q1MCQ3 marks
For the polynomial kernel the explicit feature map for the vector is 10-dimensional. Which of the following options is the correct transformed feature vector ?
Q2MSQ3 marksselect all that apply
A centered dataset in is projected onto its first two principal components. The first and the second principal components are respectively. question figure Then, which of the following vectors could be a valid third principal component?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Comprehension passage - the questions below it refer to this
Consider the following points on the real line: We run -means algorithm with . The initial cluster centers are and Based on the above data, answer the given subquestions.
Q3MCQ2 marks
What will be the cluster means after iteration 1?
Q4SA3 marks
Find the value of the objective function question figure after convergence. Enter the answer correct to two decimal places.
Q5MCQ2 marks
Suppose we have a prior for the parameter . Then, the value of the maximum likelihood estimate (MLE) is equal to the value of the maximum a posteriori (MAP) estimate.
  1. True
  2. False
Q6MCQ2 marks
Consider the following training dataset for a binary classification problem: where is a fixed nonzero constant and labels belong to . Let be the weight vector of a linear classifier. What condition should the weight vector satisfy for the 0-1 loss to be zero on this dataset?
  1. No such weight vector exists.
Q7MCQ2 marks
question figure
Q8SA3 marks
question figure
Q9MSQ3 marksselect all that apply
question figure
  1. If , and is close to 1, then such points will not contribute much to the update of .question figure
  2. If , and is close to 0, then such points will not contribute much to the update of .question figure
  3. If , and is close to 1, then such points will not contribute much to the update of .question figure
  4. If , and is close to 0, then such points will not contribute much to the update of .question figure
Q10SA4 marks
question figure
Q11SA4 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.
Q12MCQ3 marks
Consider two datasets and where and such that and , where and . The maximum number of mistakes made by the perceptron algorithm is higher on dataset than on dataset .
  1. True
  2. False
Q13MSQ3 marksselect all that apply
In a random forest classifier with total features, each split is chosen by evaluating a randomly selected subset of features. Consider how changing affects the behavior of the forest. Which of the following statements are correct?
  1. Increasing reduces the correlation between any two trees in the forest.
  2. Decreasing reduces the correlation between any two trees in the forest.
  3. If is too small, individual trees may underfit the data.
  4. Increasing always decreases the variance of the random forest model.
  5. Decreasing makes trees more similar to each other.
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q14SA4 marks
For input , compute the the regression output . Enter the answer correct to one decimal place.
Q15SA3 marks
Suppose the target value for this input is . Compute the squared loss . Enter the answer correct to two decimal places.
Comprehension passage - the questions below it refer to this
Consider the following one-dimensional dataset with binary labels . question figure AdaBoost uses decision stumps as weak learners. Assume the initial distribution of the dataset assigns equal weights to all data points, i.e., question figure , for . At iteration , AdaBoost chooses the decision stump question figure Based on the above data, answer the given subquestions.
Q16MCQ2 marks
Which point will be misclassified by the first decision stump?
  1. Points 4
  2. Points 5
  3. Points 3
  4. Points 1
Q17MSQ4 marksselect all that apply
After AdaBoost updates the sample weights for iteration , which pair of points will have the smallest (and equal) weights while training the second stump ?
  1. Points 1 and 2
  2. Points 3 and 4
  3. Points 3 and 5
  4. Points 1 and 5

Answer key

  1. Q1 (MCQ, 3 marks): B
  2. Q2 (MSQ, 3 marks): A, B
  3. Q3 (MCQ, 2 marks): D
  4. Q4 (SA, 3 marks): 8.63 to 8.68
  5. Q5 (MCQ, 2 marks): A
  6. Q6 (MCQ, 2 marks): D
  7. Q7 (MCQ, 2 marks): C
  8. Q8 (SA, 3 marks): 0.75
  9. Q9 (MSQ, 3 marks): A, D
  10. Q10 (SA, 4 marks): 0.273 to 0.279
  11. Q11 (SA, 4 marks): 1.333 to 1.339
  12. Q12 (MCQ, 3 marks): B
  13. Q13 (MSQ, 3 marks): B, C
  14. Q14 (SA, 4 marks): 0.1
  15. Q15 (SA, 3 marks): 1.19 to 1.23
  16. Q16 (MCQ, 2 marks): B
  17. Q17 (MSQ, 4 marks): A, B