Quiz Space

Machine Learning Techniques · Quiz 2 · 3 Aug 2025 · May 2025 term

Question 3: You are evaluating the performance of a linear regression…

Question 3

+3 marksOne correct option

You are evaluating the performance of a linear regression model using different hyperparameter settings (learning rate and number of iterations). Below are the results:

SettingLearning RateIterationsTraining ErrorValidation Error
10.051000150160
20.10800145150
30.15500140190
40.25350170180

Which hyperparameter setting would you choose based on the training and validation errors? Why?

  1. A

    Setting 3, because it has the lowest training error, indicating the best fit to the training data.

  2. B

    Setting 2, because it has the lowest validation error and a relatively low training error, indicating a good generalization.

  3. C

    Setting 1, because it has the highest number of iterations and therefore likely to be more stable.

  4. D

    Setting 4, because it uses the highest learning rate and converges the fastest.

Show answer

Correct answer

  • B

    Setting 2, because it has the lowest validation error and a relatively low training error, indicating a good generalization.

Question 3 of 15 in the IIT Madras BS Machine Learning Techniques (MLT) Quiz 2 paper sat on 3 Aug 2025, in the May 2025 term (IIT M DEGREE AN EXAM QDB2 03 Aug 2025). It carries 3 marks.

More questions from this paper

  1. Q1Figure question
  2. Q2In the Bayesian modeling for linear regression, we assume the following: y \mid x \sim \text{Normal}(w^Tx, \sigma^2 I) …
  3. Q4Consider the linear regression model: y = w^Tx + \epsilon where \epsilon \sim \mathcal{N}(0, \sigma^2). Note: \hat{w}_{…
  4. Q5Figure question
  5. Q6Figure question
  6. Q7Figure question
  7. Q8Which among the following are true?
  8. Q9Perform a 3-NN regressor for the following dataset: | x_1 | x_2 | y | |---|---|---| | 1 | 2 | 3.5 | | 2 | 1 | 2.8 | | 3…
  9. Q10Which among the following represents the correct decision boundary for the decision tree? Note: Here + represents the l…
  10. Q11What will be the prediction for the new datapoint (2, 2)?
  11. Q12Consider a 2-class Naive Bayes classifier with first feature f_1 as binary and the second feature f_2 as Gaussian. Foll…
  12. Q13Consider a 2-class Naive Bayes classifier with first feature f_1 as binary and the second feature f_2 as Gaussian. Foll…
  13. Q14Suppose you want to build a decision tree to help diagnose a certain disease based on patient data. You have a dataset …
  14. Q15Suppose you want to build a decision tree to help diagnose a certain disease based on patient data. You have a dataset …