c_reg_lapl

Purpose

Online update coeffs. for regression with Laplace noise.

Synopsis


[loglik,K1,K2] = c_reg_lapl(likpar,y,mx,varx)

Description

[loglik,K1,K2] = c_reg_lapl(likpar,y,mx,varx) - returns the coefficients for the online update of the GP regression with Gaussian noise assumption.

Parameters:

likpar

- likelihood parameters (stored in net).

y

- observed noisy output.

mx

- mean of the GP marginal at the new input.

varx

- the variance of the GP marginal at the new input.

loglik

- the logarithm of the averaged likelihood function.

K1,K2

- the first and second derivatives of loglik.

The noise parameter lambda=likpar is set at the initialisation.

Likelihood function

The likelihood function is


P(y|x,lambda) = exp(-abs(x-y)/lambda)/(2*lambda);

(see matlab code for details).

See Also

ogp, ogptrain, ogpfwd, err_abs


Pages: Index

Copyright (c) Lehel Csató (2001-2004)