Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with heuristic methods, i.e., CN and AA #25

Closed
CongWeilin opened this issue Jan 22, 2022 · 2 comments
Closed

Issues with heuristic methods, i.e., CN and AA #25

CongWeilin opened this issue Jan 22, 2022 · 2 comments

Comments

@CongWeilin
Copy link

Hi, I found the testing performance of the heuristic method I got is significantly different from the one reported on the open graph benchmark. For example:

Running the following command gives me Hits@50 Valid 63.49, test 53.00.

python seal_link_pred.py --use_heuristic AA --dataset ogbl-collab

Running the following command gives me Hits@50 Valid 60.36, test 50.06.

python seal_link_pred.py --use_heuristic CN --dataset ogbl-collab

The result is very different from the open graph benchmark's reported one.

I went through the code on GitHub, but couldn't figure out why.

@muhanzhang
Copy link
Collaborator

Hi, you need to append "--use_valedges_as_input" for ogbg-collab. See this issue.

@CongWeilin
Copy link
Author

The issue is resolved. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants