more fixing of the predictive variance (correct for full_cov now)

This commit is contained in:
James Hensman 2013-03-13 10:37:46 +00:00
parent e9508b40f9
commit 128b2b90ef
3 changed files with 19 additions and 7 deletions

View file

@ -33,7 +33,9 @@ class EP(likelihood):
self.Z = 0
self.YYT = None
def predictive_values(self,mu,var):
def predictive_values(self,mu,var,full_cov):
if full_cov:
raise NotImplementedError, "Cannot make correlated predictions with an EP likelihood"
return self.likelihood_function.predictive_values(mu,var)
def _get_params(self):