EEzGP_predict: The Prediction Function of 'EEzGP' Model

View source: R/EEzGP_predict.R

EEzGP_predictR Documentation

The Prediction Function of EEzGP Model

Description

Predicts the output of the EEzGP model fitted by EEzGP_fit.

Usage

EEzGP_predict(X_new, model, MSE_on = 0)

Arguments

X_new

Matrix or vector containing the input(s) where the predictions are to be made. Each row is an input vector.

model

The EEzGP model fitted by EEzGP_fit.

MSE_on

A scalar indicating whether the uncertainty (i.e., mean squared error MSE) is calculated. Set to a non-zero value to calculate MSE.

Value

A prediction list containing the following components:

  • Y_hat A vector containing the prediction values

  • MSE A vector containing the prediction uncertainty (i.e., the covariance or covariance matrix for the output(s) at prediction location(s))

References

  1. "EzGP: Easy-to-Interpret Gaussian Process Models for Computer Experiments with Both Quantitative and Qualitative Factors", Qian Xiao, Abhyuday Mandal, C. Devon Lin, and Xinwei Deng (\Sexpr[results=rd]{tools:::Rd_expr_doi("10.1137/19M1288462")})

See Also

EEzGP_fit to fit EEzGP model for the datasets.

Examples

# This function is used in a similar way as the use of EzGP_predict.
# See the examples in the documentation of the function EEzGP_fit.

EzGP documentation built on July 9, 2023, 7:56 p.m.

Related to EEzGP_predict in EzGP...