question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

test_ridge_regression_vstacked_X is not stable

See original GitHub issue

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jeremiedbbcommented, Apr 4, 2022

If sag uses BLAS, it’s possible that rounding errors accumulate differently because of the multi-threading, (or maybe it’s in the construction of the test).

0reactions
TomDLTcommented, Apr 4, 2022

I got an error on test_ridge_regression_vstacked_X[long-16-False-sag], second time on test_ridge_regression_vstacked_X[long-63-True-sag], then no error running the tests 5 times, then error on test_ridge_regression_vstacked_X[wide-75-True-sag], …

Is it possible that Ridge(solver=“sag”) is not completely deterministic even on fixed random_state ?

It should not be the case, so there seems to be a bug.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found