Computes the log-predictive probability for Gaussian noise
[allLog] = logp_l(likpar,y,mX,sigX2);
[allLog] = logp_l(likpar,y,mX,sigX2) - returns the sum of
log-predictive probabilities of the inputs -- assuming additive Gaussian
noise.
It assumes that the test samples are independent, thus ignoring any possible non-diagonal part in the joint posterior distribution.
Parameters:
likpar- the likelihood parameters.
y- desired output.
mx- mean of the GP marginal at the new input.
allLog- the average error.
ogp, ogptrain, demogp_reg, err_abs
Copyright (c) Lehel Csató (2001-2004)