DOC PREVIEW
CMU CS 10701 - Support Vector Machines Kernel Methods

This preview shows page 1-2-21-22 out of 22 pages.

Save
View full document
Premium Document
Do you want full access? Go Premium and unlock all 22 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Support Vector Machines Kernel Methods Why SVMs Question at what serial number did the new 5 bill enter circulation Old Old Old Old New New New Serial No Why SVMs Question at what serial number did the new 5 bill enter circulation Old Old Old Old New New New Serial No Valid Region If we assume approximately uniformly distributed observations then the likelihood will be approximately uniform over max Old min New Min expected squared error is max margin Why SVMs Sometimes the boundaries of the classes are more informative than the overall distribution of the classes Why SVMs Sometimes the boundaries of the classes are more informative than the overall distribution of the classes SVMs are faster Hard margin SVMs Enforce that all points are out of the margin T w x j b y j a Then maximize margin a max w w Here a is the margin after points are projected onto w solution is the same for any a Hard margin SVMs set a 1 rewrite min w w T w x j b y j 1 Hard margin SVMs Dual form W is a linear combination of training examples M w l y l x l l 1 Can optimize s directly s will be 0 except for support vectors Soft margin SVMs Slack variables which represent how wrong our prediction is min w C j w T j w x j b y j 1 j Support Vector Machines Kernel Methods Why Kernels The HOG features of a patch Edge Detection Dalal Triggs 2005 Why Kernels Given this dog as input This window is very close And both of these windows are somewhat close Why Kernels This window is very far Distances mean nothing past a certain point We want a classifier that gives more weight to nearby examples Why Kernels Sometimes it is easier to define similarity between examples than it is to embed them in a feature space Similarity of two patches a and b for example 2 2 HOG a HOG b exp 2 2 The kernel lets us not worry about the underlying HOG space Classification learning with Kernels Simplest idea k nearest neighbors Classification learning with Kernels Simplest idea k nearest neighbors Find nearest points using the kernel Linear methods with Kernels We want to maintain the properties of linear methods such as linear regression and especially support vector machines One approach find a possibly infinitedimensional space where dot product between two points in the space equals the kernel evaluated on the two points Linear methods with Kernels Largest 16 bases corresponding to the Gaussian kernel in one dimension over a bounded interval Hastie Tibshirani Friedman 2009 How do you compute these bases You don t You get lucky with math instead This is the kernel trick for many important problems the final regression function has the form f x x l trainingSet l l x x Where is the kernel and the s are a function of only the training data Plug in testing examples as x and get a prediction in time linear in the size of the training set How to compute the s For linear regression in the a known space use this formula to compute the s T 1 XX I m y f x l l x x x trainingSet l See Tom s slides for derivation How to compute the s For linear regression in the expanded space use this formula to compute the s 1 K I m y f x l l l x x x trainingSet j Where K ij x i x See Tom s slides for derivation This works for SVM s too For any valid kernel the final SVM classifier will have the form f x l x trainingSet Compute s via l l x x


View Full Document

CMU CS 10701 - Support Vector Machines Kernel Methods

Documents in this Course
lecture

lecture

12 pages

lecture

lecture

17 pages

HMMs

HMMs

40 pages

lecture

lecture

15 pages

lecture

lecture

20 pages

Notes

Notes

10 pages

Notes

Notes

15 pages

Lecture

Lecture

22 pages

Lecture

Lecture

13 pages

Lecture

Lecture

24 pages

Lecture9

Lecture9

38 pages

lecture

lecture

26 pages

lecture

lecture

13 pages

Lecture

Lecture

5 pages

lecture

lecture

18 pages

lecture

lecture

22 pages

Boosting

Boosting

11 pages

lecture

lecture

16 pages

lecture

lecture

20 pages

Lecture

Lecture

20 pages

Lecture

Lecture

39 pages

Lecture

Lecture

14 pages

Lecture

Lecture

18 pages

Lecture

Lecture

13 pages

Exam

Exam

10 pages

Lecture

Lecture

27 pages

Lecture

Lecture

15 pages

Lecture

Lecture

24 pages

Lecture

Lecture

16 pages

Lecture

Lecture

23 pages

Lecture6

Lecture6

28 pages

Notes

Notes

34 pages

lecture

lecture

15 pages

Midterm

Midterm

11 pages

lecture

lecture

11 pages

lecture

lecture

23 pages

Boosting

Boosting

35 pages

Lecture

Lecture

49 pages

Lecture

Lecture

22 pages

Lecture

Lecture

16 pages

Lecture

Lecture

18 pages

Lecture

Lecture

35 pages

lecture

lecture

22 pages

lecture

lecture

24 pages

Midterm

Midterm

17 pages

exam

exam

15 pages

Lecture12

Lecture12

32 pages

lecture

lecture

19 pages

Lecture

Lecture

32 pages

boosting

boosting

11 pages

pca-mdps

pca-mdps

56 pages

bns

bns

45 pages

mdps

mdps

42 pages

svms

svms

10 pages

Notes

Notes

12 pages

lecture

lecture

42 pages

lecture

lecture

29 pages

lecture

lecture

15 pages

Lecture

Lecture

12 pages

Lecture

Lecture

24 pages

Lecture

Lecture

22 pages

Midterm

Midterm

5 pages

mdps-rl

mdps-rl

26 pages

Load more
Download Support Vector Machines Kernel Methods
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Support Vector Machines Kernel Methods and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Support Vector Machines Kernel Methods and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?