mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-03 16:52:39 +02:00
[inference] exact Gaussian some constant jitter
This commit is contained in:
parent
1946514593
commit
9c19f8584e
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ class ExactGaussianInference(LatentFunctionInference):
|
||||||
K = kern.K(X)
|
K = kern.K(X)
|
||||||
|
|
||||||
Ky = K.copy()
|
Ky = K.copy()
|
||||||
diag.add(Ky, likelihood.gaussian_variance(Y_metadata))
|
diag.add(Ky, likelihood.gaussian_variance(Y_metadata)+1e-8)
|
||||||
Wi, LW, LWi, W_logdet = pdinv(Ky)
|
Wi, LW, LWi, W_logdet = pdinv(Ky)
|
||||||
|
|
||||||
alpha, _ = dpotrs(LW, YYT_factor, lower=1)
|
alpha, _ = dpotrs(LW, YYT_factor, lower=1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue