sparse GP regression now working on this branch

This commit is contained in:
James Hensman 2012-11-30 11:47:35 +00:00
parent 5ba2099ee9
commit ba84a43ea3
5 changed files with 34 additions and 26 deletions

View file

@ -42,13 +42,13 @@ class white(kernpart):
if np.all(X==X2):
target += np.trace(partial)
def dKdiag_dtheta(self,X,target):
np.add(target[:,0],1.,target[:,0])
def dKdiag_dtheta(self,partial,X,target):
target += np.sum(partial)
def dK_dX(self,partial,X,X2,target):
pass
def dKdiag_dX(self,X,target):
def dKdiag_dX(self,partial,X,target):
pass
def psi0(self,Z,mu,S,target):