Skip to content

Navigation Menu

Sign in
Appearance settings

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

Fix tolerance for seed-sensitive test test_pca_solver_equivalence #28961

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

Conversation

ogrisel
Copy link
Member

@ogrisel ogrisel commented May 6, 2024

Fixes #28953.

Copy link

github-actions bot commented May 6, 2024

✔️ Linting Passed

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

Generated for commit: 18d13c7. Link to the linter CI: here

@jeremiedbb
Copy link
Member

The test detection is limited 😄 the commit message should be

Fix tolerance for [nogil] [float32] [all random seeds]
test_pca_solver_equivalence

Copy link
Member

@jeremiedbb jeremiedbb left a comment

Choose a reason for hiding this comment

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

This atol is so high 😨 !

@jeremiedbb jeremiedbb merged commit 438f093 into scikit-learn:main May 7, 2024
29 checks passed
@ogrisel ogrisel deleted the fix-tols-for-test_pca_solver_equivalence branch May 7, 2024 09:24
@ogrisel
Copy link
Member Author

ogrisel commented May 7, 2024

This atol is so high 😨 !

Yes it's a bit freaky. It needs to be high both for OpenBLAS's arpack solver and for our own randomized SVD solver with default number of power iterations. The latter might be expected but I would not have expected this to be the case for arpack.

jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request May 20, 2024
@jeremiedbb jeremiedbb mentioned this pull request May 20, 2024
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:test-suite everything related to our tests No Changelog Needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

⚠️ CI failed on Linux_nogil.pylatest_pip_nogil (last failure: May 06, 2024) ⚠️
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.