mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-04 01:02:39 +02:00
sqrt pi term was missing in variational expectations
This commit is contained in:
parent
60fabe41e2
commit
24e759199e
1 changed files with 1 additions and 1 deletions
|
|
@ -267,7 +267,7 @@ class Likelihood(Parameterized):
|
|||
|
||||
if self.size:
|
||||
dF_dtheta = self.dlogpdf_dtheta(X, Y[:,None]) # Ntheta x (orig size) x N_{quad_points}
|
||||
dF_dtheta = np.dot(dF_dtheta, gh_w)
|
||||
dF_dtheta = np.dot(dF_dtheta, gh_w)/np.sqrt(np.pi)
|
||||
dF_dtheta = dF_dtheta.reshape(self.size, shape[0], shape[1])
|
||||
else:
|
||||
dF_dtheta = None # Not yet implemented
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue