SVD for sparse matrix in R
问题 I've got a sparse Matrix in R that's apparently too big for me to run as.matrix() on (though it's not super-huge either). The as.matrix() call in question is inside the svd() function, so I'm wondering if anyone knows a different implementation of SVD that doesn't require first converting to a dense matrix. 回答1: The irlba package has a very fast SVD implementation for sparse matrices. 回答2: You can do a very impressive bit of sparse SVD in R using random projection as described in http://arxiv