[sparse gp] prediction without missing data and uncertain inputs was bugged

This commit is contained in:
mzwiessele 2015-02-26 13:51:47 +00:00
parent 924899069e
commit fc4b38fe59

View file

@ -149,7 +149,7 @@ class SparseGP(GP):
var_ = mdot(la.T, tmp, la) var_ = mdot(la.T, tmp, la)
p0 = psi0_star[i] p0 = psi0_star[i]
t = self.posterior.woodbury_inv t = np.atleast_3d(self.posterior.woodbury_inv)
t2 = np.trace(t.T.dot(psi2_star), axis1=1, axis2=2) t2 = np.trace(t.T.dot(psi2_star), axis1=1, axis2=2)
if full_cov: if full_cov: