Quiz Space

Machine Learning Techniques · End Term · 3 Sept 2023 · May 2023 term · Set QPD1-S1

Question 12: While training a perceptron model, the weight vector at …

Question 12

+6 marksOne correct option

While training a perceptron model, the weight vector at some iteration tt is wt\mathbf{w}^t. The next two data-points picked up by the perceptron algorithm in the course of its execution is (x1,y1)(\mathbf{x}_1, y_1), and (x2,y2)(\mathbf{x}_2, y_2) where yy is the true label:

wt=[1234],x1=[10−11],y1=1,x2=[−211−1],y2=−1\mathbf{w}^t = \begin{bmatrix} 1 \\ 2 \\ 3 \\ 4 \end{bmatrix}, \quad \mathbf{x}_1 = \begin{bmatrix} 1 \\ 0 \\ -1 \\ 1 \end{bmatrix}, \quad y_1 = 1, \quad \mathbf{x}_2 = \begin{bmatrix} -2 \\ 1 \\ 1 \\ -1 \end{bmatrix}, \quad y_2 = -1

What are the value of wt+1\mathbf{w}^{t+1} and wt+2\mathbf{w}^{t+2}?

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

Correct answer

  • D

Question 12 of 17 in the IIT Madras BS Machine Learning Techniques (MLT) End Term paper sat on 3 Sept 2023, in the May 2023 term (IIT M DIPLOMA ET1 EXAM QPD1 S2 03 Sep). It carries 6 marks.

More questions from this paper

  1. Q1Figure question
  2. Q2Suppose you have been given a task of estimating the conversion rate of google click of new online advertisement campai…
  3. Q3You are working on a text classification problem using a Naive Bayes classifier to determine whether an email is "Spam"…
  4. Q4Figure question
  5. Q5Figure question
  6. Q6Which of the following statements is/are true?
  7. Q7Figure question
  8. Q8Figure question
  9. Q9Figure question
  10. Q10Consider the following dataset with two features. | X | y | |---|---| | [1,1] | 1 | | [-1,-1] | 1 | | [2,2] | 3 | | [-2…
  11. Q11Figure question
  12. Q13Consider the following optimization problem involving the variable \mathbf{w} = \begin{bmatrix} w_1 & w_2 \end{bmatrix}…
  13. Q14You are working on a spam email classification problem. You have collected a dataset of some 1000 emails, labeled as ei…
  14. Q15Which of the following statements is/are true about the K-NN algorithm?
  15. Q16You are working on a binary classification problem where you need to predict whether an email is spam (1) or not (0). Y…
  16. Q17Consider a simple neural network with one hidden layer. The network has the following architecture: Input layer with 3 …