FUNCTION REFERENCE

RegressionGP

Gaussian process regression model returned by fitrgp.

Gaussian process regression model returned by fitrgp.

Syntax

mdl = fitrgp(X, y)

Stores kernel hyperparameters, noise standard deviation and Cholesky factor for posterior mean and standard deviation prediction. Evaluate with predict, resubLoss, loss and crossval.

Example

mdl = fitrgp([1; 2; 3; 4], [1; 4; 9; 16]); class(mdl)   % 'RegressionGP'

Differences from MATLAB: Exact GP inference on bounded dataset sizes; sparse approximations are not supported yet.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.