bayesian.information.criterion: Calculate BIC of a GP

Description Usage Arguments Value See Also Examples

View source: R/bic.R

Description

Calculate BIC of a GP

Usage

1

Arguments

gp.obj

A trained gaussianProcess object

Value

The BIC value for the input GP object.

See Also

model.search and gaussianProcess

Examples

1
2
3
4
5
6
x <- rnorm(50)
y <- sin(1/(x^2 + 0.15))
mt <- create.model.tree.builtin()
mt <- insert.kernel.instance(mt, 1, "SE", NULL, hyper.params=c(l=1))
gp <- create.gaussian.process(x, y, mt)
gp$fit.hyperparams(NA)

mattdneal/gaussianProcess documentation built on May 21, 2019, 12:58 p.m.