Question 1
+5 marksOne or more correct optionsSelect all that apply.
- A
- B
- C
- D
The IIT Madras BS Machine Learning Techniques (MLT) End Term paper sat on 24 Dec 2023, in the September 2023 term, set FDB1: 18 questions for 100 marks in 180 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.
Correct answers
Common Data:
A team was given a dataset where denotes the number of features and denotes the number of samples. They found that there are 10 samples in the dataset and each sample contains 100 features. Assume that the datapoints to are all linear combination of linearly independent data points .
Based on the above data, answer the given subquestions.
Suppose the team applies linear PCA on the dataset and reconstructs the data points with zero error using k principal components (directions). For which value of k the reconstruction error would become zero?
1
2
3
5
10
100
Correct answer
3
Common Data:
A team was given a dataset where denotes the number of features and denotes the number of samples. They found that there are 10 samples in the dataset and each sample contains 100 features. Assume that the datapoints to are all linear combination of linearly independent data points .
Based on the above data, answer the given subquestions.
Correct answers
(Enter your answer correctly to two decimal places)
Correct answer: 43.15 (accepted within ±0.05)
We wish to fit a GMM with for a dataset having 4 points. At the beginning of the time step of the EM algorithm, we have as follows:
The density of the points given a particular mixture is given to you for all four points. is the density of a Gaussian.
What is the value of for and after the E-step? Enter your answer correct to two decimal places
Correct answer: 0.35 (accepted within ±0.03)
Consider a training set , where and the target . Suppose a team decided to use linear regression model, where that minimizes the objective function given below
Suppose we obtain such that . Choose the following correct statements
Correct answers
Consider a Ridge Regression scenario where the feature vector is given by , and the weight vector is determined using the formula:
Here, is the design matrix, is the target vector, and is the regularization parameter.
Suppose we obtain the weight vector when is set to . If we increase to , which of the following is most likely to be the updated weight vector?
[2, 6, 9, 12]
[2, 4, 7, 10]
[3, 5, 8, 11]
[1, 3, 6, 8]
Correct answer
[1, 3, 6, 8]
Correct answer: 12
0
1
Insufficient information to make a prediction.
Correct answer
Insufficient information to make a prediction.
Consider the following 2D dataset with points in :
Suppose we run the perceptron learning algorithm by initializing the weight vector to zero. Does the algorithm converge (with zero error) in a finite number of iterations?
Yes, it will converge.
No, it will never converge.
Insufficient data
Correct answer
No, it will never converge.
Consider a logistic regression model that has been trained for a binary classification problem on a dataset in . The weight vector is . Given a test data-point as input to the model, it returns as the predicted label if the probability output by the model is greater than and otherwise. What is the predicted label for the test data-point ?
Note that the probability output by a logistic regression model is
Correct answer: 1
Based on the above data, answer the given subquestions.
What is the equation of the decision boundary? Select all options that are correct.
Correct answers
Based on the above data, answer the given subquestions.
Correct answer: 5.38 (accepted within ±0.06)
Consider a soft-margin Support Vector Machine (SVM) for a binary classification problem with a dataset in a two-dimensional space. The optimization problem for the soft-margin SVM is formulated as:
subject to the constraints:
Where is a positive constant.
Which of the following statements about the soft-margin SVM is correct?
Correct answers
Which of the following statements are correct?
Overfitting models have high bias and low variance.
Underfitting models have low bias and high variance.
Generally, weak learners in the random forest tend to overfit.
If the performance of each estimator in the bagging algorithm is almost identical, the benefit of using bagging to combine them may be minimal or insignificant.
In random forests, multiple decision trees (estimators) are trained simultaneously, allowing for parallel processing and faster model training.
Correct answers
Generally, weak learners in the random forest tend to overfit.
If the performance of each estimator in the bagging algorithm is almost identical, the benefit of using bagging to combine them may be minimal or insignificant.
In random forests, multiple decision trees (estimators) are trained simultaneously, allowing for parallel processing and faster model training.
We have trained four models in the same dataset with different hyperparameters. In the following table, we have recorded the training and testing errors for each of the models.
| Model | Training error | Test error |
|---|---|---|
| 1 | 0.2 | 1.8 |
| 2 | 1.0 | 1.1 |
| 3 | 0.5 | 0.7 |
| 4 | 5.9 | 6.3 |
Based on the above information, which of the following statement(s) is/are correct?
Model 4 tends to overfit.
Model 4 tends to underfit.
Model 1 tends to underfit.
Model 1 tends to overfit.
Correct answers
Model 4 tends to underfit.
Model 1 tends to overfit.
Correct answers
Correct answer: 4081