我正在尝试使用大型的10^5x10^5稀疏矩阵,但好像遇到了scipy的问题:
n = 10 ** 5
x = scipy.sparse.rand(n, n, .001)
获取
ValueError: Trying to generate a random sparse matrix such as the
product of dimensions is greater than 2147483647 - this is not
supported on this machine
有人知道为什么会有限制吗,我能否避免它?(顺便说一下,我使用的是4GB内存的MacBook Air和Enthought发行版)