mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-18 13:55:14 +02:00
Added binomial likelihood
Also some changes to pass through Y_metadata, where it had previously been (errorneously) omitted.
This commit is contained in:
parent
89b8b0d298
commit
48821a6b73
5 changed files with 133 additions and 14 deletions
|
|
@ -43,7 +43,7 @@ class SVGP(LatentFunctionInference):
|
|||
|
||||
|
||||
#quadrature for the likelihood
|
||||
F, dF_dmu, dF_dv, dF_dthetaL = likelihood.variational_expectations(Y, mu, v)
|
||||
F, dF_dmu, dF_dv, dF_dthetaL = likelihood.variational_expectations(Y, mu, v, Y_metadata=Y_metadata)
|
||||
|
||||
#rescale the F term if working on a batch
|
||||
F, dF_dmu, dF_dv = F*batch_scale, dF_dmu*batch_scale, dF_dv*batch_scale
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue