mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-01 15:52:39 +02:00
psi statistics working for linear ARD kernel
This commit is contained in:
parent
2e948d888a
commit
baa06181e8
3 changed files with 16 additions and 8 deletions
|
|
@ -17,7 +17,7 @@ K = k.K(X)
|
|||
Y = np.random.multivariate_normal(np.zeros(N),K,D).T
|
||||
|
||||
# k = GPy.kern.rbf(Q) + GPy.kern.bias(Q) + GPy.kern.white(Q, 0.00001)
|
||||
k = GPy.kern.linear(Q, ARD = False) + GPy.kern.white(Q, 0.00001)
|
||||
k = GPy.kern.linear(Q, ARD = True) + GPy.kern.white(Q, 0.00001)
|
||||
m = GPy.models.Bayesian_GPLVM(Y, Q, kernel = k, M=M)
|
||||
m.constrain_positive('(rbf|bias|noise|white|S)')
|
||||
# m.constrain_fixed('S', 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue