Quiz Space

Deep Learning Quiz 1: 29 October 2023 (September 2023 term)

Question 1

+5 marksOne or more correct options

Consider the two binary images shown below. The white square represents 0 and the black square represents 1. Suppose we use MP neuron to classify these two images by flattening the image of size 5 × 5 into a vector of length 25 × 1.

Which of the following threshold θ will help the MP neuron classify these two images correctly with the following decision rule? Assume the image of number two belongs to class (1) and the image of number one belongs to class (0)

Select all that apply.

  1. A

    10

  2. B

    9

  3. C

    11

  4. D

    14

  5. E

    16

  6. F

    None of these

Question 2

+5 marksNumerical answer

Consider a dataset

X=[1000−100001000−100001000−100001000−1]X = \begin{bmatrix} 1 & 0 & 0 & 0 & -1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 & 0 & -1 & 0 & 0 \\ 0 & 0 & 1 & 0 & 0 & 0 & -1 & 0 \\ 0 & 0 & 0 & 1 & 0 & 0 & 0 & -1 \end{bmatrix}

Each column xix_i of XX represents a data point. The first four data points (x1,x2,x3,x4)(x_1, x_2, x_3, x_4) belong to a positive class and the next four data points (x5,x6,x7,x8)(x_5, x_6, x_7, x_8) belong to the negative class. The perceptron uses the following decision rule,

y={1,if wTxi≥00,if wTxi<0y = \begin{cases} 1, & \text{if } w^T x_i \geq 0 \\ 0, & \text{if } w^T x_i < 0 \end{cases}

Based on the above data, answer the given subquestions.

Suppose we use the perceptron to classify the data points. The initial weights w0w_0 is given by w0=∑i=18xiw_0 = \sum_{i=1}^{8} x_i. For each iteration, the algorithm visits a single data point in the following order (that is, x1,x2,x3,⋯ ,x8x_1, x_2, x_3, \cdots, x_8) and updates the weights, if required. Update the weights until the algorithm converges (that is, it classifies all the data points correctly). If the algorithm converges in a finite number of iterations, enter the sum of the elements of the final updated weight vector. If the algorithm doesn't converge, then enter -1.

Question 3

+3 marksOne correct option

Consider a dataset

X=[1000−100001000−100001000−100001000−1]X = \begin{bmatrix} 1 & 0 & 0 & 0 & -1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 & 0 & -1 & 0 & 0 \\ 0 & 0 & 1 & 0 & 0 & 0 & -1 & 0 \\ 0 & 0 & 0 & 1 & 0 & 0 & 0 & -1 \end{bmatrix}

Each column xix_i of XX represents a data point. The first four data points (x1,x2,x3,x4)(x_1, x_2, x_3, x_4) belong to a positive class and the next four data points (x5,x6,x7,x8)(x_5, x_6, x_7, x_8) belong to the negative class. The perceptron uses the following decision rule,

y={1,if wTxi≥00,if wTxi<0y = \begin{cases} 1, & \text{if } w^T x_i \geq 0 \\ 0, & \text{if } w^T x_i < 0 \end{cases}

Based on the above data, answer the given subquestions.

The statement that the perceptron update rule works only for Boolean inputs and Boolean output is

  1. A

    TRUE

  2. B

    FALSE

10 more questions in this paper

Sign in with Google — it is free — to see every question with its answer and explanation, practise it in learning mode, or take it as a timed mock test.

More on the Deep Learning Quiz 1 29 Oct 2023 paper

The IIT Madras BS Deep Learning (Deep Learning) Quiz 1 paper sat on 29 Oct 2023, in the September 2023 term: 13 questions for 50 marks in 120 minutes. The first 3 questions are below. Sign in with Google — it is free — to see the whole paper with its answers and explanations, in learning mode or as a timed mock test.

FeatureDeep Learning Quiz 1 29 Oct 2023 at a glance
TermSeptember 2023 term
SubjectDeep Learning
Course codeBSCS3004
Questions13
Marks50
Duration120 min
MSQ2
Numerical6
MCQ5
Official paperIIT M DEGREE AN2 EXAM QPE2 29 Oct 2023
Negative markingNo negative marking.
Updated

Same Quiz 1, other subjects

More Deep Learning