You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CovarianceFunction class provides two methods:
computeSymmetric(mat C, vec A)
computeCovariance(mat C, vec A, vec B)
The names are a little confusing - I did expect computeCovariance(C, A, A)
to return the same result as computeSymmetric(C, A), but this is not always
the case. I guess computeCovariance was intended for computation of
cross-covariances *only*, meaning we always have A != B.
I am not sure this is always going to be the case: a given location could
be both in the training and test set. Should the cross-covariance for A==B
be the same as the covariance? In GPML, the nugget term (WhiteNoiseCF)
assumes there is no correlation between points in the case of covariances,
regardless of whether the two points are the same. We could argue that if
A==B, the two locations certainly aren't uncorrelated! I am not sure what
the effects on computations are. This needs to be checked as it can affect
the results quite strongly.
Original issue reported on code.google.com by remi.bar...@gmail.com on 29 Jun 2009 at 10:12
The text was updated successfully, but these errors were encountered:
Following on the previous comment, I've observed that in the case where
computeCovariance(C,A,B) returns 0 even when A==B, there is an issue with
duplicate
active points. Namely, the same data point can be added several times to the
active
set and not be removed (possibly because the duplicates are treated as
independent?).
Having computeCovariance(C,A,B) return the nugget if A==B seems to solve the
problem.
But I need to do further testing to be sure it does not introduce other problems
elsewhere.
Original comment by remi.bar...@gmail.com on 30 Jun 2009 at 10:30
Original issue reported on code.google.com by
remi.bar...@gmail.com
on 29 Jun 2009 at 10:12The text was updated successfully, but these errors were encountered: