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

@ -51,7 +51,7 @@ class Gaussian(likelihood):
true_var = (var + self._variance)*self._std**2
_5pc = mean + - 2.*np.sqrt(true_var)
_95pc = mean + 2.*np.sqrt(true_var)
return mean, _5pc, _95pc
return mean, true_var, _5pc, _95pc
def fit_full(self):
"""