plot function got broken with last commit, this fixes it.

This commit is contained in:
Ricardo 2013-05-22 12:10:52 +01:00
parent c2b7936ebd
commit f00d23fb30
2 changed files with 1 additions and 3 deletions

View file

@ -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)

View file

@ -245,5 +245,3 @@ class sparse_GP(GP):
var = Kxx - np.sum(np.sum(psi2*Kmmi_LmiBLmi[None,:,:],1),1)
return mu, var[:, None]