Quiz Space

Machine Learning Foundations · Quiz 1 · 23 Feb 2025 · January 2025 term

Question 11: A bank wants to predict whether a customer will default …

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 11 of 14 in the IIT Madras BS Machine Learning Foundations (MLF) Quiz 1 paper sat on 23 Feb 2025, in the January 2025 term (IIT M DIPLOMA AN EXAM QDD2 23 Feb 2025). It carries 3 marks.

More questions from this paper

  1. Q1Figure question
  2. Q2Figure question
  3. Q3Figure question
  4. Q4Which of the following is the best second-order polynomial that fits the dataset by the least sum of squares method? \m…
  5. Q5Which of the following options is/are true?
  6. Q6Figure question
  7. Q7Which of the following statements is/are correct?
  8. Q8Figure question
  9. Q9Figure question
  10. Q10Figure question
  11. Q12A bank wants to predict whether a customer will default on a loan using a classification model. The bank collects data …
  12. Q13If B is diagonalizable, what is the invertible matrix P such that B = PDP^(−1)?
  13. Q14If B is diagonalizable, which of the following is a diagonal matrix D such that B = PDP^(−1)? Use the matrix P obtained…