mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-21 14:05:14 +02:00
removed ipdb statement from kern, cleaned up some nasty whitespace
This commit is contained in:
parent
6673a8ae02
commit
db9e5314e4
1 changed files with 21 additions and 23 deletions
|
|
@ -492,7 +492,6 @@ class kern(Parameterized):
|
|||
eK2 = psi12.reshape(N, M, M)
|
||||
crossterms = eK2 * (psi11[:, :, None] + psi11[:, None, :])
|
||||
target += crossterms
|
||||
#import ipdb;ipdb.set_trace()
|
||||
else:
|
||||
raise NotImplementedError, "psi2 cannot be computed for this kernel"
|
||||
return target
|
||||
|
|
@ -863,7 +862,6 @@ def kern_test(kern, X=None, X2=None, output_ind=None, verbose=False, X_positive=
|
|||
if output_ind is not None:
|
||||
assert(output_ind<kern.input_dim)
|
||||
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