Question 1
Based on the above data, answer the given subquestions.
The IIT Madras BS Machine Learning Techniques (MLT) Quiz 2 paper sat on 24 Mar 2024, in the January 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.
Based on the above data, answer the given subquestions.
Correct answer: 0
Based on the above data, answer the given subquestions.
Correct answer: 1
Consider a regression problem where you are tasked with predicting the sale prices of houses based on their square footage. You decide to experiment with two different models:
The training dataset consists of information on 200 houses, and you use the models to make predictions on a test dataset of 50 houses. The Mean Squared Error (MSE) is chosen as the evaluation metric.
Based on the above data, answer the given subquestions.
Considering the specific context of predicting house prices based on square footage, which model is more likely to provide accurate predictions on the training dataset?
Model P
Model Q
Both models are equally likely to provide accurate predictions
It depends on the distribution of house prices in the dataset
Correct answer
Model Q
Consider a regression problem where you are tasked with predicting the sale prices of houses based on their square footage. You decide to experiment with two different models:
The training dataset consists of information on 200 houses, and you use the models to make predictions on a test dataset of 50 houses. The Mean Squared Error (MSE) is chosen as the evaluation metric.
Based on the above data, answer the given subquestions.
Identify the factors that could influence the model’s performance on the training dataset in this housing price prediction scenario. Select all correct statements:
Model P may struggle to capture non-linear relationships present in house price data.
Model Q might be sensitive to outliers in the square footage variable.
The choice between Model P and Model Q depends on the budget constraints of potential homebuyers.
Model Q will always perform well on the test dataset.
Correct answers
Model P may struggle to capture non-linear relationships present in house price data.
Model Q might be sensitive to outliers in the square footage variable.
Consider a naive Bayes model is trained on the following data matrix of shape and corresponding label vector :
Assume that and are estimates for and , respectively. Here, is the feature.
These parameters are estimated using MLE.
Based on the above data, answer the given subquestions.
Correct answer: 0.325 (accepted within ±0.025)
Consider a naive Bayes model is trained on the following data matrix of shape and corresponding label vector :
Assume that and are estimates for and , respectively. Here, is the feature.
These parameters are estimated using MLE.
Based on the above data, answer the given subquestions.
Correct answer: 0.325 (accepted within ±0.025)
Consider a dataset with the following data points and the target variable:
| Sample No | ||
|---|---|---|
| 1 | 3 | 8 |
| 2 | 0 | 3 |
| 3 | 5 | 12 |
| 4 | 6 | 13 |
The linear regression model is given by . Assume that the Leave-One-Out Cross-Validation technique is applied.
Based on the above data, answer the given subquestions.
Correct answer: 1.675 (accepted within ±0.025)
Consider a dataset with the following data points and the target variable:
| Sample No | ||
|---|---|---|
| 1 | 3 | 8 |
| 2 | 0 | 3 |
| 3 | 5 | 12 |
| 4 | 6 | 13 |
The linear regression model is given by . Assume that the Leave-One-Out Cross-Validation technique is applied.
Based on the above data, answer the given subquestions.
What will be the predicted value for the left-out data point?
12
13
12.3
11.3
None of these
Correct answer
11.3
Correct answer: 1
Correct answer: 19.5 (accepted within ±0.5)
Correct answer
Given a design matrix and a target vector , where represents the number of features, represents the number of data points, and the data is defined as:
Calculate the coefficients for Ridge regression with .
Correct answer
Correct answer
Consider the following data-points in a binary classification problem. w is the weight vector corresponding to a linear classifier. The labels are +1 and −1.
Which of the following statements are true?
Correct answers
Select all true statements.
Correct answers