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

LinkNeighborLoader: Support edge_label_time #5137

Merged
merged 49 commits into from
Aug 10, 2022

Conversation

wsad1
Copy link
Member

@wsad1 wsad1 commented Aug 4, 2022

With this PR users can pass an edge_time to LinkNeighborLoader, and sampling will respect the edge_time.

@wsad1 wsad1 requested review from RexYing and rusty1s August 4, 2022 11:32
@wsad1 wsad1 self-assigned this Aug 4, 2022
@rusty1s rusty1s changed the title LinkNeigbhborLoader: Support edge_time. LinkNeigbhborLoader: Support edge_time Aug 4, 2022
@rusty1s rusty1s added the feature label Aug 4, 2022
@codecov
Copy link

codecov bot commented Aug 4, 2022

Codecov Report

Merging #5137 (f8d79c9) into master (ee55126) will increase coverage by 0.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #5137      +/-   ##
==========================================
+ Coverage   82.98%   83.04%   +0.05%     
==========================================
  Files         333      333              
  Lines       18371    18403      +32     
==========================================
+ Hits        15246    15282      +36     
+ Misses       3125     3121       -4     
Impacted Files Coverage Δ
torch_geometric/loader/link_neighbor_loader.py 93.08% <100.00%> (+1.41%) ⬆️
torch_geometric/loader/neighbor_loader.py 94.93% <100.00%> (ø)
torch_geometric/loader/utils.py 84.95% <0.00%> (+3.53%) ⬆️

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@rusty1s rusty1s changed the title LinkNeigbhborLoader: Support edge_time LinkNeighborLoader: Support edge_time Aug 4, 2022
@Padarn
Copy link
Contributor

Padarn commented Aug 5, 2022

FYI the linked issue is in a private repo

Copy link
Contributor

@Padarn Padarn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is cool functionality; nice to see we can get it with so few changes. Left a few comments/questions. Mostly just nits, feel free to ignore.

@rusty1s rusty1s changed the title LinkNeighborLoader: Support edge_time LinkNeighborLoader: Support edge_label_time Aug 9, 2022
@rusty1s rusty1s merged commit 5ad9f3c into pyg-team:master Aug 10, 2022
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.

3 participants