mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-18 13:55:14 +02:00
added some tips to the readme
This commit is contained in:
parent
ea05ba54bf
commit
f9fa378aa0
2 changed files with 26 additions and 0 deletions
|
|
@ -862,6 +862,7 @@ def kern_test(kern, X=None, X2=None, output_ind=None, verbose=False, X_positive=
|
|||
X = abs(X)
|
||||
if output_ind is not None:
|
||||
X[:, output_ind] = np.random.randint(low=0,high=kern.parts[0].output_dim, size=X.shape[0])
|
||||
import ipdb; ipdb.set_trace()
|
||||
if X2==None:
|
||||
X2 = np.random.randn(20, kern.input_dim)
|
||||
if X_positive:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue