11
ADVANCED MACHINE LEARNING
ADVANCED MACHINE LEARNING Kernel PCA 11 ADVANCED MACHINE LEARNING - - PowerPoint PPT Presentation
ADVANCED MACHINE LEARNING ADVANCED MACHINE LEARNING Kernel PCA 11 ADVANCED MACHINE LEARNING Overview Todays Lecture Brief Recap of Classical Principal Component Analysis (PCA) Derivation of kernel PCA Exercises to develop a
11
ADVANCED MACHINE LEARNING
22
ADVANCED MACHINE LEARNING
33
ADVANCED MACHINE LEARNING
320 240 3 230400
44
ADVANCED MACHINE LEARNING
2 2 230400
55
ADVANCED MACHINE LEARNING
2 2 230400
66
ADVANCED MACHINE LEARNING
1
2
77
ADVANCED MACHINE LEARNING
1
2
1
2
Smallest breadth of data lost Largest breadth of data conserved
Reconstruction after projection
88
ADVANCED MACHINE LEARNING
T
1 2
Dataset ..... (data is centered, i.e. 0)
M
X x x x E X
1 1 1 2
T N N N
1
2
e
1
e
99
ADVANCED MACHINE LEARNING
0.1
p N p p
N
10 10
ADVANCED MACHINE LEARNING
(in the first eigenvectors)
(in the following eigenvectors)
11 11
ADVANCED MACHINE LEARNING
12 12
ADVANCED MACHINE LEARNING
13 13
ADVANCED MACHINE LEARNING
14 14
ADVANCED MACHINE LEARNING
Original Space
After Lifting Data in Feature Space
15 15
ADVANCED MACHINE LEARNING
Scholkopf et al, Neural Computation, 1998
1... 1 ,....., i M i N M
Original Space
H
2
x f
1
x f
2
x
1
x
P x f
16 16
ADVANCED MACHINE LEARNING
Original Space
x1 x2 v1 v2
Data projected onto the two first principal components in feature space
1... 1 ,....., i M i N M
MACHINE LEARNING – 2013
17
1 M i i
T i
f
18 18 18
ADVANCED MACHINE LEARNING
i i i
f
19 19 19
ADVANCED MACHINE LEARNING
1 1
M M T i j j i i i i j
f f
1
M T i j j i j i
ij
1
j
M i j j i
20 20 20
ADVANCED MACHINE LEARNING
T j
1
M i i l l l i
i i i
f
1
M T i k k i k
f
j i j i i
f
MACHINE LEARNING – 2013
21
2 1 1 1
1 1 , , ,
M M M j k i k l i j l l l k l l i
x x x x x x M M f f f f f f
i
i i
i j i j ij
kl
K
jl
K
jk k
K
i
MACHINE LEARNING – 2013
22
i
i i
1 1
M M
MACHINE LEARNING – 2013
23
1
i i M i i
f
24 24 24
ADVANCED MACHINE LEARNING
1 1
i M M i i j i j j j j j i i
i
Sum over all training points
25 25 25
ADVANCED MACHINE LEARNING
1
i M i i j j j i i
2 2
'
Consider a 2 dimensional data space, with two datapoints, and the RBF kernel: , ' a) How many dual eigenvectors do you have and what is their dimension? b) Compute the eigenvectors and draw t
x x
k x x e
2
he isolines for the projections
c) Repeat (b) for a homogeneous polynomial kernel with p=2: , ' , ' k x x x x
26 26 26
ADVANCED MACHINE LEARNING
1
i M i i j j j i i
2 2
'
Consider a 2 dimensional data space, with three equidistant datapoints, and the RBF kernel: , ' a) How many dual eigenvectors do you have and what is their dimension? b) Compute the eigenvect
x x
k x x e
2
c) Repeat (b) for a homogeneous polynomial kernel with p=2: , ' , ' d) What happens if you take 3 non-equidistant datapoints? k x x x x
27 27
ADVANCED MACHINE LEARNING
28 28
ADVANCED MACHINE LEARNING