mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-14 22:42:37 +02:00
[ssgplvm] implement IBP prior
This commit is contained in:
parent
21a39ffb87
commit
afa0621488
4 changed files with 34 additions and 31 deletions
|
|
@ -208,8 +208,7 @@ class GP(Model):
|
|||
Kxx = kern.Kdiag(_Xnew)
|
||||
var = Kxx - np.sum(WiKx*Kx, 0)
|
||||
var = var.reshape(-1, 1)
|
||||
|
||||
var[var<0.] = 0.
|
||||
var[var<0.] = 0.
|
||||
|
||||
#force mu to be a column vector
|
||||
if len(mu.shape)==1: mu = mu[:,None]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue