mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-12 05:22:38 +02:00
debugging BGPLVM
This commit is contained in:
parent
151c426a3a
commit
bf2d641112
3 changed files with 21 additions and 19 deletions
|
|
@ -47,6 +47,10 @@ class bias(kernpart):
|
|||
def dKdiag_dX(self,partial,X,target):
|
||||
pass
|
||||
|
||||
#---------------------------------------#
|
||||
# PSI statistics #
|
||||
#---------------------------------------#
|
||||
|
||||
def psi0(self, Z, mu, S, target):
|
||||
target += self.variance
|
||||
|
||||
|
|
@ -59,27 +63,27 @@ class bias(kernpart):
|
|||
def dpsi0_dtheta(self, partial, Z, mu, S, target):
|
||||
target += partial.sum()
|
||||
|
||||
def dpsi1_dtheta(self, partial, Z, mu, S, target):
|
||||
target += partial.sum()
|
||||
|
||||
def dpsi2_dtheta(self, partial, Z, mu, S, target):
|
||||
target += 2.*self.variance*partial.sum()
|
||||
|
||||
|
||||
def dpsi0_dZ(self, partial, Z, mu, S, target):
|
||||
pass
|
||||
|
||||
def dpsi0_dmuS(self, partial, Z, mu, S, target_mu, target_S):
|
||||
pass
|
||||
|
||||
def dpsi1_dtheta(self, partial, Z, mu, S, target):
|
||||
target += partial.sum()
|
||||
|
||||
def dpsi1_dZ(self, partial, Z, mu, S, target):
|
||||
pass
|
||||
|
||||
def dpsi1_dmuS(self, partial, Z, mu, S, target_mu, target_S):
|
||||
pass
|
||||
|
||||
def dpsi2_dtheta(self, partial, Z, mu, S, target):
|
||||
target += np.sum(2.*self.variance*partial)
|
||||
|
||||
def dpsi2_dZ(self, partial, Z, mu, S, target):
|
||||
pass
|
||||
|
||||
def dpsi2_dmuS(self, partial, Z, mu, S, target_mu, target_S):
|
||||
pass
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue