mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-09 03:52:39 +02:00
fixed bug in linear_ARD
This commit is contained in:
parent
cf6332d164
commit
46754db658
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ class linear_ARD(kernpart):
|
|||
target += (partial[:,:,None]*product).sum(0).sum(0)
|
||||
|
||||
def dK_dX(self,partial,X,X2,target):
|
||||
target += (((X[:, None, :] * self.variances) + target) * partial[:,:, None]).sum(0)
|
||||
target += (((X2[:, None, :] * self.variances)) * partial[:,:, None]).sum(0)
|
||||
|
||||
def psi0(self,Z,mu,S,target):
|
||||
expected = np.square(mu) + S
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue