You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
new feature: add LOBPCG as an SVD solver in PCA #12079
I am unsure if the transpose='auto' option in lobpcg_svd, which is copy/pasted from randomised_svd , actually makes the eigenvalue problem smaller, not larger, but it a common issue with randomised_svd, so it needs to be addressed separately from this lobpcg_svd add-on.
I know there are several PRs awaiting review around PCA. I'm very busy at
the moment and am trying to focus on staying on top of the email, releasing
0.20.1, and longstanding issues. Please be patient, but do ping again in a
few weeks if need be.
Activity
aishgrt1 commentedon Sep 27, 2018
@jnothman @amueller Shall I take this?
lobpcg commentedon Oct 3, 2018
@jnothman @amueller @aishgrt1 Please see PR #12319 Comments and help are welcome and needed!
scipy/scipy#9352 will address the issue that
https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.linalg.lobpcg.html itself needs editing to properly work in float32 used in the example plot_faces_decomposition, so this example is not included in the PR #12319.
I am unsure if the transpose='auto' option in lobpcg_svd, which is copy/pasted from randomised_svd , actually makes the eigenvalue problem smaller, not larger, but it a common issue with randomised_svd, so it needs to be addressed separately from this lobpcg_svd add-on.
lobpcg commentedon Oct 12, 2018
@aishgrt1 @jnothman @amueller
Our coding for this issues and #12080 has been completed, please see PR #12319 and react.
jnothman commentedon Oct 14, 2018
lobpcg commentedon Oct 30, 2021
scipy/scipy#10830 has implemented LOBPCG solver in svds in scipy while this PR being stalled. Which allows using lobpcg svd_solver to PCA and TruncatedSVD simply by calling https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.linalg.svds.html with solver=‘lobpcg’
flying-sheep commentedon Oct 15, 2024
Can this be reopened?
sklearn.decomposition.PCAstill doesn’t supportsvd_solver='lobpcg'.Should be a simple case of updating the validators and passing this on:
scikit-learn/sklearn/decomposition/_pca.py
Line 750 in e91011b
lobpcg commentedon Feb 24, 2026
OK, reopened