Skip to content

[WIP] TST use global_random_seed in sklearn/linear_model/tests/test_base.py #23464

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

svenstehle
Copy link
Contributor

@svenstehle svenstehle commented May 25, 2022

EDIT: I forgot to check out a new branch xD disregard this until fixed

Reference Issues/PRs

Partially addresses #22827

What does this implement/fix? Explain your changes.

Added global_random_seed to test_linear_regression_sample_weights - it fails on more than a few seeds. Did not address this yet.

Any other comments?

While I work on fixing this, I am happy to receive comments and ideas on how to handle this file in general sklearn/linear_model/tests/test_base.py - should we refactor and fix all the tests in one PR or tackle one test after the other in separate PRs?
E.g. creating a thread for the file and then I will tackle test after test as a Task-List?

@svenstehle svenstehle closed this May 25, 2022
@svenstehle svenstehle deleted the tst-global_random_seed-sklearn-linear_model-tests-test_base branch May 25, 2022 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants