Is there an efficient way of concatenating scipy.sparse matrices?

后端 未结 4 780
小蘑菇
小蘑菇 2020-12-04 19:23

I\'m working with some rather large sparse matrices (from 5000x5000 to 20000x20000) and need to find an efficient way to concatenate matrices in a flexible way in order to c

4条回答
  •  时光说笑
    2020-12-04 20:23

    The sparse library now has hstack and vstack for respectively concatenating matrices horizontally and vertically.

提交回复
热议问题