err_mse

Purpose

Computes the mean-square error.

Synopsis


[mseAvg] = err_mse(likpar,y,mX,sigX2)

Description

[mseAvg] = err_mse(likpar,y,mX,sigX2) - returns the mean-square error between the training outputs y and the posterior mX.

Called with two output arguments, the function returns the individual squared distances as a second output argument.

The input argument likpar is not used.

Parameters:

net

- the Gaussian Process data structure.

y

- desired output.

mx

- mean of the GP marginal at the new input.

allErr

- the mean-square error.

See Also

demogp_reg, ogp, c_reg_gauss


Pages: Index

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