sparse-matrix
std::vector<std::vector<type>> for sparse matrix structure or something else?
I am implementing a sparse matrix class in compressed row format. This means i have a fixed number of rows and each row consists of a number of elements (this number can be different for different row[详细]
2023-01-08 09:03 分类:问答sparse matrix svd in python
Does 开发者_开发技巧anyone know how to perform svd operation on a sparse matrix in python? It seems that there is no such functionality provided in scipy.sparse.linalg.Sounds like sparsesvd is what yo[详细]
2023-01-07 02:55 分类:问答large-scale regression in R with a sparse feature matrix
I\'d like to do large-scale regression (linear/logistic) in R with many (e.g. 100k) features, where each example is relatively sparse in the feature space---e.g., ~1k non-zero features per example.[详细]
2023-01-05 19:11 分类:问答clustering on very large sparse matrix?
I am trying to do some (k-means) clustering on a very large matrix. The matrix is approximately 500000 rows x 4000 cols yet very sparse (only a c开发者_JAVA技巧ouple of \"1\" values per row). I want[详细]
2023-01-05 13:12 分类:问答do you have to sort rows of a sparse matrix when doing a PCG solver?
I am working on some software that does a sparse matrix-vector multiply. The matrix is stored i开发者_StackOverflown a coordinate format (a row and column index for each non-zero).[详细]
2023-01-05 02:46 分类:问答How do you store a discretized 3D domain (for solve PDE) in sparse format, when boundary conditions can change?
I am looking at solving a problem that is a PDE, and the 3D discretized domain can have a different boundary condition on each of the 6 boundaries (or all the same).[详细]
2023-01-04 19:42 分类:问答sparse_vector template class: How do I clean it up?
I\'m not sure if this is a good question or not — please close it if not. I set out to write (using boost::coordinate_vector as a starting point) a sparse_vector template class that efficiently impl[详细]
2023-01-04 17:08 分类:问答How can I create a series of months to join sparse data to?
I think this is a pretty common issue, but I don\'t know what the process is called, so I\'ll describe it with an example. The concept is that I want to join a sparse dataset to a complete series, suc[详细]
2023-01-04 15:12 分类:问答How to efficiently store a matrix with highly-redundant values
I have a very large matrix (100M rows by 100M columns) that has a lots of duplicate values right next to each other.For example:[详细]
2023-01-04 05:18 分类:问答create a sparse BufferedImage in java
I have to create an image with very large resolution, but the image is relatively \"sparse\", only some areas in the image need to draw.[详细]
2023-01-03 16:22 分类:问答