mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-15 06:52:39 +02:00
switch psi2 statistics design
This commit is contained in:
parent
7d41001ae1
commit
06336bf0d4
12 changed files with 245 additions and 124 deletions
|
|
@ -8,7 +8,7 @@ import numpy as np
|
|||
from GPy.util.pca import pca
|
||||
|
||||
def initialize_latent(init, input_dim, Y):
|
||||
Xr = np.random.randn(Y.shape[0], input_dim)
|
||||
Xr = np.asfortranarray(np.random.randn(Y.shape[0], input_dim))
|
||||
if init == 'PCA':
|
||||
p = pca(Y)
|
||||
PC = p.project(Y, min(input_dim, Y.shape[1]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue