Suppose you are given the following feature vectors:
x1 = (1,0), x2 = (4,2), x3 = (0,-1), x4 = (-1,-1), x5 = (-2,1)
Their corresponding labels are
y1 = 1, y2 = 1, y3 = -1, y4 = -1, y5 = -1
Note: there is no bias term in this problem.
Suppose we run perceptron on this dataset starting with w0 = (0,0). Write down the values of w1,w2,w3,w4 and w5 after each training instance, that is, wi is the updated vector after the i-th training instance xi.
Suppose you are given the following feature vectors: x1 = (1,0), x2 = (4,2), x3 =...