-
Notifications
You must be signed in to change notification settings - Fork 3.1k
[SpotTarget]Edge sampler with excluding edges adjacent to low-degree nodes #5893
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
Conversation
|
Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:
|
|
Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:
|
|
Also, would you mind add a new unit test? We typically add unit tests of data loading in There are also some lint errors in the file. You could fix it with |
I will add these features. Do you have example test functions that I can take a look at. Sorry I haven't written any unit test before and need an example for this. |
|
Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:
|
Sorry for not responding @jwzhi . An example unit test is https://github.com/dmlc/dgl/blob/master/tests/python/pytorch/dataloading/test_dataloader.py#L727. |
|
Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:
|
|
Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:
|
|
Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:
|
|
Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:
|
|
Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:
|
|
Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:
|
|
Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:
|
|
Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:
|
BarclayII
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution!
…nodes (#5893) Co-authored-by: Quan (Andy) Gan <[email protected]> Co-authored-by: ZYH <[email protected]> Co-authored-by: Hongzhi (Steve), Chen <[email protected]>
…nodes (dmlc#5893) Co-authored-by: Quan (Andy) Gan <[email protected]> Co-authored-by: ZYH <[email protected]> Co-authored-by: Hongzhi (Steve), Chen <[email protected]>
Description
This issue is for extending the function of excluding the training edges in the edge sampler used in the link prediction training.
We develop a new callable excluder object which can be used as an args in dgl.dataloading.as_edge_prediction_sampler.
The example usage is as follows
A more detailed documents and experiment results can be found here #5698.
Checklist
Please feel free to remove inapplicable items for your PR.
Changes