Learn R Programming

gptk (version 1.06)

demRegression: Gaussian Process Regression Demo

Description

The regression demo very much follows the format of the interpolation demo. Here the difference is that the data is sampled with noise. Fitting a model with noise means that the regression will not necessarily pass right through each data point.

Usage

demRegression(path=getwd(), filename='demRegression', png=FALSE, gif=FALSE)

Arguments

path
path where the plot images are saved.
filename
name of saved images.
png
save image as png.
gif
save series of images as animated gif.

See Also

gpOptions, kernCreate, kernCompute, gaussSamp, kernDiagCompute, gpCreate, gpPlot, demInterpolation.