mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-10 20:42:39 +02:00
sqrt(pi) term fix in Bernoulli
This commit is contained in:
parent
2d14f1608d
commit
60b5f071b4
1 changed files with 1 additions and 0 deletions
|
|
@ -85,6 +85,7 @@ class Bernoulli(Likelihood):
|
|||
gh_x, gh_w = gh_points
|
||||
|
||||
|
||||
gh_w = gh_w / np.sqrt(np.pi)
|
||||
shape = m.shape
|
||||
m,v,Y = m.flatten(), v.flatten(), Y.flatten()
|
||||
Ysign = np.where(Y==1,1,-1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue