ML Study Hub

Home / MLT / Week 7 / Real questions

MLT week 7 - real exam questions

59 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
Consider the following dataset with two binary features and binary label : question figure Consider the following three claims about this dataset: (i) Logistic regression (using the raw features , with or without a bias term) can achieve zero training error. (ii) A decision tree of depth at most , using axis-aligned splits on , can achieve zero training error. (iii) -nearest-neighbour, evaluated on this training set, achieves zero training error. Consider each point is its own nearest neighbour. Select the option that lists exactly the claims that are true.
  1. (i), (ii) and (iii)
  2. Only (ii) and (iii)
  3. Only (i) and (iii)
  4. Only (iii)
MLT End Term · 13 Sep 2026 · open the full paper
Practice 2MCQ3 marks
Suppose the dataset is initially linearly separable. Later, the data-generating process changes and the class boundary becomes highly nonlinear, for example: for one class and for the other. Without manually creating nonlinear features, which classifier among the three is most naturally capable of representing this type of decision boundary?
  1. Perceptron
  2. Logistic Regression
  3. Decision Tree
  4. None of these
MLT End Term · 13 Sep 2026 · open the full paper
Practice 3SA3 marks
A decision-tree node contains training examples: positive and negative. A candidate split divides them into two children: one child with positive and negative, the other with positive and negative. Using entropy (base- logarithms), compute the information gain of this split. (Round to decimal places.)
MLT End Term · 13 Sep 2026 · open the full paper
Practice 4MSQ4 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 5MSQ2 marksselect all that apply
Identify the correct relationship(s) between bias, variance, and the hyperparameter in the - Nearest Neighbours algorithm.
  1. Increasing leads to an increase in bias.
  2. Decreasing leads to an increase in bias.
  3. Increasing leads to an increase in variance.
  4. Decreasing leads to an increase in variance.
MLT End Term · 13 Sep 2026 · open the full paper
Practice 6MSQ2 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 7MCQ2 marks
Consider a binary classification dataset in which the two classes are perfectly linearly separable. You are considering a Perceptron, Logistic Regression, and a Decision Tree. If the objective is to learn a linear decision boundary and no probability estimates are required, which of the following classifiers are appropriate choices?
  1. Perceptron only
  2. Logistic Regression only
  3. Both Perceptron and Logistic Regression
  4. Decision Tree only
MLT End Term · 13 Sep 2026 · open the full paper
Practice 8MSQ3 marksselect all that apply
Which of the following statements about entropy and information gain in decision-tree learning are correct?
  1. If a feature splits a node into perfectly pure children, its information gain at that node equals the entropy of that node.
  2. A node whose examples all belong to a single class has entropy and needs no further splitting.
  3. Information gain can be negative if a split increases impurity.
  4. After a parent node is split into child nodes, no individual child node can have entropy greater than the parent node's entropy.
MLT End Term · 13 Sep 2026 · open the full paper
Practice 9MSQ3 marksselect all that apply
Which of the following statements about bagging are correct?
  1. Bagging reduces the variance of the ensemble's prediction.
  2. Bagging substantially reduces the bias of the base learner.
  3. Bagging tends to help most when the base learners are diverse (weakly correlated with one another).
  4. Bagging tends to help most with high-variance, low-bias base learners such as deep, unpruned decision trees.
  5. averaging all base learner reduces variance, if every base learner produces identical predictions.
MLT Quiz 2 · 16 Aug 2026 · open the full paper
Practice 10MCQ4 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.
MLT Quiz 2 · 16 Aug 2026 · open the full paper
Practice 11MCQ3 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.
MLT Quiz 2 · 16 Aug 2026 · open the full paper
Practice 12MSQ4 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.
MLT End Term · 10 May 2026 · open the full paper
Practice 13SA4 marks
Consider the following decision tree for a binary classification problem with features in and labels in . question figure If denotes the set of all points in for which the decision tree outputs as the predicted label, find the area corresponding to the region . Enter the nearest integer as your answer.
MLT End Term · 10 May 2026 · open the full paper
Practice 14MSQ2 marksselect all that apply
Comprehension passage for this question
Consider the given 2D diagram. The datapoints are slightly exaggerated for better visualization. Red points represent the negative class ( ) and green points represent the positive class ( ). A test point is shown. Use the K-Nearest Neighbors (KNN) algorithm with . question figure Based on the above data, answer the given subquestions.
Which of the following best explains the classification of ?
  1. The nearest neighbors are dominated by positive class points.
  2. The nearest neighbors are dominated by negative class points.
  3. Positive class points are closer in all directions.
  4. The classification is determined by majority voting among the nearest neighbors.
MLT End Term · 10 May 2026 · open the full paper
Practice 15MCQ3 marks
Consider the two decision trees shown in the figure. question figure Which of the following statements is correct?
  1. Tree 1 has higher information gain than Tree 2
  2. Tree 2 has higher information gain than Tree 1
  3. Both trees have equal information gain
  4. Cannot be determined without further splits
MLT Quiz 2 · 12 Apr 2026 · open the full paper
Practice 16MCQ3 marks
Consider a training dataset for a classification problem with four data-points. Red circles represent data-points with label and green squares represent data-points with label . A test-point is located at . Dotted circles centered at with radii and are drawn for your convenience. question figure KNN with Euclidean distance and is the classifier. Now, a new training data-point with label is added somewhere inside the outermost circle of radius such that it leaves the predicted label of the test data-point unchanged. Let be the set of all points that could be the potential location of this new training data-point. Find the area of the region corresponding to . : We use KNN with for both datasets.
MLT Quiz 2 · 12 Apr 2026 · open the full paper
Practice 17SA2 marks
Comprehension passage for this question
Consider a node in a decision tree that has 5 data-points. The data-point is represented by a feature-label pair , where { , }. question figure Consider the split at the parent node resulting in left and right child nodes. The left child node has all data points for which is true. Entropy is used to determine the purity of the nodes.Recall that the formula for the entropy of a node is: where is the fraction of positive data-points in the node. Use at least three digits after the decimal point in all intermediate calculations. Based on the above data, answer the given subquestions.
Find the entropy of the parent node. Enter your answer correct to two decimal places.
MLT Quiz 2 · 12 Apr 2026 · open the full paper
Practice 18SA2 marks
Comprehension passage for this question
Consider a node in a decision tree that has 5 data-points. The data-point is represented by a feature-label pair , where { , }. question figure Consider the split at the parent node resulting in left and right child nodes. The left child node has all data points for which is true. Entropy is used to determine the purity of the nodes.Recall that the formula for the entropy of a node is: where is the fraction of positive data-points in the node. Use at least three digits after the decimal point in all intermediate calculations. Based on the above data, answer the given subquestions.
Find the entropy of the right child. Enter your answer correct to two decimal places.
MLT Quiz 2 · 12 Apr 2026 · open the full paper
Practice 19SA2 marks
Comprehension passage for this question
Consider a node in a decision tree that has 5 data-points. The data-point is represented by a feature-label pair , where { , }. question figure Consider the split at the parent node resulting in left and right child nodes. The left child node has all data points for which is true. Entropy is used to determine the purity of the nodes.Recall that the formula for the entropy of a node is: where is the fraction of positive data-points in the node. Use at least three digits after the decimal point in all intermediate calculations. Based on the above data, answer the given subquestions.
Find the information gain. Enter your answer correct to two decimal places.
MLT Quiz 2 · 12 Apr 2026 · open the full paper
Practice 20MSQ3 marksselect all that apply
Which among the following is TRUE for k-NN algorithm? Select all that apply.
  1. 1-nearest neighbour is sensitive to outliers.
  2. k-NN can only be applied to a classification problem.
  3. As k increases, the model is more likely to overfit.
  4. The bias increases with the increase in the value of k.
  5. The variance increases with the increase in the value of k.
MLT End Term · 21 Dec 2025 · open the full paper
Practice 21MSQ3 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.
MLT End Term · 31 Aug 2025 · open the full paper
Practice 22MSQ3 marksselect all that apply
Which of the following statements are true about the decision tree algorithm?
  1. Decision trees are prone to overfitting if the maximum depth is set tooshallow.
  2. Decision trees are not affected by the order of features in the dataset.
  3. Decision trees are sensitive to small perturbations in the dataset and canresult in different tree structures.
  4. Decision trees can handle both numerical and categorical features.
MLT Quiz 2 · 03 Aug 2025 · open the full paper
Practice 23MCQ3 marks
Comprehension passage for this question
Based on the above data, answer the given subquestions. question figure
Which among the following represents the correct decision boundary for the decision tree? Note: Here + represents the label 1 and − represents the label 0.
  1. question figure
  2. question figure
  3. question figure
  4. question figure
MLT Quiz 2 · 03 Aug 2025 · open the full paper
Practice 24SA3 marks
Comprehension passage for this question
Suppose you want to build a decision tree to help diagnose a certain disease based on patient data. You have a dataset of 1000 patients labeled as either “positive” or “negative”. Here, positive represents patients with the disease and negative represents no disease. One of the feature used to diagnose is headache. Below is the breakdown of the patients reporting headache: Headache present: 300 positive, 50 negative Headache not present: 100 positive, 550 negative question figure Suppose you want to build a decision tree to help diagnose a certain disease based on patient data. You have a dataset of 1000 patients labeled as either “positive” or “negative”. Here, positive represents patients with the disease and negative represents no disease. One of the feature used to diagnose is headache. Below is the breakdown of the patients reporting headache: Headache present: 300 positive, 50 negative Headache not present: 100 positive, 550 negative Based on the above data, answer the given subquestions.
What is the entropy of the root node? Enter the answer correct to two decimal places.
MLT Quiz 2 · 03 Aug 2025 · open the full paper
Practice 25SA4 marks
Comprehension passage for this question
Suppose you want to build a decision tree to help diagnose a certain disease based on patient data. You have a dataset of 1000 patients labeled as either “positive” or “negative”. Here, positive represents patients with the disease and negative represents no disease. One of the feature used to diagnose is headache. Below is the breakdown of the patients reporting headache: Headache present: 300 positive, 50 negative Headache not present: 100 positive, 550 negative question figure Suppose you want to build a decision tree to help diagnose a certain disease based on patient data. You have a dataset of 1000 patients labeled as either “positive” or “negative”. Here, positive represents patients with the disease and negative represents no disease. One of the feature used to diagnose is headache. Below is the breakdown of the patients reporting headache: Headache present: 300 positive, 50 negative Headache not present: 100 positive, 550 negative Based on the above data, answer the given subquestions.
What is the information gain for choosing the feature “headache” for splitting at the root node? Enter the answer correct to two decimal places.
MLT End Term · 13 Apr 2025 · open the full paper
Practice 26MSQ2 marksselect all that apply
Which of the following conditions must be satisfied for a decision tree to be pure at a given node?
  1. The entropy of the node is maximum.
  2. The information gain at the node is negative.
  3. All samples at a node belong to the same class.
  4. The entropy of the node is 0.
MLT End Term · 13 Apr 2025 · open the full paper
Practice 27MCQ3 marks
For a given dataset, a 1-Nearest Neighbor (1-NN) and a 3-Nearest Neighbor (3-NN) classifier are applied. Which classifier is likely to exhibit a higher Leave-One-Out Cross Validation (LOOCV) error? In case of tie-breaker, assign a positive class (+) to the data point. question figure For a given dataset, a 1-Nearest Neighbor (1-NN) and a 3-Nearest Neighbor (3-NN) classifier are applied. Which classifier is likely to exhibit a higher Leave-One-Out Cross Validation (LOOCV) error? In case of tie-breaker, assign a positive class (+) to the data point.
  1. 1-NN
  2. 3-NN
  3. Both have the same error.
MLT End Term · 13 Apr 2025 · open the full paper
Practice 28SA2 marks
For a decision tree, each node has exactly two child nodes (balanced tree). If the tree has a depth of 3, how many leaf nodes are there?
MLT Quiz 2 · 16 Mar 2025 · open the full paper
Practice 29MCQ2 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.
MLT Quiz 2 · 16 Mar 2025 · open the full paper
Practice 30SA3 marks
Comprehension passage for this question
Based on the above data, answer the given subquestions. question figure
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.
MLT End Term · 22 Dec 2024 · open the full paper
Practice 31MSQ3 marksselect all that apply
Which of the following options are correct? Select all that apply.
  1. Underfitted models generally have less bias and high variance.
  2. A decision tree with the maximum possible length may lead to overfitting.
  3. Weak learners are those whose performance is slightly better than therandom classifier.
  4. All the estimators in bagging can be trained parallelly.
MLT End Term · 22 Dec 2024 · open the full paper
Practice 32MCQ3 marks
Which of the following options are not correct? Select all that apply.
  1. Underfitted models generally have less bias and high variance.
  2. A decision tree with the maximum possible length may lead to overfitting.
  3. Weak learners are those whose performance is slightly better than therandom classifier.
  4. All the estimators in bagging can be trained parallelly.
MLT Quiz 2 · 01 Dec 2024 · open the full paper
Practice 33SA3 marks
Comprehension passage for this question
Consider a binary classification problem with a training dataset of 100 points, evenly distributed between two classes (50 points in each class). You decide to train a k-NN algorithm with k = 3. Each point is considered its own neighbor during classification. Based on the above data, answer the given subquestions.
What is the minimum number of misclassifications that can occur in the training dataset when using this k-NN algorithm?
MLT Quiz 2 · 01 Dec 2024 · open the full paper
Practice 34MCQ2 marks
Comprehension passage for this question
Consider a binary classification problem with a training dataset of 100 points, evenly distributed between two classes (50 points in each class). You decide to train a k-NN algorithm with k = 3. Each point is considered its own neighbor during classification. Based on the above data, answer the given subquestions.
Assuming there are outliers, the decision boundary becomes smoother with decreasing value of k in a k-NN algorithm.
  1. TRUE
  2. FALSE
MLT Quiz 2 · 01 Dec 2024 · open the full paper
Practice 35MCQ2 marks
Comprehension passage for this question
Consider a binary classification problem in which a decision tree is classifying data points into two classes, A and B. In a particular node of the tree, 60% of the data points belong to class A, while the remaining 40% belong to class B. Based on the above data, answer the given subquestions.
Do you have enough information to find the entropy of this node?
  1. Yes
  2. No
MLT Quiz 2 · 01 Dec 2024 · open the full paper
Practice 36SA4 marks
Comprehension passage for this question
Consider a binary classification problem in which a decision tree is classifying data points into two classes, A and B. In a particular node of the tree, 60% of the data points belong to class A, while the remaining 40% belong to class B. Based on the above data, answer the given subquestions.
If the answer to the previous question is ”Yes,” calculate the entropy of this node to three decimal places. If the answer to the previous question is ”No,” enter -1 as your answer.
MLT End Term · 01 Sep 2024 · open the full paper
Practice 37MCQ3 marks
Match the characteristics given below with the appropriate ensemble technique. 1. Decision stumps 2. Deep decision trees 3. Parallel execution 4. Sequential execution
  1. Bagging → (2), (3); Boosting → (1), (4)
  2. Bagging → (1), (4); Boosting → (2), (3)
  3. Bagging → (1), (3); Boosting → (2), (4)
  4. Bagging → (2), (4); Boosting → (1), (3)
MLT End Term · 01 Sep 2024 · open the full paper
Practice 38MCQ1 mark
Comprehension passage for this question
Based on the above data, answer the given subquestions. question figure
What is the most appropriate choice of activation function for the output layer if the binary cross-entropy loss is used?
  1. Sigmoid
  2. Linear
  3. ReLU
MLT Quiz 2 · 04 Aug 2024 · open the full paper
Practice 39SA1 mark
Comprehension passage for this question
If a and b are integers, answer the given subquestions that follow. Hint: Plotting the dataset helps. question figure
Find the entropy of the root node. Use log2______________________.
MLT End Term · 28 Apr 2024 · open the full paper
Practice 40SA3 marks
Consider the following decision tree for a classification problem in which all the data-points are constrained to lie in the unit square in the first quadrant. That is 0 ≥ x1, x2 ≤ 1. If a point is picked uniformly at random from the unit square, what is the probability that the decision tree predicts this point as belonging to class 1? question figure Consider the following decision tree for a classification problem in which all the data-points are constrained to lie in the unit square in the first quadrant. That is 0 ≥ x1, x2 ≤ 1. If a point is picked uniformly at random from the unit square, what is the probability that the decision tree predicts this point as belonging to class 1?
MLT End Term · 24 Dec 2023 · open the full paper
Practice 41MSQ6 marksselect all that apply
Which of the following statements are correct?
  1. Overfitting models have high bias and low variance.
  2. Underfitting models have low bias and high variance.
  3. Generally, weak learners in the random forest tend to overfit.
  4. If the performance of each estimator in the bagging algorithm is almostidentical, the benefit of using bagging to combine them may be minimal or insignificant.
  5. In random forests, multiple decision trees (estimators) are trainedsimultaneously, allowing for parallel processing and faster model training.
MLT Quiz 2 · 03 Dec 2023 · open the full paper
Practice 42MSQ4 marksselect all that apply
Select all the statements that are true about decision trees and k-Nearest Neighbors (k-NN) in machine learning:
  1. Decision trees are a supervised learning algorithm used for classifications.
  2. The k-NN algorithm is a lazy learner, which means it doesn’t build an explicitmodel during the training phase.
  3. In k-NN, the value of k represents the number of features used forclassification.
  4. k-Nearest Neighbors (k-NN) is a parametric model that requires estimatingprobability distributions.
  5. The depth of the tree is a hyperparameter and is typically chosen using cross-validation.
MLT Quiz 2 · 03 Dec 2023 · open the full paper
Practice 43SA4 marks
You are working on a decision tree algorithm to classify whether a bank loan applicant will default on their loan based on several financial factors. The dataset includes Credit Score, Annual Income, Loan Amount, Loan Term as features. The target variable is binary: 1 for ”Default” and 0 for ”No Default.” You have a dataset of 500 loan applicants, and you want to construct a decision tree to predict loan default. To determine the first split (root node), you'll use the information gain as the criterion. Here’s the distribution of loan default in the dataset: Default: 150 applicants No Default: 350 applicants Calculate the Entropy for the initial dataset.
MLT Quiz 2 · 03 Dec 2023 · open the full paper
Practice 44SA2 marks
Given a training dataset with 100 data points, how many distances would we have to compute in the process of predicting the label of test-point in the k-NN algorithm with k = 5
MLT Quiz 2 · 03 Dec 2023 · open the full paper
Practice 45SA2 marks
If the proportion of points belonging to class 1 in a node is p, for what value of p is the node’s entropy maximum?
MLT End Term · 03 Sep 2023 · open the full paper
Practice 46MSQ3 marksselect all that apply
Which of the following statements is/are true about the K-NN algorithm?
  1. K-NN is sensitive to outliers in the dataset.
  2. K-NN is a supervised learning algorithm used for classification.
  3. K-NN assigns class labels to new instances based on a decision boundary learned from thetraining data.
  4. The training dataset is not required while predicting the label of a test-point inthe K-NN algorithm.
MLT End Term · 03 Sep 2023 · open the full paper
Practice 47SA4 marks
Comprehension passage for this question
Based on the above data, answer the given subquestions. question figure
Calculate the information gain for the "Age Group" feature.
MLT End Term · 03 Sep 2023 · open the full paper
Practice 48SA4 marks
Comprehension passage for this question
Based on the above data, answer the given subquestions. question figure
Calculate the information gain for the "Income level" feature.
MLT End Term · 03 Sep 2023 · open the full paper
Practice 49MSQ7 marksselect all that apply
question figure
  1. The values of 0-1 loss function will be 3
  2. The values of cross entropy loss will be equals to 3.65
  3. The values of 0-1 loss equals 4.
  4. The values of cross entropy loss will be equals to 6.35
MLT Quiz 2 · 06 Aug 2023 · open the full paper
Practice 50SA3 marks
Comprehension passage for this question
Consider a binary classification problem and a decision tree that is being trained to classify the points. In one of the internal nodes in this tree, 75% of the data-points belong to one of the two classes and the rest belong to the other class. You are not given the information about which class is more numerous in this node. Based on the above data, answer the given subquestions.
If the answer to the previous questions is "Yes", find the entropy of the node. Use log2 and enter your answer correct to three decimal places. If the answer to the previous question is "No", enter -1 as your answer.
MLT End Term · 30 Apr 2023 · open the full paper
Practice 51MCQ5 marks
Consider a decision stump. The information gain for the question at the parent is zero. If the entropy of the left-child is equal to the entropy of the parent, what is the entropy of the right child? Assume that each child has at least one data-point in it and that the entropy of the parent is non-zero.
  1. The entropy of the right-child is equal to half the entropy of the left-child.
  2. The entropy of the right-child is equal to twice the entropy of the left-child.
  3. The entropy of the right-child is equal to the entropy of the parent.
  4. The entropy of the right-child is the sum of the entropies of the parent and theleft-child.
MLT End Term · 30 Apr 2023 · open the full paper
Practice 52MSQ3 marksselect all that apply
Choose the correct statements.
  1. If the performance of each estimator in the bagging algorithm is almostidentical, the benefit of using bagging to combine them may be minimal or insignificant.
  2. Weak learners have low bias and high variance.
  3. In random forests, multiple decision trees (estimators) are trainedsimultaneously, allowing for parallel processing and faster model training.
  4. In the random forest algorithm, multiple decision trees are trained on thesame dataset to create an ensemble model.
MLT End Term · 11 Dec 2022 · open the full paper
Practice 53MCQ5 marks
Consider the following data set: question figure Consider the following data set: Which of the following will have lower leave-one-out cross-validation error?
  1. 1-Nearest Neighbor
  2. 3-Nearest Neighbor
MLT End Term · 11 Dec 2022 · open the full paper
Practice 54MSQ2 marksselect all that apply
Which of the following estimators are more likely to be preferred for bagging? Select all that apply.
  1. A decision stump
  2. A decision stump with randomly selected features for splitting the nodes
  3. k -NN classifier with a smaller value of k.
  4. k-NN classifier with a larger value of k .
  5. A fully grown decision tree with randomly selected features for splitting thenodes
MLT End Term · 11 Dec 2022 · open the full paper
Practice 55MCQ5 marks
Consider the following data set: question figure Consider the following data set: Which of the following will have larger leave-one-out cross-validation error?
  1. 1-Nearest Neighbor
  2. 3-Nearest Neighbor
MLT End Term · 07 Aug 2022 · open the full paper
Practice 56MCQ2 marks
A knn algorithm with k = 30 gives high training error and high validation error. What value of the k we should choose to get the better performance of the algorithm?
  1. Less than 30
  2. Greater than 30
MLT End Term · 07 Aug 2022 · open the full paper
Practice 57MCQ2 marks
Consider a binary classification problem. Let p1 denote the proportion of class 0 examples in a particular node. Which of the following graphs shows correct curves for the Gini-index, Entropy and misclassification error of that node?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
MLT End Term · 07 Aug 2022 · open the full paper
Practice 58MSQ2 marksselect all that apply
In a random forest model let p < m be the number of randomly selected features that are used to identify the best split at any node of a tree. Which of the following are true? (m is the original number of features)
  1. Increasing p reduces the correlation between any two trees in the forest.
  2. Decreasing p reduces the correlation between any two trees in the forest.
  3. Increasing p increases the performance of individual trees in the forest.
  4. Decreasing p increases the performance of individual trees in the forest.
MLT End Term · 07 Aug 2022 · open the full paper
Practice 59MCQ2 marks
A knn algorithm with k = 10 gives low training error and high validation error. What value of k should we choose to get the better performance of the algorithm?
  1. Less than 10
  2. Greater than 10