This covariance function is parameterized as: k(x^p,x^q) = s2 * solve(delta(p,q)) , in which s2 is the noise variance and solve(delta(p,q)) is a Kronecker delta function where is 1 if p==q and its zero otherwise. hyperparameter and is defined by: loghyper = [ log(sqrt(s2)) ]
covNoise(loghyper= NULL , x = NULL , z = NULL, testset.covariances= FALSE)
z
is not null and testset.covariances
is TRUE this function calculates test set covariances and if its FALSE the function computes derivative matrix.
When covNoise is called without parameters is reports the minimum number of parameters other than loghyper which it can accept.
The output of this function is a list consisting variables A and B. B will include testset covariances calculation when testset.covariances
is TRUE.