mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-02 14:45:15 +02:00
tidying in likelihoods
This commit is contained in:
parent
2876e5a07a
commit
5c7caef885
4 changed files with 23 additions and 53 deletions
|
|
@ -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):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue