uiz Space

May 2024 term · Machine Learning Foundations · BSCS2004

Machine Learning Foundations Quiz 1: 7 July 2024 (May 2024 term)

The IIT Madras BS Machine Learning Foundations (MLF) Quiz 1 paper sat on 7 Jul 2024, in the May 2024 term: 12 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
12
Marks
40
Duration
120 min
Numerical
3
MSQ
4
MCQ
5

Updated

Official paper: IIT M DIPLOMA AN EXAM QDD2 7 July 2024 · No negative marking.

Question 1

+3 marksNumerical answer

Let A=(211a323bc)A = \begin{pmatrix} 2 & 1 & 1 \\ a & 3 & 2 \\ 3 & b & c \end{pmatrix} be a 3×33 \times 3 matrix. Let α\alpha be the eigenvalue corresponding to the eigenvector v1=(10−1)v_1 = \begin{pmatrix} 1 \\ 0 \\ -1 \end{pmatrix} and β\beta is the eigenvalue corresponding to the eigenvector v2=(01−1)v_2 = \begin{pmatrix} 0 \\ 1 \\ -1 \end{pmatrix} of matrix AA. Based on this information, answer the given sub-questions.

Find the value of α + 2β.

Show answer

Correct answer: 3

Question 2

+4 marksOne or more correct options

Let A=(211a323bc)A = \begin{pmatrix} 2 & 1 & 1 \\ a & 3 & 2 \\ 3 & b & c \end{pmatrix} be a 3×33 \times 3 matrix. Let α\alpha be the eigenvalue corresponding to the eigenvector v1=(10−1)v_1 = \begin{pmatrix} 1 \\ 0 \\ -1 \end{pmatrix} and β\beta is the eigenvalue corresponding to the eigenvector v2=(01−1)v_2 = \begin{pmatrix} 0 \\ 1 \\ -1 \end{pmatrix} of matrix AA. Based on this information, answer the given sub-questions.

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
  • C
  • D

Question 3

+4 marksOne or more correct options

Which of the following options is/are true?

Select all that apply.

  1. A

    A is a symmetric matrix.

  2. B

    A is a diagonal matrix.

  3. C

    A is orthogonally diagonalizable.

  4. D

    Eigenvalues of A are -1, -1 and 2.

Show answer

Correct answers

  • A

    A is a symmetric matrix.

  • C

    A is orthogonally diagonalizable.

  • D

    Eigenvalues of A are -1, -1 and 2.

Question 4

+3 marksOne or more correct options

Select all that apply.

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

Correct answers

  • A
  • C

Question 5

+4 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 6

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

Correct answer

  • A

Question 7

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

Correct answer

  • B

Question 8

+3 marksOne correct option

Which of the following statements is true for a function f(x, y) that is differentiable at a point (a, b)?

  1. A

    The directional derivative exists in every direction.

  2. B

    The directional derivative is the same in every direction.

  3. C

    The directional derivative can only be calculated along the axes.

  4. D

    The directional derivative does not exist.

Show answer

Correct answer

  • A

    The directional derivative exists in every direction.

Question 9

+3 marksOne correct option

Which of the following functions cannot be approximated linearly around x = 0?

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

Correct answer

  • C

Question 10

+3 marksNumerical answer
Show answer

Correct answer: 20.61 (accepted within ±0.03)

Question 11

+3 marksNumerical answer

In a sports analytics company, the team is interested in predicting whether a basketball player will score above 20 points in a game using classification models. They collected data on various factors x=[x1,x2,x3]x = [x_1, x_2, x_3] from past games of different players. The factors include minutes played, shots attempted, and free throw percentage. The data and corresponding labels are shown in the table below: Compute the misclassification

xxyy
[1,5,0.8][1, 5, 0.8]1
[0,3,0.9][0, 3, 0.9]0
[1,2,0.7][1, 2, 0.7]0
[1,8,0.6][1, 8, 0.6]1
[0,7,0.5][0, 7, 0.5]0

rate if they use the following step function:

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

and the linear combination zz is given by: 0.6x1+0.3x2+0.1x30.6x_1 + 0.3x_2 + 0.1x_3. Enter the answer correct to one decimal place.

Note: Here, x1x_1 represents whether the player is a starter (1) or not (0), x2x_2 is the number of shots attempted, and x3x_3 is the free throw percentage. The label yy indicates whether the player scored more than 20 points (1) or not (0). The misclassification rate is the number of labels misclassified.e.g. if 3 out of 5 players are mislabeled then the misclassification rate is 3/5.

Show answer

Correct answer: 0.2

Question 12

+2 marksOne correct option

Consider a dataset from an e-commerce company such as Flipkart that has details of customer behavior, which of the following problems can be best approached using clustering?

  1. A

    Predicting the exact number of sales for each customer segment.

  2. B

    Classifying customers into segments based on labeled customer data.

  3. C

    Identifying inherent groupings in customer data without predefined labels.

  4. D

    Reducing the number of features in the customer dataset.

Show answer

Correct answer

  • C

    Identifying inherent groupings in customer data without predefined labels.