MATLAB: Prediction without prior fitting in GPR

gpr

We can use fitrgp to fit a Gaussian process regression model, then use this model to predict the output on new input. The process of fitting model is to find the optimal hyperparameters of kernel. My question is: does Matlab previde GPR prediction without prior fitting model. That is if I already have optimal hyperparameters, is there any way (function) to predict new output directly.

Best Answer