Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

TST use global_random_seed in sklearn/feature_extraction/tests/test_image.py #31310

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
Loading
from

Conversation

TheAyos
Copy link
Contributor

@TheAyos TheAyos commented May 5, 2025

Hello :)

Reference Issues/PRs

This aims to solve the PR #22827 with regard to the mentioned test file.

What does this implement/fix? Explain your changes.

I added some additional global_random_seed's to replace the previously hardcoded random_state's and RandomState()'s.

Any other comments?

Running pytest on this test file before and after the edit yields similar results, in a similar runtime.

Copy link

github-actions bot commented May 5, 2025

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: d74af20. Link to the linter CI: here

@TheAyos TheAyos marked this pull request as ready for review May 5, 2025 20:08
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.

1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.