added some tips to the readme

This commit is contained in:
James Hensman 2013-11-27 12:30:19 +00:00
parent ea05ba54bf
commit f9fa378aa0
2 changed files with 26 additions and 0 deletions

View file

@ -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: