Top "Sparse-matrix" questions

A sparse matrix is a data structure in which not every entry is explicitly represented.

Matrix Library for .NET

I'm looking for a good (well-tested, fully-featured, and ideally with a nice interface) matrix library for .NET/C#. My main …

.net math matrix sparse-matrix
Using sparse matrices with Keras and Tensorflow

My data can be viewed as a matrix of 10B entries (100M x 100), which is very sparse (< 1/100 * 1/100 of entries …

tensorflow sparse-matrix keras
sparse 3d matrix/array in Python?

In scipy, we can construct a sparse matrix using scipy.sparse.lil_matrix() etc. But the matrix is in 2d. …

python numpy scipy sparse-matrix
expanding (adding a row or column) a scipy.sparse matrix

Suppose I have a NxN matrix M (lil_matrix or csr_matrix) from scipy.sparse, and I want to make …

python scipy sparse-matrix
How to change elements in sparse matrix in Python's SciPy?

I have built a small code that I want to use for solving eigenvalue problems involving large sparse matrices. It's …

python math linear-algebra sparse-matrix
Creating (and Accessing) a Sparse Matrix with NA default entries

After learning about the options for working with sparse matrices in R, I want to use the Matrix package to …

r default-value sparse-matrix na
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 …

python scipy scikit-learn sparse-matrix svd
Performing PCA on large sparse matrix by using sklearn

I am trying to apply PCA on huge sparse matrix, in the following link it says that randomizedPCA of sklearn …

python scikit-learn sparse-matrix pca svd
Slicing Sparse Matrices in Scipy -- Which Types Work Best?

The SciPy Sparse Matrix tutorial is very good -- but it actually leaves the section on slicing un(der)developed (…

python indexing scipy sparse-matrix slice
Efficient way to normalize a Scipy Sparse Matrix

I'd like to write a function that normalizes the rows of a large sparse matrix (such that they sum to …

python numpy scipy sparse-matrix