-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
Hi,
I used this library and what i wanna really do is to load a large graph and use simrank for link prediction, but i get the following error:
Traceback (most recent call last):
File "pred.py", line 12, in <module>
results = model.predict(c=0.4)
File "/home/danial/Envs/graph/lib/python3.6/site-packages/linkpred/predictors/base.py", line 64, in predict_and_postprocess
scoresheet = func(*args, **kwargs)
File "/home/danial/Envs/graph/lib/python3.6/site-packages/linkpred/predictors/eigenvector.py", line 88, in predict
sim = simrank(self.G, nodelist, c, num_iterations, weight)
File "/home/danial/Envs/graph/lib/python3.6/site-packages/linkpred/network/algorithms.py", line 73, in simrank
M = raw_google_matrix(G, nodelist=nodelist, weight=weight)
File "/home/danial/Envs/graph/lib/python3.6/site-packages/linkpred/network/algorithms.py", line 87, in raw_google_matrix
weight=weight)
File "/home/danial/Envs/graph/lib/python3.6/site-packages/networkx/convert_matrix.py", line 369, in to_numpy_matrix
M = np.zeros((nlen,nlen), dtype=dtype, order=order) + np.nan
MemoryErrorcould you help me?
Metadata
Metadata
Assignees
Labels
No labels