more gradient based tomfoolery

This commit is contained in:
James Hensman 2014-01-24 14:15:32 +00:00
parent 7b5e8a9ffc
commit c1a416debc
4 changed files with 4 additions and 6 deletions

View file

@ -52,7 +52,7 @@ class Gaussian(Likelihood):
def covariance_matrix(self, Y, Y_metadata=None):
return np.eye(Y.shape[0]) * self.variance
def set_gradients(self, partial):
def update_gradients(self, partial):
self.variance.gradient = np.sum(partial)
def _preprocess_values(self, Y):