lvgpc: Prediction of binomial-distributed random variables using GP...

Description Usage Arguments Value References Examples

Description

Prediction of binomial-distributed random variables using GP regression

Usage

1
2
lvgpc(x.train = NULL, c.train = NULL, x.new = NULL, pars = list(var = 1,
  inv.scale = 2, gamma = 2, noise = 0.1, kernel = "gamma.exp"), ...)

Arguments

x.train

vector of independent variables used for training

c.train

vector of dependent variables used for training

x.new

vector of variables for which a response should be predicted

pars

a list containing the hyper-parameters and kernel specifications

...

additional parameters (not specified)

Value

An object of class lvgpc.pred

an lvgpc.pred object

c.predict

the predicted c* values given the lvgpc object

mean.c.predict

the predicted mean c* values given the lvgpc object

mean

the (approximated) posterior mean values

cov

the (approximated) posterior covariance/kernel

call

the function call

References

Rasmussen C.E. and Williams C.K.I. (2006), Gaussian Processes for Machine Learning, MIT Press
http://www.gaussianprocess.org/gpml/

Barber D. (2013), Bayesian Reasoning and Machine Learning, Cambridge University Press
http://web4.cs.ucl.ac.uk/staff/D.Barber/pmwiki/pmwiki.php?n=Brml.HomePage

Examples

1
2
3
4
5
 x.train <- seq(-5, 5, .1)
 c.train <- c(rep(0,25), rep(1, length(x.train)-50), rep(0,25))
 x.new <- rnorm(100)
 pars <- list(var=1, inv.scale=2, gamma=2, noise=.1, kernel="gamma.exp")
 pred <- lvgpc(x.train, c.train, x.new, pars)

dirmeier/gpR documentation built on May 15, 2019, 8:50 a.m.