{"action":"created","issue":{"url":"https://api.github.com/repos/palash1992/GEM/issues/47","repository_url":"https://api.github.com/repos/palash1992/GEM","labels_url":"https://api.github.com/repos/palash1992/GEM/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/palash1992/GEM/issues/47/comments","events_url":"https://api.github.com/repos/palash1992/GEM/issues/47/events","html_url":"https://github.com/palash1992/GEM/issues/47","id":373273673,"node_id":"MDU6SXNzdWUzNzMyNzM2NzM=","number":47,"title":"Error making link prediction","user":{"login":"zuozijiZHOULI","id":25759841,"node_id":"MDQ6VXNlcjI1NzU5ODQx","avatar_url":"https://avatars1.githubusercontent.com/u/25759841?v=4","gravatar_id":"","url":"https://api.github.com/users/zuozijiZHOULI","html_url":"https://github.com/zuozijiZHOULI","followers_url":"https://api.github.com/users/zuozijiZHOULI/followers","following_url":"https://api.github.com/users/zuozijiZHOULI/following{/other_user}","gists_url":"https://api.github.com/users/zuozijiZHOULI/gists{/gist_id}","starred_url":"https://api.github.com/users/zuozijiZHOULI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zuozijiZHOULI/subscriptions","organizations_url":"https://api.github.com/users/zuozijiZHOULI/orgs","repos_url":"https://api.github.com/users/zuozijiZHOULI/repos","events_url":"https://api.github.com/users/zuozijiZHOULI/events{/privacy}","received_events_url":"https://api.github.com/users/zuozijiZHOULI/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-24T02:04:29Z","updated_at":"2018-11-01T00:47:15Z","closed_at":null,"author_association":"NONE","body":"Hi,when I modified test.kerate.py to make link prediction, the following error occurred:\r\nTraceback (most recent call last):\r\n  File \"test_karate.py\", line 54, in <module>\r\n    MAP, prec_curv = lp.evaluateStaticLinkPrediction(G, embedding,0.8)\r\n  File \"/home/public/anaconda3/lib/python3.6/site-packages/gem-1.0.0-py3.6.egg/gem/evaluation/evaluate_link_prediction.py\", line 24, in evaluateStaticLinkPrediction\r\n    is_undirected=is_undirected\r\n  File \"/home/public/anaconda3/lib/python3.6/site-packages/gem-1.0.0-py3.6.egg/gem/utils/evaluation_util.py\", line 50, in splitDiGraphToTrainTest\r\n    train_digraph.remove_edge(ed, st) \r\n  File \"/home/public/anaconda3/lib/python3.6/site-packages/networkx/classes/digraph.py\", line 692, in remove_edge\r\n    raise NetworkXError(\"The edge %s-%s not in graph.\"%(u,v))\r\nnetworkx.exception.NetworkXError: The edge 31-0 not in graph.\r\nI modified it as follows:\r\nMAP, prec_curv = lp.evaluateStaticLinkPrediction(G, embedding,0.8)\r\nI would appreciate it if you could help me!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/palash1992/GEM/issues/comments/434894519","html_url":"https://github.com/palash1992/GEM/issues/47#issuecomment-434894519","issue_url":"https://api.github.com/repos/palash1992/GEM/issues/47","id":434894519,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDg5NDUxOQ==","user":{"login":"zuozijiZHOULI","id":25759841,"node_id":"MDQ6VXNlcjI1NzU5ODQx","avatar_url":"https://avatars1.githubusercontent.com/u/25759841?v=4","gravatar_id":"","url":"https://api.github.com/users/zuozijiZHOULI","html_url":"https://github.com/zuozijiZHOULI","followers_url":"https://api.github.com/users/zuozijiZHOULI/followers","following_url":"https://api.github.com/users/zuozijiZHOULI/following{/other_user}","gists_url":"https://api.github.com/users/zuozijiZHOULI/gists{/gist_id}","starred_url":"https://api.github.com/users/zuozijiZHOULI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zuozijiZHOULI/subscriptions","organizations_url":"https://api.github.com/users/zuozijiZHOULI/orgs","repos_url":"https://api.github.com/users/zuozijiZHOULI/repos","events_url":"https://api.github.com/users/zuozijiZHOULI/events{/privacy}","received_events_url":"https://api.github.com/users/zuozijiZHOULI/received_events","type":"User","site_admin":false},"created_at":"2018-11-01T00:47:15Z","updated_at":"2018-11-01T00:47:15Z","author_association":"NONE","body":"Is this input the vector of all the nodes, or the vector of the nodes in the training data?"}}
{"actor":{"display_login":"zuozijiZHOULI"}}