switch psi2 statistics design

This commit is contained in:
Zhenwen Dai 2014-05-06 16:30:17 +01:00
parent 7d41001ae1
commit 06336bf0d4
12 changed files with 245 additions and 124 deletions

View file

@ -115,7 +115,7 @@ class Kern(Parameterized):
"""
raise NotImplementedError
def gradients_Z_expectations(self, dL_dpsi1, dL_dpsi2, Z, variational_posterior):
def gradients_Z_expectations(self, dL_dpsi0, dL_dpsi1, dL_dpsi2, Z, variational_posterior):
"""
Returns the derivative of the objective wrt Z, using the chain rule
through the expectation variables.