Learn R Programming

resemble (version 2.2.3)

predict_gaussian_process: Prediction function for the gaussian_process function (Gaussian process regression with dot product covariance)

Description

Predicts response values based on a model generated by the gaussian_process function (Gaussian process regression with dot product covariance). For internal use only!.

Usage

predict_gaussian_process(Xz, alpha, newdata, scale, Xcenter, Xscale, Ycenter, Yscale)

Value

a matrix of predicted values

Arguments

newdata

a matrix containing the predictor variables

scale

a logical indicating whether the matrix of predictors used to create the regression model (in the gaussian_process function) was scaled

Xcenter

if center = TRUE a matrix of one row with the values that must be used for centering newdata.

Xscale

if scale = TRUE a matrix of one row with the values that must be used for scaling newdata.

Ycenter

if center = TRUE a matrix of one row with the values that must be used for accounting for the centering of the response variable.

Yscale

if scale = TRUE a matrix of one row with the values that must be used for accounting for the scaling of the response variable.

Author

Leonardo Ramirez-Lopez