alexbovet / flow_stability

Flow stability framework for dynamic community detection in temporal networks
GNU Lesser General Public License v3.0
24 stars 4 forks source link

Ditch `csr_matrix` in favor of `csr_array` #41

Open j-i-l opened 3 months ago

j-i-l commented 3 months ago

As mentioned in #40 scipy encourages the usage of _array over _matrix:

This package [scipy.sparse] is switching to an array interface, compatible with NumPy arrays, from the older matrix interface. We recommend that you use the array objects (bsr_array, coo_array, etc.) for all new work.

source

We might want to embrace this transition and ditch csr_matrix in favor of crs_array.