Loadable Function: y = pgp_predict (GPM,X)
Loadable Function: [y,sig] = pgp_predict (GPM,X)
Loadable Function: [y,sig,dy] = pgp_predict (GPM,X)
Uses the model GPM to predict values, standard deviations and model derivatives in spatial points. X is the matrix of independent variables. (The organization is determined by GPM.theta, as in
pgp_train).y is set to the predicted dependent variable values. If sig is requested, it is set to the estimated prediction deviations. If dy is requested, it is populated with the prediction gradients.