mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-07 19:12:40 +02:00
more gradient based tomfoolery
This commit is contained in:
parent
7b5e8a9ffc
commit
c1a416debc
4 changed files with 4 additions and 6 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue