corrected the predictive variance for Gaussian likelihoods

This commit is contained in:
James Hensman 2013-03-13 09:58:39 +00:00
parent 9d27c920e0
commit eb82d6a255
4 changed files with 12 additions and 7 deletions

View file

@ -179,7 +179,7 @@ class GP(model):
mu, var = self._raw_predict(Xnew, slices, full_cov)
#now push through likelihood TODO
mean, _025pm, _975pm = self.likelihood.predictive_values(mu, var)
mean, var, _025pm, _975pm = self.likelihood.predictive_values(mu, var)
return mean, var, _025pm, _975pm