node2vec_linkprediction icon indicating copy to clipboard operation
node2vec_linkprediction copied to clipboard

Testing link prediction using Node2Vec

Results 5 node2vec_linkprediction issues
Sort by recently updated
recently updated
newest added

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: ![屏幕截图 2021-04-06 194744](https://user-images.githubusercontent.com/39233289/113706204-ff188500-9710-11eb-935f-f805340ddcf4.png) 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()...