uiz Space

January 2025 term · Machine Learning Foundations · BSCS2004

Machine Learning Foundations Quiz 1: 23 February 2025 (January 2025 term)

The IIT Madras BS Machine Learning Foundations (MLF) Quiz 1 paper sat on 23 Feb 2025, in the January 2025 term: 14 questions for 40 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.

Questions
14
Marks
40
Duration
120 min
MCQ
8
MSQ
4
Numerical
2

Updated

Official paper: IIT M DIPLOMA AN EXAM QDD2 23 Feb 2025 · No negative marking.

Question 1

+3 marksOne correct option
  1. A

    0.162

  2. B

    0.257

  3. C

    0.157

  4. D

    1.57

Show answer

Correct answer

  • C

    0.157

Question 2

+3 marksOne correct option
  1. A

    Eigenvectors corresponding to the two different eigenvalues of M are orthogonal.

  2. B

    The matrix M is not diagonalizable.

  3. C

    The eigenvalues of M are 4 and 1

  4. D

    The rank of M is 1.

Show answer

Correct answer

  • D

    The rank of M is 1.

Question 3

+3 marksOne correct option
  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • A

Question 4

+3 marksOne correct option

Which of the following is the best second-order polynomial that fits the dataset by the least sum of squares method?

min⁡θ0,θ1,θ2∑i=13(yi−(θ0+θ1xi+θ2xi2))2\min_{\theta_0, \theta_1, \theta_2} \sum_{i=1}^{3} (y_i - (\theta_0 + \theta_1 x_i + \theta_2 x_i^2))^2

xx10-1
yy−1-111
  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • B

Question 5

+3 marksOne or more correct options

Which of the following options is/are true?

Select all that apply.

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answers

  • A
  • D

Question 6

+3 marksOne or more correct options

Select all that apply.

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answers

  • B
  • C

Question 7

+3 marksOne or more correct options

Which of the following statements is/are correct?

Select all that apply.

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answers

  • B
  • C
  • D

Question 8

+2 marksOne or more correct options

Select all that apply.

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answers

  • A
  • B
  • C

Question 9

+2 marksNumerical answer
Show answer

Correct answer: 15

Question 10

+3 marksNumerical answer
Show answer

Correct answer: 6.4 (accepted within ±0.03)

Question 11

+3 marksOne correct option

A bank wants to predict whether a customer will default on a loan using a classification model. The bank collects data from past customers, which includes the following features:

  • x1x_1: Credit score (scaled between 0 and 1)
  • x2x_2: Monthly income (in $1000s)
  • x3x_3: Number of late payments in the past year

The target variable yy represents whether the customer defaulted (1 for default, 0 for no default). The data is provided in the table below:

xy
[0.9,5,1][0.9, 5, 1]0
[0.4,3,5][0.4, 3, 5]1
[0.8,4,2][0.8, 4, 2]0
[0.2,2,7][0.2, 2, 7]1
[0.7,6,0][0.7, 6, 0]0

The bank uses the following linear combination to compute zz:

z=0.5x1+0.3x2−0.2x3z = 0.5x_1 + 0.3x_2 - 0.2x_3

The step function u(z)u(z) is used to classify the outcome:

u(z)={1if z≥1.50otherwiseu(z) = \begin{cases} 1 & \text{if } z \ge 1.5 \\ 0 & \text{otherwise} \end{cases}

Based on the above data, answer the given subquestions.

For the input x = [0.9, 5, 1], what will be the predicted output u(z)?

  1. A

    0

  2. B

    1

  3. C

    1.75

  4. D

    Cannot be determined

Show answer

Correct answer

  • B

    1

Question 12

+3 marksOne correct option

A bank wants to predict whether a customer will default on a loan using a classification model. The bank collects data from past customers, which includes the following features:

  • x1x_1: Credit score (scaled between 0 and 1)
  • x2x_2: Monthly income (in $1000s)
  • x3x_3: Number of late payments in the past year

The target variable yy represents whether the customer defaulted (1 for default, 0 for no default). The data is provided in the table below:

xy
[0.9,5,1][0.9, 5, 1]0
[0.4,3,5][0.4, 3, 5]1
[0.8,4,2][0.8, 4, 2]0
[0.2,2,7][0.2, 2, 7]1
[0.7,6,0][0.7, 6, 0]0

The bank uses the following linear combination to compute zz:

z=0.5x1+0.3x2−0.2x3z = 0.5x_1 + 0.3x_2 - 0.2x_3

The step function u(z)u(z) is used to classify the outcome:

u(z)={1if z≥1.50otherwiseu(z) = \begin{cases} 1 & \text{if } z \ge 1.5 \\ 0 & \text{otherwise} \end{cases}

Based on the above data, answer the given subquestions.

If the threshold in the step function is changed to z ≥ 1.0, what will happen to the misclassification rate?

  1. A

    Increase

  2. B

    Decrease

  3. C

    Remain same

  4. D

    Cannot be determined

Show answer

Correct answer

  • A

    Increase

Question 13

+3 marksOne correct option

Based on the above data, answer the given subquestions.

If B is diagonalizable, what is the invertible matrix P such that B = PDP^(−1)?

  1. A
  2. B
  3. C
  4. D
  5. E
Show answer

Correct answer

  • D

Question 14

+3 marksOne correct option

Based on the above data, answer the given subquestions.

If B is diagonalizable, which of the following is a diagonal matrix D such that B = PDP^(−1)? Use the matrix P obtained in the previous question.

  1. A
  2. B
  3. C
  4. D
  5. E
Show answer

Correct answer

  • A