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
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 Kernels 10701 15781 recitation 10 22 09 Ekaterina Spriggs Tuesday October 27 2009 1 From a linear classifier to i wi xi b 0 i wi xi b 0 One of the most famous slides you will see ever Tuesday October 27 2009 2 Maximum margin Maximum possible separation between positive and negative training examples minimizew b w w wxj b yj 1 j One of the most famous slides you will see ever Tuesday October 27 2009 3 Number of support vectors SVMs minimizew b w w wxj b yj 1 j m 1 where m is dimension of the input vector examples Tuesday October 27 2009 4 Number of support vectors SVMs At most minimizew b w w wxj b yj 1 j m 1 where m is dimension of the input vector Except for degenerate cases Tuesday October 27 2009 5 Multi class SVM example Tuesday October 27 2009 6 Multi class SVM example Rule Tuesday October 27 2009 7 Multi class SVM example w yj xj b yj y w xj b y 1 y yj j Tuesday October 27 2009 8 Multi class SVM example w yj xj b yj y w xj b y 1 y yj j Tuesday October 27 2009 9 Kernels Tuesday October 27 2009 10 Kernels Tuesday October 27 2009 11 Kernels Tuesday October 27 2009 12 Kernels Complexity of the optimization problem remains only dependent on the dimensionality of the input space and not of the feature space Tuesday October 27 2009 13 Kernels K x z x T z Infinite dimensions Complexity of the optimization problem remains only dependent on the dimensionality of the input space and not of the feature space Tuesday October 27 2009 14 Finding the margin by hand Tuesday October 27 2009 15 Finding the margin by hand Tuesday October 27 2009 16 Finding the margin by hand Tuesday October 27 2009 17 How many SVs now But this is 2D data w i yi xi i Tuesday October 27 2009 b yk w xk 18 How many SVs now The worst case is the VC dimension Tuesday October 27 2009 19 VC dimension For a given algorithm the largest set of points that the algorithm can shatter Tuesday October 27 2009 20 VC dimension For a given algorithm the largest set of points that the algorithm can shatter Tuesday October 27 2009 21 VC dimension For a given algorithm the largest set of points that the algorithm can shatter Tuesday October 27 2009 22 VC dimension For a linear classifier in m dimensions VC dimension is m 1 So the worst case for the number of SVs is m 1 Tuesday October 27 2009 23 How many SVs now Dimensionality w i yi xi i b yk w xk for any k where k 0 w depends only on the alpha s not on the dim of x Tuesday October 27 2009 24 Quiz wxj b 1 for yi 1 wxj b 1 for yi 1 Why 1 and 1 Tuesday October 27 2009 25 Quiz Can we apply a kernel to any algorithm SVM LR minimizew b w w wxj b yj 1 j w arg min w j yj wi hi xj 2 i Decision trees Boosting Tuesday October 27 2009 26 Quiz Computing the b s b yk wxk for any k where k 0 Which k do we choose Tuesday October 27 2009 27 K NN and homework problem Cross validation error Training error Testing error Tuesday October 27 2009 28 Questions Tuesday October 27 2009 29


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 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?