predict_gaussian_process: Prediction function for the 'gaussian_process' function...

Description Usage Arguments Value Author(s)

View source: R/RcppExports.R

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

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

Arguments

Xz

the final (scaled?) matrix of predictors used to create the regression model in the gaussian_process function

alpha

the alpha matrix corresponding to the regression model in the gaussian_process function

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.

Value

a matrix of predicted values

Author(s)

Leonardo Ramirez-Lopez


resemble documentation built on Nov. 9, 2020, 5:08 p.m.