Skip to content

Commit 9445adc

Browse files
committed
atol
Signed-off-by: xadupre <[email protected]>
1 parent 2630821 commit 9445adc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/xgboost/test_xgboost_converters.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -653,12 +653,12 @@ def test_xgb_cost(self):
653653
y = oinf.run(None, {"X": X_test.astype(np.float32)})
654654
if cl == XGBRegressor:
655655
exp = clr.predict(X_test)
656-
assert_almost_equal(exp, y[0].ravel(), decimal=5)
656+
assert_almost_equal(exp, y[0].ravel(), decimal=4)
657657
else:
658658
if "softmax" not in obj:
659659
exp = clr.predict_proba(X_test)
660660
got = pandas.DataFrame(y[1]).values
661-
assert_almost_equal(exp, got, decimal=5)
661+
assert_almost_equal(exp, got, decimal=4)
662662

663663
exp = clr.predict(X_test[:10])
664664
assert_almost_equal(exp, y[0][:10])

0 commit comments

Comments
 (0)