changed gradient interface to gp and sparse GP

This commit is contained in:
James Hensman 2014-01-28 14:40:07 +00:00
parent a3f1fe38c3
commit 06da98f9ea
3 changed files with 8 additions and 3 deletions

View file

@ -53,6 +53,6 @@ class ExactGaussianInference(object):
likelihood.update_gradients(np.diag(dL_dK))
return Posterior(LW, alpha, K), log_marginal, dL_dK
return Posterior(LW, alpha, K), log_marginal, {'dL_dK':dL_dK}