tidying in likelihoods

This commit is contained in:
James Hensman 2014-03-10 08:34:03 +00:00
parent 2876e5a07a
commit 5c7caef885
4 changed files with 23 additions and 53 deletions

View file

@ -25,8 +25,11 @@ class Poisson(Likelihood):
super(Poisson, self).__init__(gp_link, name='Poisson')
def _preprocess_values(self,Y):
return Y
def _conditional_mean(self, f):
"""
the expected value of y given a value of f
"""
return self.gp_link.transf(gp)
def pdf_link(self, link_f, y, Y_metadata=None):
"""