Skip to content

Conversation

@ogrisel
Copy link
Member

@ogrisel ogrisel commented Jan 11, 2023

Follow-up on #25345 to:

  • make sure all calls to make_classification in tests are seeded,
  • use global_random_seed when appropriate.

I ran the impacted tests with SKLEARN_TESTS_GLOBAL_RANDOM_SEED=all locally.

@ogrisel ogrisel added No Changelog Needed Quick Review For PRs that are quick to review labels Jan 11, 2023
Copy link
Member

@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@ogrisel
Copy link
Member Author

ogrisel commented Jan 11, 2023

Ooops I should have re-run the full test suite locally. Let me fix this.

ogrisel and others added 2 commits January 11, 2023 15:26
test_multinomial_binary_probabilities
test_finite_differences
@ogrisel
Copy link
Member Author

ogrisel commented Jan 11, 2023

Thanks @jeremiedbb for the [all random seeds] commit. CI is really green now :)

@jeremiedbb jeremiedbb merged commit 5b23a2d into scikit-learn:main Jan 11, 2023
@ogrisel ogrisel deleted the always-seed-make_classification-in-tests branch January 11, 2023 15:28
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Jan 12, 2023
jjerphan pushed a commit to jjerphan/scikit-learn that referenced this pull request Jan 20, 2023
jjerphan pushed a commit to jjerphan/scikit-learn that referenced this pull request Jan 20, 2023
jjerphan pushed a commit to jjerphan/scikit-learn that referenced this pull request Jan 23, 2023
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.

3 participants