DOC PREVIEW
CMU CS 10701 - SVMs and Kernels

This preview shows page 1-2-3-27-28-29 out of 29 pages.

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

Unformatted text preview:

SVMs and Kernels10701/15781 recitation10/22/09Ekaterina Spriggs1Tuesday, October 27, 2009From a linear classifier to ...*One of the most famous slides you will see, ever!!iwixi+ b ≥ 0!iwixi+ b ≤ 02Tuesday, October 27, 2009Maximum marginMaximum possible separation between positive and negative training examples*One of the most famous slides you will see, ever!minimizew,bw.w(wxj+ b)yj≥ 1, ∀j3Tuesday, October 27, 2009Number of support vectorsminimizew,bw.w(wxj+ b)yj≥ 1, ∀jSVMs:where m is dimensionof the input vectorm + 1examples...4Tuesday, October 27, 2009Number of support vectorsminimizew,bw.w(wxj+ b)yj≥ 1, ∀jSVMs:where m is dimensionof the input vectorm + 1Except for degenerate cases!At most!5Tuesday, October 27, 2009Multi-class SVM example6Tuesday, October 27, 2009Multi-class SVM exampleRule?7Tuesday, October 27, 2009Multi-class SVM examplew(yj).xj+ b(yj)≥ w(y!).xj+ b(y!)+1,∀y!#= yj, ∀j8Tuesday, October 27, 2009Multi-class SVM examplew(yj).xj+ b(yj)≥ w(y!).xj+ b(y!)+1,∀y!#= yj, ∀j9Tuesday, October 27, 2009Kernels10Tuesday, October 27, 2009Kernels11Tuesday, October 27, 2009Kernels12Tuesday, October 27, 2009KernelsComplexity of the optimization problem remains only dependent on the dimensionality of the input space and not of the feature space!13Tuesday, October 27, 2009KernelsComplexity of the optimization problem remains only dependent on the dimensionality of the input space and not of the feature space!K(x, z)=Φ(x)TΦ(z)Infinite dimensions?14Tuesday, October 27, 2009Finding the margin by hand15Tuesday, October 27, 2009Finding the margin by hand16Tuesday, October 27, 2009Finding the margin by hand17Tuesday, October 27, 2009But this is 2D data?How many SVs now?w =!iαiyiΦ(xi)b = yk− wΦ(xk),for any k where αk> 018Tuesday, October 27, 2009How many SVs now?The worst case is the VC dimension19Tuesday, October 27, 2009VC dimensionFor a given algorithm, the largest set of points that the algorithm can shatter.20Tuesday, October 27, 2009VC dimensionFor a given algorithm, the largest set of points that the algorithm can shatter.21Tuesday, October 27, 2009VC dimensionFor a given algorithm, the largest set of points that the algorithm can shatter.22Tuesday, October 27, 2009VC dimensionFor a linear classifier in m dimensions, VC dimension is (m+1)So, the worst case for the number of SVs is (m+1)23Tuesday, October 27, 2009How many SVs now?Dimensionality:w depends only on the alpha’s, not on the dim of x!w =!iαiyiΦ(xi)b = yk− wΦ(xk),for any k where αk> 024Tuesday, October 27, 2009QuizWhy 1 and -1?(wxj+ b) ≥ 1, for yi= +1(wxj+ b) ≤−1, for yi= −125Tuesday, October 27, 2009QuizCan we apply a kernel to any algorithm?w∗= arg minw!j(yj−!iwihi(xj))2minimizew,bw.w(wxj+ b)yj≥ 1, ∀jSVM:LR:Decision trees?Boosting?26Tuesday, October 27, 2009QuizComputing the bʼs:b = yk− wxk, for any k where αk> 0Which k do we choose?27Tuesday, October 27, 2009K-NN and homework problemCross-validation errorTraining errorTesting error28Tuesday, October 27, 2009Questions?29Tuesday, October 27,


View Full Document

CMU CS 10701 - SVMs and Kernels

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 SVMs and Kernels
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 SVMs and Kernels 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 SVMs and Kernels 2 2 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?