Fixed two small lbugs

This commit is contained in:
Siivola Eero 2017-07-04 13:18:06 +03:00
parent 8377d95fbe
commit 8ad774cb4e
2 changed files with 2 additions and 2 deletions

View file

@ -60,7 +60,7 @@ class Gaussian(Likelihood):
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):
def exact_inference_gradients(self, dL_dKdiag, Y_metadata=None):
return dL_dKdiag.sum()
def _preprocess_values(self, Y):