mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-11 21:12:38 +02:00
constant jitter
This commit is contained in:
parent
a9a285c790
commit
f7223ea377
2 changed files with 3 additions and 2 deletions
|
|
@ -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)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue