Repository navigation
TST adapt tol for ridge tests to pass on all random seeds - #23017
Conversation
|
@jeremiedbb Is there a way to run CI with |
Nope. I'm currently working on it :) |
|
|
||
| assert_allclose(dense_ridge.intercept_, sparse_ridge.intercept_) | ||
| assert_allclose(dense_ridge.coef_, sparse_ridge.coef_) | ||
| assert_allclose(dense_ridge.coef_, sparse_ridge.coef_, rtol=5e-7) |
There was a problem hiding this comment.
Was this change required for test_ridge_fit_intercept_sparse to locally pass for you?
There was a problem hiding this comment.
Yes, to pass for all random seeds.
|
In |
test_ridge_regression_unpenalized_vstacked_X test_ridge_fit_intercept_sparse
test_ridge_regression_vstacked_X test_ridge_fit_intercept_sparse
|
Let's merge both |
Reference Issues/PRs
Fixed #23014.
What does this implement/fix? Explain your changes.
Adapts tolerances to let ridge tests pass on all random seeds
Any other comments?
On my machine, the following passes: