Exercise 8.2

Answers

(a)
Y (Xw + b) = Y ( [ 0 4 2.4 ] 0.5) = [1 1 +1 ] [0.5 4.5 1.9 ] = [0.5 4.5 1.9 ]

So ρ = min yn(wTxn + b) = 0.5

(b)
So we have the new weights w = 1 ρ(b,w) = (1, [ 2.4 6.4 ]).

We compute

Y (Xw + b) = Y ( [ 0 8 4.8 ] 1) = [1 1 +1 ] [1 9 3.8 ] = [ 1 9 3.8 ]

The new minimum is ρ = 1 which satisfies equation (8.2)

(c)
It’s easy to see that the two hyperplanes are the same in 2-Dimensional space.
User profile picture
2021-12-08 10:01
Comments