Skip to content

Commit

Permalink
Fix approx.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Apr 29, 2021
1 parent d6bf521 commit 0f0369d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/python/test_with_dask.py
Original file line number Diff line number Diff line change
@@ -1027,6 +1027,9 @@ def run_updater_test(
def is_stump():
return params["max_depth"] == 1 or params["max_leaves"] == 1

def minimum_bin():
return "max_bin" in params and params["max_bin"] == 2

if params["max_bin"] == 2 and is_stump():
assert tm.non_increasing(history, tolerance=1e-3)
else:

0 comments on commit 0f0369d

Please sign in to comment.