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

View source: R/RcppExports.R

predict_gaussian_processR Documentation

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)

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.

b

the regression coefficients.

Value

a matrix of predicted values

Author(s)

Leonardo Ramirez-Lopez


resemble documentation built on April 21, 2023, 1:13 a.m.