Skip to content

Commit 446c0ce

Browse files
committed
Loosened the LANDO online tests
1 parent 29a28cf commit 446c0ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_lando.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def test_online_1():
254254
lando_online = LANDO(online=True, **lando_params)
255255
lando_online.fit(X, Y)
256256

257-
assert relative_error(lando_online.f(X), lando.f(X)) < 1e-6
257+
assert relative_error(lando_online.f(X), lando.f(X)) < 1e-5
258258

259259

260260
def test_online_2():
@@ -270,7 +270,7 @@ def test_online_2():
270270
lando_online.fit(X[:, :batch_split], Y[:, :batch_split])
271271
lando_online.update(X[:, batch_split:], Y[:, batch_split:])
272272

273-
assert relative_error(lando_online.f(X), lando.f(X)) < 1e-6
273+
assert relative_error(lando_online.f(X), lando.f(X)) < 1e-5
274274

275275

276276
def test_online_3():

0 commit comments

Comments
 (0)