createPriors: Create a list with prior information.

Description Usage Arguments Details Value See Also Examples

Description

createPriors returns a list that contains default values for the priors.

Usage

1
createPriors(xTrain, noise = FALSE)

Arguments

xTrain

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

noise

If the data is assumed to be noise-free, then noise should be FALSE. Otherwise, it should be TRUE,

Details

This creates a list that contains default values for the priors. The user can change the values as they like prior to inputting the list into bcgp.

Value

A list containing the default values for all the prior parameters.

See Also

bcgp

Other preprocessing functions: createInits

Examples

1
2
3
xTrain <- matrix(runif(40), ncol= 4, nrow = 10)
createPriors(xTrain)
createPriors(xTrain, noise = TRUE)

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