mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-08 11:32:39 +02:00
add kernel has its own gradients update
This commit is contained in:
parent
7adf5217f2
commit
ecccf0cbbf
1 changed files with 0 additions and 3 deletions
|
|
@ -46,9 +46,6 @@ class Add(CombinationKernel):
|
|||
def update_gradients_diag(self, dL_dK, X):
|
||||
[p.update_gradients_diag(dL_dK, X) for p in self.parts]
|
||||
|
||||
def update_gradients_diag(self, dL_dKdiag, X):
|
||||
[p.update_gradients_diag(dL_dKdiag, X[:,i_s]) for p, i_s in zip(self._parameters_, self.input_slices)]
|
||||
|
||||
def gradients_X(self, dL_dK, X, X2=None):
|
||||
"""Compute the gradient of the objective function with respect to X.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue