View source: R/mgp.functions.R
mgprPredict | R Documentation |
Prediction of MGPR model
mgprPredict(
train,
DataObs = NULL,
DataNew,
noiseFreePred = F,
meanModel = NULL,
mu = 0
)
train |
A 'mgpr' object obtained from 'mgpr' function. If NULL, predictions are made based on DataObs informed by the user. |
DataObs |
List of observed data. Default to NULL. If NULL, predictions are made based on the trained data (included in the object of class 'mgpr') used for learning. |
DataNew |
List of test input data. |
noiseFreePred |
Logical. If TRUE, predictions will be noise-free. |
meanModel |
Type of mean function applied to all outputs. It can be
Default to 0. If argument 'mu' is specified, then 'meanModel' will be set to 'userDefined'. |
mu |
Vector of concatenated mean function values defined by the user. Default to NULL. |
A list containing
Mean of predictions for the test set.
Standard deviation of predictions for the test set.
Logical. If TRUE, predictions are noise-free.
## See examples in vignette:
# vignette("mgpr", package = "GPFDA")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.