The IIT Madras BS Machine Learning Techniques (MLT) Quiz 2 paper sat on 1 Dec 2024, in the September 2024 term: 15 questions for 50 marks in 120 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.
Official paper: IIT M DIPLOMA AN EXAM QDD2 01 Dec 2024 · No negative marking.
Question 1
+3 marksOne correct option
Kernel regression with a polynomial kernel is applied on the following dataset with two features:
X=[100100],y=[2,1,2]T
Weight vector can be written as w=ϕ(X)α, where ϕ is the transformation mapping corresponding to the kernel k(xi,xj)=(1+xiTxj)2. The vector α is given by (K)−1y, where K is the kernel matrix.
Based on the above data, answer the given subquestions.
Kernel regression with a polynomial kernel is applied on the following dataset with two features:
X=[100100],y=[2,1,2]T
Weight vector can be written as w=ϕ(X)α, where ϕ is the transformation mapping corresponding to the kernel k(xi,xj)=(1+xiTxj)2. The vector α is given by (K)−1y, where K is the kernel matrix.
Based on the above data, answer the given subquestions.
A binary classification dataset has 2000 data points belonging to {0,1}2. A Naive Bayes algorithm was run on the same dataset, resulting in the following estimates:
p^,p^10,p^20,p^11,p^21, estimate for P(y=1)=0.4 estimate for P(f1=1∣y=0)=0.25 estimate for P(f2=1∣y=0)=0.35 estimate for P(f1=1∣y=1)=0.15 estimate for P(f2=1∣y=1)=0.05
Based on the above data, answer the given subquestions.
A binary classification dataset has 2000 data points belonging to {0,1}2. A Naive Bayes algorithm was run on the same dataset, resulting in the following estimates:
p^,p^10,p^20,p^11,p^21, estimate for P(y=1)=0.4 estimate for P(f1=1∣y=0)=0.25 estimate for P(f2=1∣y=0)=0.35 estimate for P(f1=1∣y=1)=0.15 estimate for P(f2=1∣y=1)=0.05
Based on the above data, answer the given subquestions.
Suppose you want to use a Naive Bayes classifier to predict whether a student will pass or fail an exam based on two features: the number of hours they studied and whether they attended review sessions. Assume that the features are conditionally independent given the exam outcome and that the variances of the study hours distributions are equal for both pass and fail categories. How many parameters are required to classify a new student using this Naive Bayes classifier?
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?
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.
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?
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.