mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-05 14:55:15 +02:00
gamma noise added
This commit is contained in:
parent
5b433a3f73
commit
ddf64629ae
5 changed files with 91 additions and 9 deletions
|
|
@ -87,7 +87,7 @@ class Binomial(NoiseDistribution):
|
|||
Mass (or density) function
|
||||
"""
|
||||
p = self.gp_link.transf(gp)
|
||||
return p*(1-p)
|
||||
return p*(1.-p)
|
||||
|
||||
def _dvariance_dgp(self,gp):
|
||||
return self.gp_link.dtransf_df(gp)*(1. - 2.*self.gp_link.transf(gp))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue