mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-13 22:12:38 +02:00
fixed a transpose bug in the sparse GP prediction
This commit is contained in:
parent
0715baa0c8
commit
fae84d6497
1 changed files with 1 additions and 1 deletions
|
|
@ -236,7 +236,7 @@ class SparseGP(GPBase):
|
||||||
else:
|
else:
|
||||||
# assert which_p.Tarts=='all', "swithching out parts of variational kernels is not implemented"
|
# assert which_p.Tarts=='all', "swithching out parts of variational kernels is not implemented"
|
||||||
Kx = self.kern.psi1(self.Z, Xnew, X_variance_new) # , which_parts=which_parts) TODO: which_parts
|
Kx = self.kern.psi1(self.Z, Xnew, X_variance_new) # , which_parts=which_parts) TODO: which_parts
|
||||||
mu = np.dot(Kx.T, self.Cpsi1V)
|
mu = np.dot(Kx, self.Cpsi1V)
|
||||||
if full_cov:
|
if full_cov:
|
||||||
raise NotImplementedError, "TODO"
|
raise NotImplementedError, "TODO"
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue