ML Study Hub

Home / Past papers / MLT Quiz 2 / this paper

IIT M DIPLOMA AN EXAM QDD3 16 Mar - 16 Mar 2025

MLT Quiz 214 questions40 marks6 MCQ · 6 SA · 2 MSQDiploma / afternoon / QDD3
Elapsed 00:00
Q1MCQ3 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q2MCQ3 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q3MCQ2 marks
p is the proportion of points with label 1 in some node in a decision tree. Which of the following statements are true?
  1. As the value of p increases from 0 to 1, the impurity of the node increases.
  2. As the value of p increases from 0 to 1, the impurity of the node decreases.
  3. The impurity of the node does not depend on p.
  4. p = 0.5 correspond to the case of maximum impurity.
Q4MCQ2 marks
question figure
  1. To prevent numerical errors when calculating the variance of Gaussianfeatures.
  2. To ensure that unseen categorical feature values receive small but nonzeroprobabilities.
  3. To strengthen the model’s predictions by increasing the weight of certainfeatures.
  4. To balance the likelihood values of all features before computing posteriorprobabilities.
Q5MCQ4 marks
question figure
  1. (a)
  2. (b)
  3. Insufficient information
Q6MSQ3 marksselect all that apply
question figure
  1. It ensures that the regression model remains linear.
  2. It computes the similarity between data points in a transformed feature space.
  3. It allows the model to capture non-linear relationships by mapping data to ahigher-dimensional space.
  4. It helps in reducing the variance of the model.
  5. It minimizes the loss function in regression problems.
Q7MSQ3 marksselect all that apply
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q8SA4 marks
question figure
Q9SA4 marks
question figure
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q10SA3 marks
question figure
Q11SA2 marks
question figure
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q12SA2 marks
question figure
Q13SA3 marks
Compute the Leave-one-out cross validation (LOOCV) error for the 3- nearest neighbour (3-NN) algorithm on this dataset. Enter the answer correct to two decimal places.
Q14MCQ2 marks
Is it possible to reduce the cross-validation error obtained in the previous question by changing the label of certain points?
  1. Yes
  2. No
  3. Cannot conclude from the given information.

Answer key

  1. Q1 (MCQ, 3 marks): C
  2. Q2 (MCQ, 3 marks): B
  3. Q3 (MCQ, 2 marks): D
  4. Q4 (MCQ, 2 marks): B
  5. Q5 (MCQ, 4 marks): A
  6. Q6 (MSQ, 3 marks): B, C
  7. Q7 (MSQ, 3 marks): A, C
  8. Q8 (SA, 4 marks): 483
  9. Q9 (SA, 4 marks): 1
  10. Q10 (SA, 3 marks): 7
  11. Q11 (SA, 2 marks): 35
  12. Q12 (SA, 2 marks): 1
  13. Q13 (SA, 3 marks): 0.41 to 0.45
  14. Q14 (MCQ, 2 marks): A

Concepts this paper tests

Auto-generated summary from the source site. Handy as a checklist; the lessons above explain each idea from scratch.

Summary of Core Topics, Concepts, Principles, and Equations

1. Ridge Regression

min⁡w∈Rn∑i=1n(wTxi−yi)2subject to∥w∥2≤θ\min_{w \in \mathbb{R}^n} \sum_{i=1}^{n} (w^T x_i - y_i)^2 \quad \text{subject to} \quad \|w\|^2 \leq \theta

2. Naive Bayes Classifier

P(xi∣y)=Nxi∣y+1Ny+VP(x_i | y) = \frac{N_{x_i|y} + 1}{N_y + V}

where Nxi∣yN_{x_i|y} is the count of feature xix_i in class yy, NyN_y is the total count of features in class yy, and VV is the number of possible feature values.

3. Decision Trees

Information Gain=Entropy(D)−γEntropy(DYes)−(1−γ)Entropy(DNo)\text{Information Gain} = \text{Entropy}(D) - \gamma \text{Entropy}(D_{Yes}) - (1 - \gamma) \text{Entropy}(D_{No})

4. Kernel Regression

K(x,x′)=(xTx′+1)dK(x, x') = (x^T x' + 1)^d

5. Gradient Descent

wnew=wold−η∇f(w)w_{new} = w_{old} - \eta \nabla f(w)

where η\eta is the learning rate and ∇f(w)\nabla f(w) is the gradient of the loss function.

6. k-Nearest Neighbors (k-NN)