Skip to content

Commit

Permalink
relax tolerance for the second place comparing intercept
Browse files Browse the repository at this point in the history
  • Loading branch information
lijinf2 committed Dec 10, 2024
1 parent 19b2970 commit acdcd2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tests/test_logistic_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ def test_compat(
tolerance,
)
assert isinstance(blor_model.interceptVector, DenseVector)
assert array_equal(blor_model.interceptVector.toArray(), [0.0])
assert array_equal(blor_model.interceptVector.toArray(), [0.0], tolerance)

example = bdf.head()
if example:
Expand Down

0 comments on commit acdcd2c

Please sign in to comment.