Merge branch 'devel' of github.com:/sheffieldml/GPy into mean_functions

This commit is contained in:
James Hensman 2015-03-25 16:48:24 +00:00
commit 254157ce04
6 changed files with 50 additions and 6 deletions

View file

@ -48,6 +48,8 @@ class SVGP(LatentFunctionInference):
#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
if dF_dthetaL is not None:
dF_dthetaL = dF_dthetaL.sum(1)*batch_scale
#derivatives of expected likelihood
Adv = A.T[:,:,None]*dF_dv[None,:,:] # As if dF_Dv is diagonal