From fae84d64976795ba8d865a916eeba3008fccb0b6 Mon Sep 17 00:00:00 2001 From: James Hensman Date: Thu, 6 Jun 2013 16:27:39 +0100 Subject: [PATCH] fixed a transpose bug in the sparse GP prediction --- GPy/core/sparse_gp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPy/core/sparse_gp.py b/GPy/core/sparse_gp.py index 37e6a341..3183cff0 100644 --- a/GPy/core/sparse_gp.py +++ b/GPy/core/sparse_gp.py @@ -236,7 +236,7 @@ class SparseGP(GPBase): else: # assert which_p.Tarts=='all', "swithching out parts of variational kernels is not implemented" Kx = self.kern.psi1(self.Z, Xnew, X_variance_new) # , which_parts=which_parts) TODO: which_parts - mu = np.dot(Kx.T, self.Cpsi1V) + mu = np.dot(Kx, self.Cpsi1V) if full_cov: raise NotImplementedError, "TODO" else: