mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-24 14:15:14 +02:00
sparseGPLVM demo now working
This commit is contained in:
parent
ba84a43ea3
commit
31b7a0520e
4 changed files with 8 additions and 11 deletions
|
|
@ -194,7 +194,7 @@ class kern(parameterised):
|
|||
[p.dKdiag_dtheta(partial[s],X[s,i_s],target[ps]) for p,i_s,s,ps in zip(self.parts,self.input_slices,slices,self.param_slices)]
|
||||
return target
|
||||
|
||||
def dKdiag_dX(self, X, slices=None):
|
||||
def dKdiag_dX(self, partial, X, slices=None):
|
||||
assert X.shape[1]==self.D
|
||||
slices = self._process_slices(slices,False)
|
||||
target = np.zeros_like(X)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue