Continuing my line of uninformed questioning on SciPy sparse matrix operations, I've run into a challenge that I know there must be a work around for.
V1 = sparse.csc_matrix([1 for i in xrange(100000)]).T
V2 = 1.0 / 100000 * V1
A = V2 * V1.T
V1 and V2 will be a column vectors. V1 is transposed. The multiplcation blows the product matrix up into a fully dense matrix. e.g. 10000 x 10000
I'm not a mathmatician, I just need to understand if there's a way to deal with this. Is there a better way to do this? Maybe construct a complete sparse matrix with all 1s instead of 0s as the sparse value before operation? Thanks.