mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-15 06:52:39 +02:00
putting exact_inference_gradients again and calling in instead from ep_gradients which is the genreic method for calculating expected gradients used in ep
This commit is contained in:
parent
8b621a409c
commit
5d7e575c77
1 changed files with 3 additions and 0 deletions
|
|
@ -58,6 +58,9 @@ class Gaussian(Likelihood):
|
|||
self.variance.gradient = grad
|
||||
|
||||
def ep_gradients(self, Y, cav_tau, cav_v, dL_dKdiag,Y_metadata=None):
|
||||
return self.exact_inference_gradients(dL_dKdiag)
|
||||
|
||||
def exact_inference_gradients(self, dL_dKdiag):
|
||||
return dL_dKdiag.sum()
|
||||
|
||||
def _preprocess_values(self, Y):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue