Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ziatdinovmax committed Feb 23, 2024
1 parent 25922cf commit 9284cb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_acq.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ def test_acq_dkl(acq):
rng_keys = get_keys()
X = onp.random.randn(12, 8)
y = onp.random.randn(12,)
X_new = onp.random.randn(10, 8)[None]
X_new = onp.random.randn(10, 8)
m = DKL(X.shape[-1], 2, 'RBF')
m.fit(rng_keys[0], X, y, num_samples=5, num_warmup=5)
obj = acq(rng_keys[1], m, X_new, subsample_size=4)
assert_equal(obj.shape, (X_new.shape[1],))
assert_equal(obj.shape, (X_new.shape[0],))


def test_UCB_beta():
Expand Down

0 comments on commit 9284cb5

Please sign in to comment.