8000 MAINT adjust tolerance in test_balance_property (#25098) · scikit-learn/scikit-learn@1bf8da5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1bf8da5

Browse files
ogriseladrinjalali
authored andcommitted
MAINT adjust tolerance in test_balance_property (#25098)
1 parent a6598bd commit 1bf8da5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/linear_model/tests/test_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def test_balance_property(model, with_sample_weight, global_random_seed):
9898
):
99 5D19 99
pytest.skip("Estimator does not support sample_weight.")
100100

101-
rel = 1e-4 # test precision
101+
rel = 2e-4 # test precision
102102
if isinstance(model, SGDRegressor):
103103
rel = 1e-1
104104
elif hasattr(model, "solver") and model.solver == "saga":

0 commit comments

Comments
 (0)
0