
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Machine Learning (CS 5350/CS 6350) 25 Sep 2008
Large margin principle: want w, b that separates the classes maximally. We assume that w, b separates
the data and achieves a functional margin of at least 1. That is, w
x + b โฅ 1 for all positive x and
w
x + b โค โ1 for all negative x. We defined the geometric margin based on the normalized weight vector:
ฮณ = minn yn(u
xn + b), where u = w/ ||w||. Compute margin as a function of normalized weight vector u,
for positive point x
and negative point x โ :
ฮณ โค
u
x
x โ โ b
ฮณ =
w
||w||
x
โ
w
||w||
x โ
2 ||w||
w
x
โ w
x โ
||w||
This shows that the margin is inversely proportional to the norm of the weight vector, and independent of
the bias. Moreover, having a large margin is equivalent to having a small weight vector norm (why does this
make intuitive sense?).
Now, we write the learning problem as an optimization problem:
minimizew
||w||
2
subject to yn
w
xn + b
โ 1 โฅ 0 (โn)
Why large margins? Because they mean simple solutions.