-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Explain
: Add PGExplainer
#6204
Explain
: Add PGExplainer
#6204
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6204 +/- ##
==========================================
+ Coverage 84.56% 84.59% +0.03%
==========================================
Files 380 381 +1
Lines 21162 21264 +102
==========================================
+ Hits 17896 17989 +93
- Misses 3266 3275 +9
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
…ometric into explainer_pg
for more information, see https://pre-commit.ci
…ometric into explainer_pg
…ometric into explainer_pg
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 @wsad1. I made some slight change by moving the training loop outside of the explainer. I feel this allows the user more control, as the model might be training on a variety of graphs. Hope the changes are okay. Feel free to revise them if you feel they don't make sense.
This PR makes the following changes.
PGExplainer
a new explainer algorithm. Paper , Reference ImplementationExplainer
andExplainerAlgorithm
interface to supportPGExplainer
. SincePGExplainer
uses a mlp to explain predictions that mlp needs to be trained before we callExplainer.forward
.The usage of
PGExplainer
would look like:Open to feedback on updates to the interface.
TODOs