Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sparse matrix factorisation #347

Open
TheCelavi opened this issue Nov 11, 2024 · 3 comments
Open

Sparse matrix factorisation #347

TheCelavi opened this issue Nov 11, 2024 · 3 comments

Comments

@TheCelavi
Copy link

Are there any plans to include some algorithm for sparse matrix factorisation (recommendations)? Thanks!

@andrewdalpino
Copy link
Member

andrewdalpino commented Dec 26, 2024

Hi @TheCelavi, we have no plans to offer sparse matrix factorization in the near future. Having that said, I would love to implement sparse matrix factorization - perhaps in Rubix ML 3.0+ after we move to NumPower and then add support for sparse arrays. It's not a matter of want but a matter of funding and community support.

Is this something that you would be able to contribute @TheCelavi?

@TheCelavi
Copy link
Author

I have stumbled upon this: https://github.com/swoole/phpy and started to using https://surprise.readthedocs.io/en/stable/index.html via PHP. I have really good experience with this extension so far, so it seams kinda redundant to write PHP counterpart as it can be seamlessly used with PHP.

@andrewdalpino
Copy link
Member

Hey @TheCelavi thanks for showing me that PHPY library. It looks like we could possibly use that to call PyTorch or even NumPy under the hood to reimplement some of the Learners in Rubix ML. I'm very interested to hear more about your experience so far. How much overhead is added by zval to PyObject conversion? Can you send tensors from PHP to the GPU through Python? Anything else we should know about?

Thanks, appreciate your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants