Exercise 1.3

Answers

(a)
If x(t) is misclassified by w(t), then wT(t)x(t) has different signs of y(t), thus y(t)wT(t)x(t)0.
(b)
y(t)wT(t + 1)x(t) = y(t) (w(t) + y(t)x(t))Tx(t) = y(t) (wT(t) + y(t)xT(t))x(t) = y(t)wT(t)x(t) + y(t)y(t)xT(t)x(t) y(t)wT(t)x(t)because the last term is   than 0
(c)

From the previous problem, we see that y(t)wT(t)x(t) is increasing with each update.

If y(t) is positive, but wT(t)x(t) is negative, we move wT(t)x(t) toward positive by increasing it.

If however y(t) is negative, but wT(t)x(t) is positive, y(t)wT(t)x(t) increases means wT(t)x(t) is decreasing, i.e. moving toward negative region.

So the move from w(t) to w(t + 1) is a move “in the right direction” as far as classifying x(t) is concerned.

User profile picture
2021-12-07 18:04
Comments