Skip to content

Only add true negatives in add_random_edge augmentation #7654

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

Merged
merged 3 commits into from
Jun 27, 2023

Conversation

rusty1s
Copy link
Member

@rusty1s rusty1s commented Jun 27, 2023

Fixes #7653

@codecov
Copy link

codecov bot commented Jun 27, 2023

Codecov Report

Merging #7654 (c791945) into master (2ec1c4b) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #7654      +/-   ##
==========================================
- Coverage   91.60%   91.60%   -0.01%     
==========================================
  Files         452      452              
  Lines       25481    25469      -12     
==========================================
- Hits        23342    23330      -12     
  Misses       2139     2139              
Impacted Files Coverage Δ
torch_geometric/utils/__init__.py 100.00% <100.00%> (ø)
torch_geometric/utils/augmentation.py 100.00% <100.00%> (ø)
torch_geometric/utils/negative_sampling.py 98.54% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@rusty1s rusty1s merged commit 10b7373 into master Jun 27, 2023
@rusty1s rusty1s deleted the add_random_edge branch June 27, 2023 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add_random_edge does not check existing edges
1 participant