mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-30 14:35:15 +02:00
some work on ep, and some messing with wher ethe derivatives are computed (in the model, not the inference
This commit is contained in:
parent
b6edc1a298
commit
0cf1e44c68
4 changed files with 40 additions and 5 deletions
|
|
@ -49,8 +49,7 @@ class ExactGaussianInference(object):
|
|||
|
||||
dL_dK = 0.5 * (tdot(alpha) - Y.shape[1] * Wi)
|
||||
|
||||
kern.update_gradients_full(dL_dK, X)
|
||||
|
||||
#TODO: does this really live here?
|
||||
likelihood.update_gradients(np.diag(dL_dK))
|
||||
|
||||
return Posterior(woodbury_chol=LW, woodbury_vector=alpha, K=K), log_marginal, {'dL_dK':dL_dK}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue