Skip to content

Commit

Permalink
Logistic Regression CI fix (#2013) (#2017)
Browse files Browse the repository at this point in the history
* increase tolerance

* increase tolerance

* increase tolerance

(cherry picked from commit d7a2f92)

Co-authored-by: msa <[email protected]>
  • Loading branch information
mergify[bot] and md-shafiul-alam authored Aug 28, 2024
1 parent dd305dc commit ae3c3a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sklearnex/linear_model/tests/test_logreg.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit ae3c3a5

Please sign in to comment.