Skip to content

TST use global_random_seed in sklearn/decomposition/tests/test_truncated_svd.py #30922

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

Merged
merged 6 commits into from
Mar 18, 2025

Conversation

Rishab260
Copy link
Contributor

@Rishab260 Rishab260 commented Mar 2, 2025

Reference Issues/PRs

towards #22827

What does this implement/fix? Explain your changes.

I added the global_random_seed fixture to the tests:-

  • test_singular_values_consistency
  • test_singular_values_expected

Any other comments?

New to this project, your feedback is highly appreciated.

test_singular_values_consistency
test_singular_values_expected
Copy link

github-actions bot commented Mar 2, 2025

✔️ Linting Passed

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

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

Rishab260 and others added 4 commits March 3, 2025 11:55
test_singular_values_consistency
test_singular_values_expected
test_singular_values_consistency
test_singular_values_expected
@adrinjalali adrinjalali merged commit d1d6d88 into scikit-learn:main Mar 18, 2025
34 of 35 checks passed
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