mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-12 05:22:38 +02:00
Bug in prod-coreg kernels fixed, not in the most elegant way though
This commit is contained in:
parent
b47f9a1b06
commit
99c3af63c4
2 changed files with 13 additions and 7 deletions
|
|
@ -259,9 +259,6 @@ class SparseGP(GPBase):
|
|||
The derivative of the bound wrt the inducing inputs Z
|
||||
"""
|
||||
dL_dZ = self.kern.dK_dX(self.dL_dKmm, self.Z)
|
||||
if hasattr(self,'multioutput'):
|
||||
dL_dZ = dL_dZ*2 #NOTE Yes, this looks weird... but it works
|
||||
|
||||
if self.has_uncertain_inputs:
|
||||
dL_dZ += self.kern.dpsi1_dZ(self.dL_dpsi1, self.Z, self.X, self.X_variance)
|
||||
dL_dZ += self.kern.dpsi2_dZ(self.dL_dpsi2, self.Z, self.X, self.X_variance)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue