Syntax
L = resubLoss(gprMdl)
L = resubLoss(gprMdl,Name,Value)
Description
returns the resubstitution mean squared error for the Gaussian process regression (GPR) model,L
= resubLoss(gprMdl
)gprMdl
.
returns the resubstitution loss for the GPR model,L
= resubLoss(gprMdl
,Name,Value
)gprMdl
, with additional options specified by one or moreName,Value
pair arguments. For example, you can specify a custom loss function or the observation weights.
Input Arguments
Output Arguments
Examples
Alternatives
To compute the regression error for new data, useloss
.
References
[1] Harrison, D. and D.L., Rubinfeld. "Hedonic prices and the demand for clean air."J. Environ. Economics & Management. Vol.5, 1978, pp. 81-102.
[2] Lichman, M. UCI Machine Learning Repository, Irvine, CA: University of California, School of Information and Computer Science, 2013. http://archive.ics.uci.edu/ml.