Hands on Demos for Gaussian Process using R Software
Tak (Hyungsuk) Tak & David Jones
SAMSI Undergraduate Workshop
24 Oct 2016
1 / 1
Hands on Demos for Gaussian Process using R Software Tak (Hyungsuk) - - PowerPoint PPT Presentation
Hands on Demos for Gaussian Process using R Software Tak (Hyungsuk) Tak & David Jones SAMSI Undergraduate Workshop 24 Oct 2016 1 / 1 Gaussian Processes X Y (= f ( X )) Science: What is f ( )? What is f ( X ) if I have X ?
Tak (Hyungsuk) Tak & David Jones
SAMSI Undergraduate Workshop
24 Oct 2016
1 / 1
2 / 1
Gaussian Process defines a Gaussian distribution on f (·). Defining relationships between inputs (X’s) via a covariance function defines a Gaussian distribution of f (·).
f (Xn×1) f (X∗
m×1)
f (X1) . . . f (Xn) f (X ∗
1 )
. . . f (X ∗
m)
∼ Normal[ 0, C = {Ci,j}(n+m)×(n+m) ], where Ci,j = σ2 exp
2l2
3 / 1
f (X) f (X∗)
C(1,1) C(1,2) C(2,1) C(2,2) , where C(1,1) = Cov(X, X)n×n, C(1,2) = Cov(X, X∗)n×m, etc., and Ci,j = σ2 exp
2l2
Based on the properties of a multivariate Gaussian distribution,
◮ Marginal distribution: f (X∗) ∼ Normal[ 0, C(2,2) ]. ◮ Conditional distribution (Conditioning on what we know):
f (X∗) | f (X) ∼ Normal[ C(2,1)C−1
(1,1)f (X), C(2,2) −C(2,1)C−1 (1,1)C(1,2) ]
4 / 1
A periodic kernel (David Jones)
f (X∗)
C(1,2) C(2,1) C(2,2) , where C(1,1) = Cov(X, X)n×n, C(1,2) = Cov(X, X∗)n×m, etc., and Ci,j = σ2 exp
π(Xi − Xj) τ 2
5 / 1
6 / 1
Gaussian processes offer:
◮ Flexible modeling of a wide variety of scientific data ◮ Incorporation of uncertainty e.g. using confidence intervals ◮ Prediction ◮ Modeling for multiple outputs ◮ Computationally efficient algorithms and approximations ◮ Classification methods (not discussed)
7 / 1
The power spectrum describes how the matter is distributed over large
8 / 1
Modeling stellar activity in the search for planets (Rajpaul et al., 2015)
9 / 1
Strong lens time delay estimation (Tewes et al., 2013)
10 / 1
Online resources for Gaussian processes
◮ “The Gaussian Process Website” (http://www.gaussianprocess.org)
for an overview of resources concerned with Gaussian processes that provides a list of softwares available on different platforms (e.g., R, Python, Matlab, C/C++, etc.) and a list of publications about Gaussian processes.
◮ Textbook Rasmussen & Williams 2006 is online
http://www.gaussianprocess.org/gpml/chapters/RW.pdf
◮ Neil Lawrence lectures are on Youtube ◮ R GP package
https: //cran.r-project.org/web/packages/GPfit/index.html
◮ Also Python GP libraries / code e.g.
PyGPs (https://github.com/marionmari/pyGPs) GPy (https://sheffieldml.github.io/GPy/)
11 / 1