mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-15 06:52:39 +02:00
spellings
This commit is contained in:
parent
e03b828466
commit
4fb4a38cd1
1 changed files with 3 additions and 3 deletions
|
|
@ -169,6 +169,8 @@ class RBF(Kern):
|
|||
dZ = self._psi2[:, :, :, None] * (term1[None] + term2)
|
||||
grad += (dL_dpsi2[:, :, :, None] * dZ).sum(0).sum(0)
|
||||
|
||||
grad += self.gradients_X(dL_dKmm, Z, None)
|
||||
|
||||
return grad
|
||||
|
||||
def gradients_muS_variational(self, dL_dKmm, dL_dpsi0, dL_dpsi1, dL_dpsi2, mu, S, Z):
|
||||
|
|
@ -184,8 +186,6 @@ class RBF(Kern):
|
|||
|
||||
return grad_mu, grad_S
|
||||
|
||||
|
||||
|
||||
def gradients_X(self, dL_dK, X, X2=None):
|
||||
#if self._X is None or X.base is not self._X.base or X2 is not None:
|
||||
self._K_computations(X, X2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue