Gaussian Process Summer School
Kernel Design
Nicolas Durrande – PROWLER.io (nicolas@prowler.io)
Sheffield, September 2018
Kernel Design Nicolas Durrande PROWLER.io (nicolas@prowler.io) - - PowerPoint PPT Presentation
Gaussian Process Summer School Kernel Design Nicolas Durrande PROWLER.io (nicolas@prowler.io) Sheffield, September 2018 Introduction 2 / 57 We have seen during the introduction lectures that the distribution of a GP Z depends on two
Sheffield, September 2018
2 / 57
3 / 57
0.0 0.2 0.4 0.6 0.8 1.0
0.0 0.5 1.0 1.5
4 / 57
5 / 57
6 / 57
i=1 aiZ(xi) where n, ai
i
7 / 57
8 / 57
squared exp. k(x, y) = σ2 exp
2θ2
k(x, y) = σ2
√ 5|x − y| θ + 5|x − y|2 3θ2
√ 5|x − y| θ
k(x, y) = σ2
√ 3|x − y| θ
√ 3|x − y| θ
k(x, y) = σ2 exp
θ
k(x, y) = σ2 min(x, y) white noise k(x, y) = σ2δx,y constant k(x, y) = σ2 linear k(x, y) = σ2xy
9 / 57
0.2 0.0 0.2 0.4 0.6 0.8 1.0
Matern12 k(x, 0.0) Matern32 k(x, 0.0) Matern52 k(x, 0.0) RBF k(x, 0.0)
0.2 0.0 0.2 0.4 0.6 0.8 1.0
RationalQuadratic k(x, 0.0) Constant k(x, 0.0) White k(x, 0.0) Cosine k(x, 0.0)
2 2 0.2 0.0 0.2 0.4 0.6 0.8 1.0
Periodic k(x, 0.0)
2 2
Linear k(x, 1.0)
2 2
Polynomial k(x, 1.0)
2 2
ArcCosine k(x, 0.0)
10 / 57
3 2 1 1 2 3
Matern12 Matern32 Matern52 RBF
3 2 1 1 2 3
RationalQuadratic Constant White Cosine
2 2 3 2 1 1 2 3
Periodic
2 2
Linear
2 2
Polynomial
2 2
ArcCosine
11 / 57
12 / 57
0.0 0.0
13 / 57
1 (1+ω2)p
14 / 57
0.0
− →
0.0
15 / 57
1 2 3 4 5 6 4 2 2 4 6
16 / 57
17 / 57
18 / 57
19 / 57
20 / 57
21 / 57
22 / 57
◮ On the same space k(x, y) = k1(x, y) + k2(x, y) ◮ On the tensor space k(x, y) = k1(x1, y1) + k2(x2, y2)
◮ On the same space k(x, y) = k1(x, y) × k2(x, y) ◮ On the tensor space k(x, y) = k1(x1, y1) × k2(x2, y2)
◮ k(x, y) = k1(f (x), f (y))
23 / 57
3 2 1 1 2 3 0.04 0.02 0.00 0.02 0.04
Matern12 k(x, 0.03)
3 2 1 1 2 3 0.04 0.02 0.00 0.02 0.04
Linear k(x, 0.03)
3 2 1 1 2 3 0.04 0.02 0.00 0.02 0.04
Sum k(x, .03)
24 / 57
3 2 1 1 2 3 2.0 1.5 1.0 0.5 0.0 0.5 1.0 1.5 2.0
Z1(x)
3 2 1 1 2 3 2.0 1.5 1.0 0.5 0.0 0.5 1.0 1.5 2.0
Z2(x)
3 2 1 1 2 3 2.0 1.5 1.0 0.5 0.0 0.5 1.0 1.5 2.0
Z(x)
25 / 57
1960 1970 1980 1990 2000 2010 2020 2030 320 340 360 380 400 420 440
26 / 57
1960 1970 1980 1990 2000 2010 2020 2030 2040 600 400 200 200 400 600 1950 1960 1970 1980 1990 2000 2010 2020 2030 2040 300 320 340 360 380 400 420 440 460 480
27 / 57
1950 1960 1970 1980 1990 2000 2010 2020 2030 2040 300 320 340 360 380 400 420 440 460 480
28 / 57
1950 1960 1970 1980 1990 2000 2010 2020 2030 2040 300 320 340 360 380 400 420 440 460 480
28 / 57
0x2y2 + krbf 1(x, y) + krbf 2(x, y) + kper(x, y)
1950 1960 1970 1980 1990 2000 2010 2020 2030 2040 300 320 340 360 380 400 420 440 460
29 / 57
0x2y2 + krbf 1(x, y) + krbf 2(x, y) + kper(x, y)
1950 1960 1970 1980 1990 2000 2010 2020 2030 2040 300 320 340 360 380 400 420 440 460
29 / 57
0.0 0.2 0.4 0.6 0.8 1.0 0.0 0.2 0.4 0.6 0.8 1.0 0.2 0.4 0.6 0.8 1.0
0.0 0.2 0.4 0.6 0.8 1.0 0.0 0.2 0.4 0.6 0.8 1.0 0.2 0.4 0.6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.5
45 / 57
46 / 57
47 / 57
5 10 15 −1.5 −1.0 −0.5 0.0 0.5 1.0 1.5 2.0 2.5 5 10 15 −1.5 −1.0 −0.5 0.0 0.5 1.0 1.5 2.0 2.5
||
5 10 15 −1.5 −1.0 −0.5 0.0 0.5 1.0 1.5 2.0 2.5
+
48 / 57
p, σ2 a, θp, θa) = kp(x, y, σ2 p, θp) + ka(x, y, σ2 a, θa)
49 / 57
5 10 15 −1.5 −1.0 −0.5 0.0 0.5 1.0 1.5 2.0 2.5 5 10 15 −1.5 −1.0 −0.5 0.0 0.5 1.0 1.5 2.0 2.5
||
5 10 15 −1.5 −1.0 −0.5 0.0 0.5 1.0 1.5 2.0 2.5
+
50 / 57
51 / 57
30 40 50 60 70 3 2 1 1 2 3
At1g60810
30 40 50 60 70 2 1 1 2 3
At4g10040
30 40 50 60 70 3 2 1 1 2 3
At1g06290
30 40 50 60 70 2.0 1.5 1.0 0.5 0.0 0.5 1.0 1.5 2.0
At5g48900
30 40 50 60 70 2 1 1 2 3 4
At5g41480
30 40 50 60 70 2 1 1 2 3 4
At3g08000
30 40 50 60 70 3 2 1 1 2
At3g03900
30 40 50 60 70 2 1 1 2 3
At2g36400
52 / 57
53 / 57
54 / 57
55 / 57
56 / 57