Replies: 1 comment 5 replies
-
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I am a bit puzzled on part of the GNNExplainer implementation and was hoping for some guidance. As I understand it, the original paper has us taking the NLL of the class prediction after masking part of the computation adjacency matrix to assess how the prediction changed. In the pytorch_geometric code, the model outputs are named log_logits and passed directly to the loss function, but I don't see a log transform performed anywhere. To me, it looks like we are just taking the negative logits, which wouldn't make sense. Could anyone help me see what I am missing? You can find the function in https://pytorch-geometric.readthedocs.io/en/latest/_modules/torch_geometric/nn/models/gnn_explainer.html in the explain_nodes function. Appreciate the help!
Beta Was this translation helpful? Give feedback.
All reactions