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

Python - random permutation edges with score 0 #10

Open
carissableker opened this issue Apr 17, 2024 · 1 comment
Open

Python - random permutation edges with score 0 #10

carissableker opened this issue Apr 17, 2024 · 1 comment

Comments

@carissableker
Copy link

carissableker commented Apr 17, 2024

What is the reasoning behind randomly permuting the edges with score 0 in get_link_list?

# Random permutation of edges with score equal to 0

Does it make sense to simply throw these edges away?

@vahuynh
Copy link
Owner

vahuynh commented Apr 24, 2024

Hi,

This permutation is there only because of the way I evaluate the predicted ranking of edges. When I know the true network, I typically evaluate the predicted ranking by computing the area under the precision-recall curve (AUPR). Given the way I compute this AUPR in practice, I would get an AUPR that is over-estimated if I throw away the edges with score 0.

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