node2vec_linkprediction
node2vec_linkprediction copied to clipboard
Testing link prediction using Node2Vec
Traceback (most recent call last): File "link_prediction.py", line 548, in test_edge_functions(args) File "link_prediction.py", line 322, in test_edge_functions Gtrain, Gtest = create_train_test_graphs(args) File "link_prediction.py", line 300, in create_train_test_graphs directed=args.directed) File "link_prediction.py",...
Hi Docherty! I tried your code and encountered the error on class GraphN2V's definition:  I'm using node2vec v0.4.2, networkx v2.5, and other packages seem to have nothing...
When I use this,I found a issue,The netwokx version is not define and I try many times.Finally, It could run when networkx==1.9 and I change the code in 189th row....
Traceback (most recent call last): File "link_prediction.py", line 548, in test_edge_functions(args) File "link_prediction.py", line 343, in test_edge_functions Gtrain.train_embeddings(p, q, dimensions, num_walks, walk_length, window_size) File "link_prediction.py", line 228, in train_embeddings self.preprocess_transition_probs()...