bcgpMCMC: Draw samples from a bcgp model

Description Usage Arguments Details Value See Also Examples

Description

bcgpMCMC draws samples from the Bayesian Composite Gaussian Process model

Usage

1
2
bcgpMCMC(xTrain, yTrain, priors, inits, numUpdates, numAdapt, burnin,
  nmcmc)

Arguments

yTrain

Avector containing the observed response values in the training set.

numUpdates

The number of updates in the proposal stepsize adaptation phase.

numAdapt

The number of samples within each update in the proposal stepsize adaptation phase.

burnin

The number of burnin samples to discard after the stepsize adaptation phase is finished

X

An n x d matrix containing the independent variables in the training set.

prior

A list containing the values for the prior parameters.

Details

This draws samples from the posterior distribution for the Bayesian Composite Gaussian Process (BCGP) model.

Value

An object of S4 class bcgp representing the fitted results.

See Also

Other Major functions: bcgp

Examples

1
2
3
4
xTrain <- matrix(runif(20, 0, 10), nrow = 10, ncol = 2)
yTrain <- xTrain[, 1] + sin(xTrain[, 2])
priors <- createPriors(noise = FALSE, d = 2)
bcgp(xTrain, yTrain, priors)

cbdavis33/bcgp1 documentation built on May 6, 2019, 6:57 p.m.