dask / dask/dask-ml

new feature: add LOBPCG to PCA and truncated_svd decompositions

Open
#364 5 comments 0 reactions 0 assignees View on GitHub
Roadmap
Dominant language
Python
Stars
951
Forks
262
PR merge metrics
No merged PRs in 30d

Description

#### Description
The codes [https://github.com/dask/dask-ml/blob/master/dask_ml/decomposition/pca.py](url) and https://github.com/dask/dask-ml/blob/master/dask_ml/decomposition/truncated_svd.py supports only

PCA:
> svd_solver : string {'auto', 'full', 'tsqr', 'randomized'}

truncated_svd:
> if self.algorithm not in {"tsqr", "randomized"}:
raise ValueError()

while LOBPCG [https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.linalg.lobpcg.html](url) may be expected to outperform all those solvers for large problems, e.g., see comments at [https://www.mathworks.com/matlabcentral/fileexchange/48-lobpcg-m](url)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.