constant jitter

This commit is contained in:
Max Zwiessele 2014-03-10 08:20:45 +00:00
parent a9a285c790
commit f7223ea377
2 changed files with 3 additions and 2 deletions

View file

@ -77,7 +77,8 @@ class VarDTC(object):
num_inducing = Z.shape[0] num_inducing = Z.shape[0]
num_data = Y.shape[0] num_data = Y.shape[0]
# kernel computations, using BGPLVM notation # kernel computations, using BGPLVM notation
Kmm = kern.K(Z)
Kmm = kern.K(Z) +np.eye(Z.shape[0]) * self.const_jitter
Lm = jitchol(Kmm) Lm = jitchol(Kmm)