Skip to content

TST Fix locally_linear_embedding test with scipy-dev#27628

Merged
glemaitre merged 2 commits intoscikit-learn:mainfrom
lesteve:locally-linear-embedding-singular-matrix
Oct 20, 2023
Merged

TST Fix locally_linear_embedding test with scipy-dev#27628
glemaitre merged 2 commits intoscikit-learn:mainfrom
lesteve:locally-linear-embedding-singular-matrix

Conversation

@lesteve
Copy link
Member

@lesteve lesteve commented Oct 20, 2023

Fix #27578

The test_singular_matrix one is probably due to scipy using upstream SuperLU code scipy/scipy#19284. This seems to change the behaviour slightly. In particular the smallest eigenvalue is not exactly 0 but of the order of 1e-16 and the error is not raised.

@github-actions
Copy link

✔️ Linting Passed

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

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

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.

LGTM if CI is effectively green.

@lesteve lesteve added the Quick Review For PRs that are quick to review label Oct 20, 2023
Copy link
Member

@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

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

LGTM.

@glemaitre glemaitre merged commit f0ee146 into scikit-learn:main Oct 20, 2023
@lesteve lesteve deleted the locally-linear-embedding-singular-matrix branch October 20, 2023 14:50
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Oct 31, 2023
REDVM pushed a commit to REDVM/scikit-learn that referenced this pull request Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

⚠️ CI failed on Linux_Nightly.pylatest_pip_scipy_dev ⚠️

3 participants