diff --git a/sklearnex/linear_model/tests/test_logreg.py b/sklearnex/linear_model/tests/test_logreg.py index 4b47b2c517..8ee05cd8b5 100755 --- a/sklearnex/linear_model/tests/test_logreg.py +++ b/sklearnex/linear_model/tests/test_logreg.py @@ -129,5 +129,5 @@ def test_csr(queue, dtype, dims): assert_allclose(pred, pred_sp) assert_allclose(prob, prob_sp) - assert_allclose(model.coef_, model_sp.coef_) - assert_allclose(model.intercept_, model_sp.intercept_) + assert_allclose(model.coef_, model_sp.coef_, rtol=1e-4) + assert_allclose(model.intercept_, model_sp.intercept_, rtol=1e-4)