createPriors: Create a list with prior information.

Description Usage Arguments Details Value TODO See Also Examples

Description

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

Usage

1
createPriors(x, noise = FALSE)

Arguments

x

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.

TODO

Decide whether to add options for "heteroscedastic" and "composite"

See Also

bcgp

Other preprocessing functions: createInits

Examples

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

cbdAmgen/bcgp0a documentation built on May 17, 2019, 10:01 a.m.