Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

[Model] Add Node explanation for Heterogenous PGExplainer Impl. #6050

Merged
merged 13 commits into from
Sep 14, 2023

Conversation

ndbaker1
Copy link
Contributor

@ndbaker1 ndbaker1 commented Jul 27, 2023

Description

Implemented Node explanations for PGExplainer (https://arxiv.org/pdf/2011.04573.pdf) for Heterogenous Graphs. (extending #5739)

Checklist

Please feel free to remove inapplicable items for your PR.

  • The PR title starts with [$CATEGORY] (such as [NN], [Model], [Doc], [Feature]])
  • I've leverage the tools to beautify the python and c++ code.
  • The PR is complete and small, read the Google eng practice (CL equals to PR) to understand more about small PR. In DGL, we consider PRs with less than 200 lines of core code change are small (example, test and documentation could be exempted). (majority of new lines are documentation)
  • All changes have test coverage
  • Code is well-documented
  • To the best of my knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

  • Added the explain_node method for heterogeneous implementation of PGExplainer.
  • cleaned up explain_node internals for homogeneous implementation

An example of using the method is included in the documentation.

Tests run for MUTAG visualization scripts utilizing explain_node.

@dgl-bot
Copy link
Collaborator

dgl-bot commented Jul 27, 2023

Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:

  • @dgl-bot

@dgl-bot
Copy link
Collaborator

dgl-bot commented Jul 27, 2023

Commit ID: 1de768ee71f3a03b70249d9e52b1d62f7f3bcaa5

Build ID: 1

Status: ❌ CI test failed in Stage [Authentication].

Report path: link

Full logs path: link

@dgl-bot
Copy link
Collaborator

dgl-bot commented Aug 3, 2023

Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:

  • @dgl-bot

@dgl-bot
Copy link
Collaborator

dgl-bot commented Aug 3, 2023

Commit ID: 464788b0f89d35e78ff84edd2508dac73ec5538c

Build ID: 2

Status: ❌ CI test failed in Stage [Authentication].

Report path: link

Full logs path: link

@frozenbugs
Copy link
Collaborator

@ndbaker1 Hi, are you still working on this PR, what's the status of it?

@dgl-bot
Copy link
Collaborator

dgl-bot commented Aug 13, 2023

Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:

  • @dgl-bot

@dgl-bot
Copy link
Collaborator

dgl-bot commented Aug 13, 2023

Commit ID: fb2d1b06f459565d6c75dd505f6f928f85a4f6ac

Build ID: 3

Status: ❌ CI test failed in Stage [Authentication].

Report path: link

Full logs path: link

@dgl-bot
Copy link
Collaborator

dgl-bot commented Aug 13, 2023

Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:

  • @dgl-bot

@dgl-bot
Copy link
Collaborator

dgl-bot commented Aug 13, 2023

Commit ID: 6692a94722cd85d02673df52f79ac1aba26d4927

Build ID: 4

Status: ❌ CI test failed in Stage [Authentication].

Report path: link

Full logs path: link

@dgl-bot
Copy link
Collaborator

dgl-bot commented Aug 13, 2023

Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:

  • @dgl-bot

@dgl-bot
Copy link
Collaborator

dgl-bot commented Aug 13, 2023

Commit ID: e9483441f488ad92c3c17d9d6aa11401395409e0

Build ID: 5

Status: ❌ CI test failed in Stage [Authentication].

Report path: link

Full logs path: link

@dgl-bot
Copy link
Collaborator

dgl-bot commented Aug 13, 2023

Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:

  • @dgl-bot

@dgl-bot
Copy link
Collaborator

dgl-bot commented Aug 13, 2023

Commit ID: 82514a32dafe75f5c463c838fd0a79e6b2726177

Build ID: 6

Status: ❌ CI test failed in Stage [Authentication].

Report path: link

Full logs path: link

@ndbaker1
Copy link
Contributor Author

@ndbaker1 Hi, are you still working on this PR, what's the status of it?

hi @frozenbugs, I'm still working on these changes but response time may vary as it has been difficult to allocate time for work.

As of now the documentation is updated and sanity checks are running, so it will move out of draft status 👏

@ndbaker1 ndbaker1 marked this pull request as ready for review August 13, 2023 08:48
@frozenbugs
Copy link
Collaborator

@dgl-bot

@dgl-bot
Copy link
Collaborator

dgl-bot commented Aug 14, 2023

Commit ID: ceb4137b604bceeaaeb682c7d50b7a82504d150c

Build ID: 7

Status: ❌ CI test failed in Stage [Torch GPU Unit test].

Report path: link

Full logs path: link

@dgl-bot
Copy link
Collaborator

dgl-bot commented Aug 25, 2023

Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:

  • @dgl-bot

@dgl-bot
Copy link
Collaborator

dgl-bot commented Aug 25, 2023

Commit ID: 5d316939a9fc012f7308d871dac953273acdb7a7

Build ID: 8

Status: ❌ CI test failed in Stage [Authentication].

Report path: link

Full logs path: link

@frozenbugs
Copy link
Collaborator

@dgl-bot

@dgl-bot
Copy link
Collaborator

dgl-bot commented Aug 26, 2023

Commit ID: 0852f78d7618f877f99cbf12bcce4078b3c451df

Build ID: 9

Status: ❌ CI test failed in Stage [Torch GPU Unit test].

Report path: link

Full logs path: link

@dgl-bot
Copy link
Collaborator

dgl-bot commented Aug 28, 2023

Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:

  • @dgl-bot

@dgl-bot
Copy link
Collaborator

dgl-bot commented Aug 28, 2023

Commit ID: 9f6ea74fcac5a0eb1cc3faff0ab9f973c0623908

Build ID: 10

Status: ❌ CI test failed in Stage [Authentication].

Report path: link

Full logs path: link

@dgl-bot
Copy link
Collaborator

dgl-bot commented Sep 12, 2023

Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:

  • @dgl-bot

@dgl-bot
Copy link
Collaborator

dgl-bot commented Sep 12, 2023

Commit ID: 4b93a61f492eea258e42704158d0521f9f96aa21

Build ID: 16

Status: ❌ CI test failed in Stage [Authentication].

Report path: link

Full logs path: link

@ndbaker1
Copy link
Contributor Author

comments addressed, ready for bot trigger 👍

@frozenbugs
Copy link
Collaborator

@dgl-bot

@dgl-bot
Copy link
Collaborator

dgl-bot commented Sep 12, 2023

Commit ID: 7d772ca5d82adc62fd0eebcdaf3ee7ee93ab063f

Build ID: 17

Status: ❌ CI test failed in Stage [Lint Check].

Report path: link

Full logs path: link

@frozenbugs
Copy link
Collaborator

@ndbaker1 it seems I can not edit your PR directly so you have to handle the nit comment by yourself.

Copy link
Collaborator

@BarclayII BarclayII left a comment

Choose a reason for hiding this comment

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

I'm good. Please feel free to merge after incorporating the suggestion from @frozenbugs .

Co-authored-by: Hongzhi (Steve), Chen <chenhongzhi.nkcs@gmail.com>
@dgl-bot
Copy link
Collaborator

dgl-bot commented Sep 13, 2023

Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:

  • @dgl-bot

@dgl-bot
Copy link
Collaborator

dgl-bot commented Sep 13, 2023

Commit ID: 669630ae51908d5b002f437ae3c3863c935cbf8f

Build ID: 18

Status: ❌ CI test failed in Stage [Authentication].

Report path: link

Full logs path: link

@frozenbugs
Copy link
Collaborator

@dgl-bot

@dgl-bot
Copy link
Collaborator

dgl-bot commented Sep 13, 2023

Commit ID: 5ee92605a56174770d87fd5a8a2cb2518728288b

Build ID: 19

Status: ❌ CI test failed in Stage [Lint Check].

Report path: link

Full logs path: link

@dgl-bot
Copy link
Collaborator

dgl-bot commented Sep 13, 2023

Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:

  • @dgl-bot

@dgl-bot
Copy link
Collaborator

dgl-bot commented Sep 13, 2023

Commit ID: fecc0c55c23ea07a9d971e8e2449fb646b83c35b

Build ID: 20

Status: ❌ CI test failed in Stage [Authentication].

Report path: link

Full logs path: link

@frozenbugs
Copy link
Collaborator

@dgl-bot

@dgl-bot
Copy link
Collaborator

dgl-bot commented Sep 13, 2023

Commit ID: 1379be5d9989fbc8acf34a8557ed7953af04d1d7

Build ID: 21

Status: ❌ CI test failed in Stage [Torch CPU (Win64) Unit test].

Report path: link

Full logs path: link

@frozenbugs
Copy link
Collaborator

@dgl-bot

@dgl-bot
Copy link
Collaborator

dgl-bot commented Sep 13, 2023

Commit ID: 889fbc77f85360483d5fe591a837a3e234942c55

Build ID: 22

Status: ❌ CI test failed in Stage [Torch CPU (Win64) Unit test].

Report path: link

Full logs path: link

@ndbaker1
Copy link
Contributor Author

logs show that relevant tests for this PR are passing

tests/python/pytorch/nn/test_nn.py::test_pgexplainer[2-g0-idtype0] PASSED [ 53%]
tests/python/pytorch/nn/test_nn.py::test_pgexplainer[2-g0-idtype1] PASSED [ 53%]
tests/python/pytorch/nn/test_nn.py::test_pgexplainer[2-g1-idtype0] PASSED [ 53%]
tests/python/pytorch/nn/test_nn.py::test_pgexplainer[2-g1-idtype1] PASSED [ 53%]
tests/python/pytorch/nn/test_nn.py::test_heteropgexplainer[2-5-idtype0-g0] PASSED [ 53%]
tests/python/pytorch/nn/test_nn.py::test_heteropgexplainer[2-5-idtype0-g1] PASSED [ 53%]

@frozenbugs
Copy link
Collaborator

@ndbaker1 thanks for letting us know, yes, something wrong with the CI, we will take a look at it, and I will handle the merge of the PR.

@frozenbugs
Copy link
Collaborator

@dgl-bot

@dgl-bot
Copy link
Collaborator

dgl-bot commented Sep 14, 2023

Commit ID: c894750c83f72c15ce6fd19fe1c1d0a33a27bca9

Build ID: 23

Status: ✅ CI test succeeded.

Report path: link

Full logs path: link

@frozenbugs frozenbugs merged commit eb40ed5 into dmlc:master Sep 14, 2023
1 check passed
@ndbaker1 ndbaker1 deleted the hetero-pgexplainer-explain-node branch September 14, 2023 02:45
DominikaJedynak pushed a commit to DominikaJedynak/dgl that referenced this pull request Mar 12, 2024
…#6050)

Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com>
Co-authored-by: Hongzhi (Steve), Chen <chenhongzhi.nkcs@gmail.com>
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

Successfully merging this pull request may close these issues.

5 participants