ML Study Hub

Home / Past papers / MLT Quiz 2 / this paper

Machine Learning Indian Institute Of Technology, Madras - Bs In Data Science And Applications Techniques 14 Aug 26 - 16 Aug 2026

MLT Quiz 211 questions40 marks9 MCQ · 1 MSQ · 1 SA
Elapsed 00:00
Q1MCQ4 marks
Consider a binary classification problem in . The feature space is partitioned into the following four regions: Each region contains the same number of observations. All observations in regions and belong to the positive class, while all observations in regions and belong to the negative class. A decision tree is constructed using axis-aligned binary splits of the form where is any real number. At each node, the split is chosen to maximize the information gain based on entropy. What is the minimum number of binary questions (splits) that the decision tree must ask to obtain leaf nodes with zero entropy?
  1. It is impossible using only axis-aligned splits.
Q2MCQ4 marks
Suppose an email is represented by a binary feature vector A generative classifier first chooses the class label according to the prior distribution . It then generates the feature vector conditioned on the chosen class. The classifier assumes that, given the class label, the features are conditionally independent. Which of the following expressions correctly represents
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q3MCQ4 marks
Under the probabilistic view of linear regression, assume where the observations are independent. Suppose the true noise variance is instead of , while the dataset and the observed labels remain unchanged. What happens to the maximum likelihood estimator question figure
  1. It is unchanged.
  2. It is scaled by .
  3. It is scaled by .
  4. It cannot be determined without knowing .
Q4MCQ4 marks
On a machine that folds plastic film, the operating temperature can be varied between and . To study the relationship between temperature and fold thickness, observations of temperature and the corresponding fold thickness were collected. The scatter plot along with the fitted simple linear regression line is shown below. question figure Determine, by inspecting the figure, which of the following sets of parameter estimates for the simple linear regression model is most appropriate. Note: The regression model is where Here, is the estimated intercept,• is the estimated slope, and• is the estimated standard deviation of the error term.•
Q5MCQ4 marks
question figure
  1. question figure
  2. question figure
Q6MCQ3 marks
A node in a decision tree contains an equal number of positive and negative training examples. What is the entropy of this node?
  1. 0
  2. 0.5
  3. 1
  4. It depends on the total number of training examples.
Q7MCQ3 marks
A student minimizes the sum of squared errors (SSE) loss question figure while another student minimizes the mean squared error (MSE) loss question figure Both students use gradient descent with the same learning rate and the same initial parameter vector . Which one of the following statements is correct?
  1. They converge to different minimizers, because the losses differ.
  2. They converge to the same minimizer, but 's steps are times smaller; would need learning rate to reproduce 's trajectory.
  3. They converge to the same minimizer, and their iterates coincide at every step.
  4. They converge to the same minimizer, but 's steps are times larger.
Q8MCQ3 marks
A dataset has data points and features. The two feature vectors are question figure For which label vector is the linear model to achieve exactly zero training error?
Q9MCQ3 marks
Suppose the label vector is orthogonal to every feature vector, i.e. for all . is the optimal weight obtained after minimizing the objective function of linear regression. Which statement is correct?
  1. and the training error is .
  2. and the squared training error equals .
  3. and the squared training error equals .
  4. The normal equations have no solution.
Q10MSQ4 marksselect all that apply
Which of the following statements about the K-Nearest Neighbours (KNN) algorithm are correct?
  1. The choice of distance metric can affect the predicted class.
  2. Once trained, KNN makes predictions without referring to the training data.
  3. Every prediction does not require computing distances from the test point to all training data.
  4. The computational cost of prediction generally increases with the size of the training dataset.
Q11SA4 marks
A generative classifier models the joint distribution of the feature vector and the class label . For a particular email represented by the feature vector , suppose and Compute the posterior probability

Answer key

  1. Q1 (MCQ, 4 marks): A
  2. Q2 (MCQ, 4 marks): D
  3. Q3 (MCQ, 4 marks): A
  4. Q4 (MCQ, 4 marks): C
  5. Q5 (MCQ, 4 marks): D
  6. Q6 (MCQ, 3 marks): C
  7. Q7 (MCQ, 3 marks): B
  8. Q8 (MCQ, 3 marks): A
  9. Q9 (MCQ, 3 marks): B
  10. Q10 (MSQ, 4 marks): A, D
  11. Q11 (SA, 4 marks): 0.3