sgd icon indicating copy to clipboard operation
sgd copied to clipboard

sparse matrices support?

Open dselivanov opened this issue 9 years ago • 3 comments

I want to try sgd package - seems it provides a lot of options and must-have features. But why it didn't work with sparse matrices (Matrix package, especially dgCMatrix class, as it default for R usage)? Working with sparse matrices is a core functionality for working with any large-scale problems. Or mb I missed something?

dselivanov avatar Sep 22 '15 10:09 dselivanov

Good question! The only reason is because it hasn't been implemented yet. :) For the current work, we were only considering dense matrices for various simulation studies; of course, in practice it would be incredibly helpful to get sparse matrix support. I'd like to work on this eventually. Feel free to submit a pull request if you'd like to yourself.

dustinvtran avatar Sep 22 '15 17:09 dustinvtran

Thank you for quick response, I'll happy to contribute in future. PS Also I found your blog very interesting!

dselivanov avatar Sep 22 '15 17:09 dselivanov

This is a great point. Eventually we will work on supporting sparse data formats is a priority, as well as parallelization.

ptoulis avatar Sep 22 '15 17:09 ptoulis