Category "sparse-matrix"

Using sparse matrix in random forest

For efficient memory utilization, I have used “matrix" package in R to create sparse matrix using code: library(randomForest) library(Matrix) documentTe

Tensordot for numpy array and scipy sparse matrix

For a current project I have to compute the inner product of a lot of vectors with the same matrix (which is quite sparse). The vectors are associated with a tw

Using 3d sparse input with partial shape in Keras/Tensorflow gives error

I am trying to create a dense neural network where my input is a sparse 3d matrix. When converted to a dense matrix the shape is (2, None, n) (where n is a numb

Get U, Sigma, V* matrix from Truncated SVD in scikit-learn

I am using truncated SVD from scikit-learn package. In the definition of SVD, an original matrix A is approxmated as a product A ≈ UΣV* where