mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-10 12:32:40 +02:00
[GPU] varDTC_gpu ready
This commit is contained in:
parent
ddbf15d763
commit
a702b0862b
4 changed files with 52 additions and 113 deletions
|
|
@ -42,7 +42,8 @@ class SSGPLVM(SparseGP):
|
|||
X_variance = np.random.uniform(0,.1,X.shape)
|
||||
|
||||
gamma = np.empty_like(X, order='F') # The posterior probabilities of the binary variable in the variational approximation
|
||||
gamma[:] = 0.5 + 0.01 * np.random.randn(X.shape[0], input_dim)
|
||||
#gamma[:] = 0.5 + 0.01 * np.random.randn(X.shape[0], input_dim)
|
||||
gamma[:] = 0.5
|
||||
|
||||
if group_spike:
|
||||
gamma[:] = gamma.mean(axis=0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue