lect14

# lect14 - 2 || || 2 Margin w =-≤ •-≥ • = 1 b x w if...

This preview shows pages 1–13. Sign up to view the full content.

Lecture outline Support vector machines

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Support Vector Machines Find a linear hyperplane (decision boundary) that will separate the data
Support Vector Machines One Possible Solution B 1

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Support Vector Machines Another possible solution B 2
Support Vector Machines Other possible solutions B 2

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Support Vector Machines Which one is better? B1 or B2? How do you define better? B 1 B 2
Support Vector Machines Find hyperplane maximizes the margin => B1 is better than B2 B 1 B 2 b 11 b 12 b 21 b 22 margin

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Support Vector Machines B 1 b 11 b 12 0 = + b x w 1 - = + b x w 1 + = + b x w - + - + = 1 b x w if 1 1 b x w if 1 ) ( x f 2 || || 2 Margin w =
Support Vector Machines We want to maximize: Which is equivalent to minimizing: But subjected to the following constraints: This is a constrained optimization problem Numerical approaches to solve it (e.g., quadratic

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 2 || || 2 Margin w = -≤ + •-≥ + • = 1 b x w if 1 1 b x w if 1 ) ( i i i x f 2 || || ) ( 2 w w L = Support Vector Machines • What if the problem is not linearly separable? Support Vector Machines • What if the problem is not linearly separable? – Introduce slack variables • Need to minimize: • Subject to: +-≤ + •-≥ + • = i i i i 1 b x w if 1-1 b x w if 1 ) ( ξ i x f + = ∑ = N i k i C w w L 1 2 2 || || ) ( Nonlinear Support Vector Machines • What if decision boundary is not linear? Nonlinear Support Vector Machines • Transform data into higher dimensional space...
View Full Document

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern