Skip to content

Commit

Permalink
Relax optimizer complexity test.
Browse files Browse the repository at this point in the history
  • Loading branch information
briandesilva committed May 4, 2020
1 parent fe286f5 commit 695d957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/property_tests/test_optimizers_complexity.py
Expand Up @@ -62,7 +62,7 @@ def test_complexity(n_samples, n_features, n_informative, random_state):
for less_complex, more_complex in zip(complexities, complexities[1:]):
# relax the condition to account for
# noise and non-normalized threshold parameters
assert less_complex <= more_complex + 2
assert less_complex <= more_complex + 5


@pytest.mark.parametrize(
Expand Down

0 comments on commit 695d957

Please sign in to comment.