21.01.2014 Views

Support Vector Machines - The Auton Lab

Support Vector Machines - The Auton Lab

Support Vector Machines - The Auton Lab

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Computing the margin width<br />

<strong>The</strong> line from x - to x + is<br />

How perpendicular do we compute to the<br />

x -<br />

planes. M in terms of w<br />

So to and get b? from x - to x +<br />

travel some distance in<br />

• Plus-plane = { x : w . x + b = +1 direction } w.<br />

• Minus-plane = { x : w . x + b = -1 }<br />

• <strong>The</strong> vector w is perpendicular to the Plus Plane<br />

• Let x - be any point on the minus plane<br />

• Let x + be the closest plus-plane-point to x - .<br />

• Claim: x + = x - + λ w for some value of λ. Why?<br />

“Predict Class = +1”<br />

zone<br />

wx+b=1<br />

wx+b=0<br />

wx+b=-1<br />

x +<br />

“Predict Class = -1”<br />

zone<br />

M = Margin Width<br />

Copyright © 2001, 2003, Andrew W. Moore <strong>Support</strong> <strong>Vector</strong> <strong>Machines</strong>: Slide 17<br />

Computing the margin width<br />

What we know:<br />

• w . x + + b = +1<br />

• w . x - + b = -1<br />

• x + = x - + λ w<br />

• |x + - x - | = M<br />

It’s now easy to get M<br />

in terms of w and b<br />

“Predict Class = +1”<br />

zone<br />

wx+b=1<br />

wx+b=0<br />

wx+b=-1<br />

x +<br />

“Predict Class = -1”<br />

zone<br />

M = Margin Width<br />

Copyright © 2001, 2003, Andrew W. Moore <strong>Support</strong> <strong>Vector</strong> <strong>Machines</strong>: Slide 18<br />

x -<br />

9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!