mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-02 00:02:38 +02:00
fixed bug in rbf_ARD kernel (dK_dX)
This commit is contained in:
parent
fb8cfc8f34
commit
f2d6a8a171
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ class rbf_ARD(kernpart):
|
|||
def dKdiag_dtheta(self,X,target):
|
||||
target[0] += np.sum(partial)
|
||||
|
||||
def dK_dX(self,X,X2,target):
|
||||
def dK_dX(self,partial,X,X2,target):
|
||||
self._K_computations(X,X2)
|
||||
dZ = self.variance*self._K_dvar[:,:,None]*self._K_dist/self.lengthscales2
|
||||
dK_dX = -dZ.transpose(1,0,2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue