postFitStatistics
Compute post-fit statistics for the exact Gaussian process regression model
Syntax
loores = postFitStatistics(gprMdl)
[loores,neff] = postFitStatistics(gprMdl)
Description
loores = postFitStatistics(gprMdl)
returns
the leave-one-out residuals, loores
, for the
trained Gaussian process regression (GPR) model.
[loores,neff] = postFitStatistics(gprMdl)
also
returns the number of effective parameters, neff
.
Input Arguments
Output Arguments
Examples
Tips
You can only compute the post-fit statistics when
PredictMethod
is'exact'
.If
FitMethod
is'exact'
, thenpostFitStatistics
accounts for the fact that the fixed basis function coefficients are estimated from the data.If
FitMethod
is different than'exact'
, thenpostFitStatistics
treats the fixed basis function coefficients as known.For all
PredictMethod
andFitMethod
options,postFitStatistics
treats the estimated kernel parameters and noise standard deviation as known.
Version History
Introduced in R2015b