SVM Kernels
COMPSCI 371D — Machine Learning
COMPSCI 371D — Machine Learning SVM Kernels 1 / 27
SVM Kernels COMPSCI 371D Machine Learning COMPSCI 371D Machine - - PowerPoint PPT Presentation
SVM Kernels COMPSCI 371D Machine Learning COMPSCI 371D Machine Learning SVM Kernels 1 / 27 Outline 1 Linear Separability and Feature Augmentation 2 Sample Complexity 3 Computational Complexity 4 Kernels and Nonlinear SVMs 5 Mercers
COMPSCI 371D — Machine Learning SVM Kernels 1 / 27
1 Linear Separability and Feature Augmentation 2 Sample Complexity 3 Computational Complexity 4 Kernels and Nonlinear SVMs 5 Mercer’s Conditions 6 Gaussian Kernels and Support Vectors
COMPSCI 371D — Machine Learning SVM Kernels 2 / 27
Linear Separability and Feature Augmentation
1
COMPSCI 371D — Machine Learning SVM Kernels 3 / 27
Linear Separability and Feature Augmentation
1, x2)
COMPSCI 371D — Machine Learning SVM Kernels 4 / 27
Linear Separability and Feature Augmentation
1, x2)
1)
COMPSCI 371D — Machine Learning SVM Kernels 5 / 27
Linear Separability and Feature Augmentation
d
2
1 , x1x2 , x2 2 , x3 1 , x2 1x2 , x1x2 2 , x3 2)
COMPSCI 371D — Machine Learning SVM Kernels 6 / 27
Sample Complexity
COMPSCI 371D — Machine Learning SVM Kernels 7 / 27
Sample Complexity
COMPSCI 371D — Machine Learning SVM Kernels 8 / 27
Sample Complexity
COMPSCI 371D — Machine Learning SVM Kernels 9 / 27
Sample Complexity
COMPSCI 371D — Machine Learning SVM Kernels 10 / 27
Sample Complexity
COMPSCI 371D — Machine Learning SVM Kernels 11 / 27
Sample Complexity
COMPSCI 371D — Machine Learning SVM Kernels 12 / 27
Computational Complexity
1 , x1x2 , x2 2 , x3 1 , x2 1x2 , x1x2 2 , x3 2)
COMPSCI 371D — Machine Learning SVM Kernels 13 / 27
Computational Complexity
N
n∈A(w,b) αnynxn
mxn
COMPSCI 371D — Machine Learning SVM Kernels 14 / 27
Kernels and Nonlinear SVMs
n∈A(w,b) αnynxn
mxn
w,b,ξ
mxn + C N
m∈A(u)
mxn + b
COMPSCI 371D — Machine Learning SVM Kernels 15 / 27
Kernels and Nonlinear SVMs
w,b,ξ
N
m∈A(u)
def
COMPSCI 371D — Machine Learning SVM Kernels 16 / 27
Kernels and Nonlinear SVMs
mx + b
n∈A(w,b) αnynxn
COMPSCI 371D — Machine Learning SVM Kernels 17 / 27
Kernels and Nonlinear SVMs
1 , x1x2 , x2 2 , x3 1 , x2 1x2 , x1x2 2 , x3 2)
1 ,
2 , x3 1 ,
1x2 ,
2 , x3 2)
COMPSCI 371D — Machine Learning SVM Kernels 18 / 27
Kernels and Nonlinear SVMs
COMPSCI 371D — Machine Learning SVM Kernels 19 / 27
Mercer’s Conditions
d f(x) dx is finite,
d×R d K(x, z) f(x) f(z) dx dz ≥ 0
COMPSCI 371D — Machine Learning SVM Kernels 20 / 27
Mercer’s Conditions
σ2
COMPSCI 371D — Machine Learning SVM Kernels 21 / 27
Gaussian Kernels and Support Vectors
n αnynϕ(xn)
n αnynK(xn, x) + b = 0
COMPSCI 371D — Machine Learning SVM Kernels 22 / 27
Gaussian Kernels and Support Vectors
mxn or xT n x
COMPSCI 371D — Machine Learning SVM Kernels 23 / 27
Gaussian Kernels and Support Vectors
d f(x) dx is finite,
d×R d K(x, z) f(x) f(z) dx dz ≥ 0
σ2
COMPSCI 371D — Machine Learning SVM Kernels 24 / 27
Gaussian Kernels and Support Vectors
n αnyne− x−xn2
σ2
COMPSCI 371D — Machine Learning SVM Kernels 25 / 27
Gaussian Kernels and Support Vectors
COMPSCI 371D — Machine Learning SVM Kernels 26 / 27
Gaussian Kernels and Support Vectors
COMPSCI 371D — Machine Learning SVM Kernels 27 / 27