[SciPy-User] Please help me optimize this chunk of code.

Pranava Swaroop Madhyastha pranava.madhyastha@gmail....
Wed Feb 6 12:04:12 CST 2013

Hi all,

I have been trying to optimize this chunk of code, but this is all I could do.

The code is actually trying to sparsify (increase the number of 0s in
the matrix);  so when I give a sparse matrix, it checks the value and
removes all values that are less than value% mean of each rows. Here
is the gist of the code: https://gist.github.com/anonymous/4724485


More information about the SciPy-User mailing list