3
我試圖使用大10^5×10^5個稀疏矩陣,但似乎對SciPy的是運行起來: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
有誰知道爲什麼限制在那裏,如果我能避免它? (fyi,我正在使用4GB內存的macbook air和enthought分配)