Skip to content

Conversation

@OmarManzoor
Copy link
Contributor

Reference Issues/PRs

Towards: #22827

What does this implement/fix? Explain your changes.

  • Added the global_random_seed fixture in test_dbscan.py
  • The only addition is in test_weighted_dbscan.

Any other comments?

Copy link
Member

@ogrisel ogrisel left a comment

Choose a reason for hiding this comment

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

I checked locally that:

SKLEARN_TESTS_GLOBAL_RANDOM_SEED="all" pytest -v -k test_weighted_dbscan sklearn/cluster/tests/test_dbscan.py

works.

Thanks for the fix!

@ogrisel ogrisel merged commit 625650f into scikit-learn:main Oct 17, 2022
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Oct 31, 2022
@OmarManzoor OmarManzoor deleted the test_dbscan_global_random_seed branch April 3, 2023 10: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.

3 participants