-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
TST use global_random_seed in sklearn/decomposition/tests/test_kernel_pca.py #30518
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
TST use global_random_seed in sklearn/decomposition/tests/test_kernel_pca.py #30518
Conversation
/test_kernel_pca.py
Please push an extra empty commit to this PR to trigger the updated tests with all admissible random seeds on all CI runners as documented in #28959. |
Will do! |
test_kernel_pca test_kernel_pca_consistent_transform test_kernel_pca_deterministic_output test_kernel_pca_sparse test_kernel_pca_linear_kernel test_kernel_pca_n_components test_kernel_pca_precomputed test_kernel_pca_inverse_correct_gamma
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks @pedro9olivares
Congrats on your first merge in scikit-learn, @pedro9olivares! |
Hi!
I'm opening this PR in regards to this issue.
Modified the following functions:
Added an additional argument "global_random_seed" for the RandomState which was previously hardcoded.