Kernels
Course of Machine Learning Master Degree in Computer Science Giorgio Gambosi a.a. 2018-2019
Kernels Course of Machine Learning Master Degree in Computer - - PowerPoint PPT Presentation
Kernels Course of Machine Learning Master Degree in Computer Science Giorgio Gambosi a.a. 2018-2019 Idea Thus far, we have been assuming that each object that we deal with For certain kinds of objects (text document, protein sequence,
Course of Machine Learning Master Degree in Computer Science Giorgio Gambosi a.a. 2018-2019
and define an object as the inferred values of latent variables
assume a similarity measure between objects is defined
2
3
4
5
d
i=1 d
j=1
d
i=1 d
j=1
d
i=1 d
j=1
k=1
n
k=1 d
i=1 d
j=1
d
k=1
i=1
6
1 2 ui)T (Λ 1 2 uj)
1 2 ui we get
7
8
n
i=1
9
k=1 ϕk(xi)ϕk(xj) = φ(xi)T φ(xj)
10
nφ(x))T
11
k=1 akxk,
k=1 akxT k x
k=1 akxT k xi < 0,
k=1 akφ(xk)T φ(x) or with y(x) = ∑n k=1 akκ(xk, x),
12
i xi + xT j xj − 2xT i xj
13
i=1
j=1 cicjκ(xi, xj) = ∑n i=1
j=1 cicjϕ(xi)T ϕ(xj) =
i=1 ciϕ(xi)∥2 ≥ 0
14
15
i=1
j=1 cicjκ(xi, xj) = ∑n i=1
j=1 cicjxixj =
i=1 cixi)2) ≥ 0
16
1 x2
1 x2 = xT 2 x1
i=1
j=1 cicjκ(xi, xj) = ∑n i=1
j=1 cicjxT i xj =
i=1 cixi∥2 ≥ 0
17
18
1,
2)
11,
12)T (x2 21,
22)
11x2 21 + 2x11x12x21x22 + x2 12x2 22
1 x2||2
1, . . . , x2 d, x1x2, . . . , x1xd, x2x1, . . . , xdxd−1)T
19
11x2 21 + x2 12x2 22 + 2x11x12x21x22
11, x2 12, x11x12, x11x12) · (x2 21, x2 22, x21x22, x21x22)
1, x2 2, x1x2, x1x2)T .
20
1, . . . , x2 d, x1x2, . . . , x1xd, x2x1, . . . , xdxd−1)T
21
n
i=1 n
j=1
n
i=1
1, . . . , x2 d, x1x2, . . . , x1xd, x2x1, . . . , xdxd−1,
22
t
i=0
23
1 Ax2, with A positive definite
24
1 x2 is a kernel function corresponding to the base
25
2σ2
1 x1 + xT 2 x2 − 2xT 1 x2, it results
xT 1 x1 2σ2 e− xT 2 x2 2σ2 e xT 1 x2 σ2
1 x2 is a kernel function (see above)
1 x2
xT 1 x2 σ2
xT 1 x1 σ2 e− xT 1 x1 2σ2 e xT 1 x2 σ2
xT 1 x1 2σ2
xT 2 x2 2σ2
26
1 x2.
27
s∈A∗
28
29
30