bwlewis / irlba

Fast truncated singular value decompositions
127 stars 17 forks source link

Python wrapper for IRLBA? #65

Closed BradKML closed 1 year ago

BradKML commented 1 year ago

Sorry for asking this, bus it is very tempting to see a new faster implementation of truncated SVD to be made. Could this repo be re-wrapped for python (for testing purposes)?

LTLA commented 1 year ago

If you know enough Cython, you could wrap CppIrlba, which ports the C code from the R package into a header-only C++ library. For example, I use this to run IRLBA in web applications, see here for an example.

BradKML commented 1 year ago

Thanks for the info, but unfortunately I am not good enough for Cython currently.