diff --git a/GPy/models/GP.py b/GPy/models/GP.py index b518ce4e..e6c4c1d6 100644 --- a/GPy/models/GP.py +++ b/GPy/models/GP.py @@ -173,7 +173,7 @@ class GP(model): """ # normalize X values Xnew = (Xnew.copy() - self._Xmean) / self._Xstd - mu, var = self._raw_predict(Xnew, which_parts, full_cov) + mu, var = self._raw_predict(Xnew, full_cov=full_cov, which_parts=which_parts) # now push through likelihood mean, var, _025pm, _975pm = self.likelihood.predictive_values(mu, var, full_cov) diff --git a/GPy/models/sparse_GP.py b/GPy/models/sparse_GP.py index 6eb6fb49..8605e2a8 100644 --- a/GPy/models/sparse_GP.py +++ b/GPy/models/sparse_GP.py @@ -245,5 +245,3 @@ class sparse_GP(GP): var = Kxx - np.sum(np.sum(psi2*Kmmi_LmiBLmi[None,:,:],1),1) return mu, var[:, None] - -