8000 changed atol to 0.03 · scikit-learn/scikit-learn@f74d2f9 · GitHub
[go: up one dir, main page]

Skip to content

Commit f74d2f9

Browse files
committed
changed atol to 0.03
1 parent d9db047 commit f74d2f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sklearn/linear_model/tests/test_ridge.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -862,10 +862,10 @@ def test_ridge_regression_check_arguments_validity(return_intercept,
862862
)
863863
if return_intercept:
864864
coef, intercept = target
865-
assert_allclose(coef, true_coefs, atol=0.1)
866-
assert_allclose(intercept, 0, atol=0.1)
865+
assert_allclose(coef, true_coefs, atol=0.03)
866+
assert_allclose(intercept, 0, atol=0.03)
867867
else:
868-
assert_allclose(target, true_coefs, atol=0.1)
868+
assert_allclose(target, true_coefs, atol=0.03)
869869

870870

871871
def test_ridge_regression_warns_with_return_intercept():

0 commit comments

Comments
 (0)
0