mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-07 11:02:38 +02:00
[minor edits]
This commit is contained in:
parent
ce4c14dd5a
commit
18f1c2772d
4 changed files with 5 additions and 2 deletions
|
|
@ -109,7 +109,7 @@ class Fixed(Static):
|
|||
return self.variance * self.fixed_K
|
||||
|
||||
def Kdiag(self, X):
|
||||
return self.variance * self.fixed_K.diag()
|
||||
return self.variance * self.fixed_K.diagonal()
|
||||
|
||||
def update_gradients_full(self, dL_dK, X, X2=None):
|
||||
self.variance.gradient = np.einsum('ij,ij', dL_dK, self.fixed_K)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue