Exercise 8.16

Answers

(a)
(8.30) minimizes w.r.t. w,b,ξ, so the optimization variable is u = [b w ξ ].

(b)
There are N constraints for yn(wTxn + b) 1 ξn, and N constraints for ξ 0. It’s easy to see that RHS has c = [1N 0N ] .

On the LHS, A = [ Y X IN 0N×(d+1)IN ] where

Y X = [y1 y1x1T yn ynxnT yNyNxNT ]

as in exercise 8.4

The pTu term is C ξn, so we have

p = [0(d+1)×1 CN×1 ] .

And finally the

Q = [ 0 0dT 0NT 0d Id 0d×N 0N0N×d0N×N ]

with some work.

(c)
Once we have u, then b = u 0,w = u 1:d+1,ξ = u d+2:d+1+N.

(d)
Any point with ξn > 0 violates the margin. The points with yn(wTxn + b) = 1 are on the margin, and the points with yn(wTxn + b) > 1 are correctly separated and outside the margin.
User profile picture
2021-12-08 10:17
Comments