I need to do the following
b = numpy.random.randn(50001,2)
cof = numpy.corrcoef(b)
c= b>=0.3
return np.dot(c, np.ones([50001,1]))
It is throwing me a segmentation fault.
Also if I try to use a sparse matrix, for instance:
asp = scipy.sparse.csc_matrix(c)
I get a Segmentation fault
The conversion works if the matrix size is small.
Any advice?