SpringRank
SpringRank copied to clipboard
MemoryError
I got an MemoryError,does this implement can only process data with limited nodes?
Which code were you running? Matlab, Python, R, or SAS?
And, how large is the network that you are attempting to use? This will help us to diagnose the issue.
python,with edge size 363475 and node size 29611。
exception code line is:
Now I change the codes as below,it's running with out exception,but still slowly.
I just added a new version that allows users to select the linear system's solver, I think that spsolve was too slow for your size. The default is the iterative bicgstab, which should be much faster for big networks like yours. Can you please try now? I tried generating a random network with yours' size and it seems to work.
Also, I do not get the same problem when generating the A=alphanp.eye(N)+D1-C... Apart from your solution involving the A[i,i], you may also try A=alphascipy.sparse.eye(N)+D1-C
2018-07-26 8:24 GMT+02:00 wuseguang [email protected]:
Now I change the codes as below,it's running with out exception,but still slowly.
[image: image] https://user-images.githubusercontent.com/4555475/43245045-8862a5ec-90df-11e8-81d0-5928abe282ce.png
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cdebacco/SpringRank/issues/5#issuecomment-407989980, or mute the thread https://github.com/notifications/unsubscribe-auth/ARSx92xGEKr5w1zn5qdFOvr3vg2ERAbYks5uKWCDgaJpZM4VhLUd .