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
algorithm : string, default = "randomized"
SVD solver to use. Either "arpack" for the ARPACK wrapper in SciPy
(scipy.sparse.linalg.svds), or "randomized" for the randomized
algorithm due to Halko (2009).
@aishgrt1 All the coding for this issue, including comprehensive internal testing, is already done in PR #12319. Could you please have a look at PR #12319 and comment there? I would love to have this finished while I may still remember the details.
Description
The code https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/decomposition/truncated_svd.py currently supports only
while LOBPCG https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.linalg.lobpcg.html is already used in http://scikit-learn.org/stable/modules/generated/sklearn.manifold.SpectralEmbedding.html and http://scikit-learn.org/stable/modules/generated/sklearn.cluster.spectral_clustering.html
lobpcg_svd solver has been added in #12079
LOBPCG solver added to Truncated PCA in
https://github.com/lobpcg/scikit-learn/commit/ec61eef358cc8b9b6553cdeedd6b809246e9c716
Steps/Code to Reproduce
Expected Results
LOBPCG is expected to outperform both ARPACK and "randomized" solvers for Truncated PCA for large problems, e.g., see comments at https://www.mathworks.com/matlabcentral/fileexchange/48-lobpcg-m
Actual Results
Not supported
Versions
All
The text was updated successfully, but these errors were encountered: