FIxed a transpose bug in sparse_GPLVM

This commit is contained in:
James Hensman 2013-03-11 11:06:08 +00:00
parent e75b566f1e
commit 1d98d0a718

View file

@ -43,7 +43,7 @@ class sparse_GPLVM(sparse_GP_regression, GPLVM):
def dL_dX(self):
dL_dX = self.kern.dKdiag_dX(self.dL_dpsi0,self.X)
dL_dX += self.kern.dK_dX(self.dL_dpsi1,self.X,self.Z)
dL_dX += self.kern.dK_dX(self.dL_dpsi1.T,self.X,self.Z)
return dL_dX